教学资源 第100页
台服DNF中pvf的相关修改教程

使用魔法或物理攻击时

[if] [cooltime] 18000 [attack type] 'magical' [attack success] 1 [/if] [then] [target] 'enemy' -1 【特效内容】 [/then] 【使用物理攻击时,代码段替换成:physical】
暴雨的头像-暴雨技术分享网暴雨8月2日 17:16
0431

被某属性攻击时触发

被光属性攻击时,赋予武器光属性攻击,效果持续120秒。 [if] [element] 'light' [hit] 1 [/if] [then] [target] 'myself' -1 [duration] 120000 [elemental weapon] `light` [/then] 元素代码修...
暴雨的头像-暴雨技术分享网暴雨8月2日 17:15
02377

被攻击触发

设置冷却时间为20秒,被攻击成功,目录设置为敌人。 [if] [cooltime] 20000 [hit] 1 [/if] [then] [target] 'enemy' -1 【特效内容】 [/then] 相关参数 1:被攻击成功 2:MISS
暴雨的头像-暴雨技术分享网暴雨8月2日 17:15
04928

击中敌人时触发

冷却时间为4.5秒,攻击成功,设置目标为敌人 [if] [cooltime] 4500 [attack success] 1 [/if] [then] [target] 'enemy' -1 【特效内容】 [/then]
暴雨的头像-暴雨技术分享网暴雨8月2日 17:15
01773

攻击时触发

  设置冷却时间为15秒,攻击成功,目标设置为自己。 [if] [cooltime] 15000 [attack success] 1 [/if] [then] [target] 'myself' -1 【特效内容】 [/then] ------------------------------...
暴雨的头像-暴雨技术分享网暴雨8月2日 17:15
03614

每N秒触发

  设置触发时间,设置自己的状态为站立,或者将站立设置目标为自己 [if] [time] 180000 1 5000 [my state] 'stand' [/if] [then] 【特效内容】 [/then]
暴雨的头像-暴雨技术分享网暴雨8月2日 17:14
039013

释放特定技能后触发

释放特定技能后触发 例:施放特定技能时【提升】技能等级 [if] [event use skill] 'swordman' 5 [/if] [then] [target] 'myself' -1 [probability] 50 [skill levelup] 'swordman' 5 5 [/skill ...
暴雨的头像-暴雨技术分享网暴雨8月2日 17:14
036212