本帖最后由 3368429073 于 2020-4-5 18:04 编辑
1.为啥我明明输入npc equip给npc穿装备了 然后sentinel召唤的npc 一打甚至一死亡就装备没了?下次召唤也没装备
2.公民创建的npc sentinel召唤后,设置攻击目标为怪物,可是我都快被打死了,这个npc依旧无动于衷是怎么回事,感觉和sb一样
1.为啥我明明输入npc equip给npc穿装备了 然后sentinel召唤的npc 一打甚至一死亡就装备没了?下次召唤也没装备
2.公民创建的npc sentinel召唤后,设置攻击目标为怪物,可是我都快被打死了,这个npc依旧无动于衷是怎么回事,感觉和sb一样
本帖最后由 592764254 于 2020-4-5 18:47 编辑
你有没有设置npc的path也就是路径,还有最远攻击距离,不设置没用的
你有没有设置npc的path也就是路径,还有最远攻击距离,不设置没用的
592764254 发表于 2020-4-5 18:45
你有没有设置npc的path也就是路径,还有最远攻击距离,不设置没用的
设置了啊
建议 别用sentinel做卫兵或者召唤辅助 对你服务器资源占用巨大而且很麻烦
建议用MM做比如我这种形式 确定AI后就可以了SpecificFaction后面加的派系就是怪物的派系 或者你加一个OtherFactionMonsters例如
复制代码复制代码
建议用MM做比如我这种形式 确定AI后就可以了SpecificFaction后面加的派系就是怪物的派系 或者你加一个OtherFactionMonsters例如
- AITargetSelectors:
- - 0 clear
- - 1 OtherFactionMonsters
- yanhuang2:
- Mobtype: husk
- Display: '&blv??&5&l&n燕隍'
- Health: 7500
- Damage: 150
- Faction: Guard
- Drops:
- - 燕歌碎片丁 1 1
- Disguise:
- Type: player
- Player: '&blv??&5&l&n燕隍'
- Skin: emperor
- AIGoalSelectors:
- - 0 clear
- - 1 meleeattack
- AITargetSelectors:
- - 0 clear
- - 1 SpecificFaction 恶人
- Skills:
- - skill{s=东皇斩2} @Target ~onDamaged 0.3
- - leap{v=80} @target ~onAttack
- - skill{s=狂血技能1} @target ~onDamaged 0.1
- - healPercent{m=0.01} @self ~onTimer:3500
- - teleport @target ~onTimer:40 0.2
- - teleport @target ~onDamaged =20-40% 0.1
- - equip{i=huangdujian:0} @Self =50% 1
- - skill{s=游龙斩2} @target ~onTimer:70 0.1
- - skill{s=游龙斩2} @target ~onAttack
- - skill{s=游龙斩2} @target ~onDamaged 0.1
- - skill{s=游龙斩2} @target ~onDamaged 0.1
- - skill{s=燕隍光波} @target ~onTimer:150 0.6
- - healPercent{m=0.01} @self =2% 0.7
- Equipment:
- - huangjuejian:0
- - jm:4
- - jk:2
- - jx:1
- - jj:3
- Options:
- PreventOtherDrops: true
- AttackSpeed: 50
- MovementSpeed: 0.45
- FollowRange: 40
- Despawn: false
- KnockbackResistance: 0.9