3368429073
本帖最后由 3368429073 于 2020-4-5 18:04 编辑

1.为啥我明明输入npc equip给npc穿装备了 然后sentinel召唤的npc 一打甚至一死亡就装备没了?下次召唤也没装备
2.公民创建的npc sentinel召唤后,设置攻击目标为怪物,可是我都快被打死了,这个npc依旧无动于衷是怎么回事,感觉和sb一样

592764254
本帖最后由 592764254 于 2020-4-5 18:47 编辑

你有没有设置npc的path也就是路径,还有最远攻击距离,不设置没用的

3368429073
592764254 发表于 2020-4-5 18:45
你有没有设置npc的path也就是路径,还有最远攻击距离,不设置没用的

设置了啊

炫宙菌
建议 别用sentinel做卫兵或者召唤辅助 对你服务器资源占用巨大而且很麻烦
建议用MM做比如我这种形式 确定AI后就可以了SpecificFaction后面加的派系就是怪物的派系 或者你加一个OtherFactionMonsters例如
  1.   AITargetSelectors:
  2.   - 0 clear
  3.   - 1 OtherFactionMonsters
复制代码
  1. yanhuang2:
  2.   Mobtype: husk
  3.   Display: '&blv??&5&l&n燕隍'
  4.   Health: 7500
  5.   Damage: 150
  6.   Faction: Guard
  7.   Drops:
  8.   - 燕歌碎片丁 1 1
  9.   Disguise:
  10.     Type: player
  11.     Player: '&blv??&5&l&n燕隍'
  12.     Skin: emperor
  13.   AIGoalSelectors:
  14.   - 0 clear
  15.   - 1 meleeattack
  16.   AITargetSelectors:
  17.   - 0 clear
  18.   - 1 SpecificFaction 恶人
  19.   Skills:
  20.   - skill{s=东皇斩2} @Target ~onDamaged 0.3
  21.   - leap{v=80} @target ~onAttack
  22.   - skill{s=狂血技能1} @target ~onDamaged 0.1
  23.   - healPercent{m=0.01} @self ~onTimer:3500
  24.   - teleport @target ~onTimer:40 0.2
  25.   - teleport @target ~onDamaged =20-40% 0.1
  26.   - equip{i=huangdujian:0} @Self =50% 1
  27.   - skill{s=游龙斩2} @target ~onTimer:70 0.1
  28.   - skill{s=游龙斩2} @target ~onAttack
  29.   - skill{s=游龙斩2} @target ~onDamaged 0.1
  30.   - skill{s=游龙斩2} @target ~onDamaged 0.1
  31.   - skill{s=燕隍光波} @target ~onTimer:150 0.6
  32.   - healPercent{m=0.01} @self =2% 0.7
  33.   Equipment:
  34.   - huangjuejian:0
  35.   - jm:4
  36.   - jk:2
  37.   - jx:1
  38.   - jj:3
  39.   Options:
  40.    PreventOtherDrops: true
  41.    AttackSpeed: 50
  42.    MovementSpeed: 0.45
  43.    FollowRange: 40
  44.    Despawn: false
  45.    KnockbackResistance: 0.9
复制代码

第一页 上一页 下一页 最后一页