请选择 进入手机版 | 继续访问电脑版

DNF阿拉德游戏论坛

 找回密码
 立即注册
查看: 5592|回复: 0

[PVF] dnf台服武器附加黄字伤害属性代码如何给攻击附加特殊属性

[复制链接]

签到天数: 10 天

[LV.3]阿拉德菜鸟

21

主题

22

帖子

162

积分

阿拉德菜鸟

Rank: 2

积分
162
怒气
42
声望
40
战力
18
发表于 2020-11-8 18:26:57 | 显示全部楼层 |阅读模式
本帖最后由 Neople 于 2020-11-8 18:29 编辑
1楼划水,话说我是一条老咸鱼,还是刚刚过了萌新的咸鱼,说点我会的给小萌新

攻击时,增加20%伤害,就是黄字增伤
  1. [if]
  2. [event attack success]
  3. 1
  4. [/if]
  5. [then]
  6. [target]
  7. 'enemy' -1
  8. [increase damage]
  9. '%' 20
  10. [/then]
复制代码

破招攻击伤害增加20%
  1. [if]
  2. [attack condition]
  3. 'counter'
  4. [event attack success]
  5. 1
  6. [/if]
  7. [then]
  8. [target]
  9. 'enemy' -1
  10. [increase damage]
  11. '%' 20
  12. [/then]
复制代码

攻击时百分之30的机率附加35%火属性伤害
  1. [if]
  2. [attack success]
  3. 1
  4. [/if]
  5. [then]
  6. [target]
  7. `enemy`-1
  8. [probability]
  9. 30
  10. [add absolute damage]
  11. `fire`
  12. `%`35
  13. [/then]
复制代码

光属性攻击时, 附加20%光属性伤害
  1. [if]
  2. [element]
  3. `light`
  4. [attack success]
  5. 1
  6. [/if]
  7. [then]
  8. [target]
  9. `enemy`-1
  10. [add absolute damage]
  11. `light`
  12. `%`20
  13. [/then]
复制代码

攻击时,附加30%伤害
  1. [if]
  2. [attack success]
  3. 1
  4. [/if]
  5. [then]
  6. [target]
  7. `enemy`-1
  8. [add absolute damage]
  9. `all`
  10. `%`30
  11. [/then]
复制代码

光属性攻击时,增加25%暴击伤害
  1. [if]
  2. [element]
  3. `light`
  4. [event attack success]
  5. 1
  6. [/if]
  7. [then]
  8. [target]
  9. `enemy`-1
  10. [increase critical damage]
  11. `%`25
  12. [/then]
复制代码

所有技能攻击力 +20%,因为这个台服貌似没有以上那种封装的写法,只能一个个加技能攻击,嗯,对,去复制别人写好的吧
例如加鬼影闪技能的伤害+20%,这样写

  1. [skill data up]
  2. `[swordman]`60 `[all]``[level]`3`%`20
  3. [/skill data up]
复制代码

释放技能时50%几率无敌2秒,有5秒冷却
  1. [if]
  2. [cooltime]
  3. 5000 \\冷却时间
  4. [casting]
  5. 1
  6. [/if]
  7. [then]
  8. [target]
  9. 'myself' -1
  10. [duration]
  11. 2000 \\无敌持续时间
  12. [probability]
  13. 50 \\几率
  14. [buff]
  15. 'unbreakable' \\无敌buff的代码
  16. [/then]
复制代码

攻击时,减少技能冷却时间10%
  1. [if]
  2. [attack success]
  3. 1
  4. [/if
  5. [then]
  6. [target]
  7. `myself`-1
  8. [probability]
  9. 100 \\几率100
  10. [stat by condition]
  11. `skill cool time`
  12. `%`-10 \\冷却时间-10%
  13. [/then]
复制代码

攻击时,敌人防御减少10%
  1. [if]
  2. [attack success]
  3. 1
  4. [cooltime]
  5. 1000\\冷却1秒
  6. [/if]
  7. [then]
  8. [target]
  9. `enemy`-1
  10. [duration]
  11. 2000\\持续2秒
  12. [aura active]
  13. `equipment physical defense`
  14. `%`-100
  15. [aura active]
  16. `equipment magical defense`
  17. `%`-100
  18. [/then]
复制代码

冰属性攻击时,每5秒可以使1000px范围内的敌人进入冰冻状态1秒。

  1. [item group name]
  2. lswd'
  3. [cool time]
  4. 5000 \\冷却5秒
  5. [elemental property]
  6. [water element]' \\水属性攻击,可以改成光暗火攻击
  7. [if]
  8. [time]
  9. 10 1 10
  10. [/if]
  11. [then]
  12. [target]
  13. enemy near' 1000 \\范围
  14. [duration]
  15. 1000 \\持续时间
  16. [active status]
  17. freeze' 84 \\状态,这里就是冰冻这个状态的代码,
  18. [/then]
复制代码

攻击击中敌人100%触发地炎,持续10秒,冷却10秒
  1. [if]
  2. [set my state]
  3. 1
  4. [my state]
  5. attack'
  6. [cooltime]
  7. 100
  8. [/if]
  9. [then]
  10. [target]
  11. all enemy' -1
  12. [passive object]
  13. 20065 0 0 0 0 0 'Straight3.ptl' \\这里你也可以改成自己喜欢的特效代码,什么陨石,熔岩
  14. [/passive object]
  15. [/then]
复制代码

攻击时,给自己套个36A的罩罩,有了这个罩子,再也不担心手残被打断技能了
  1. [if]
  2. [set my state]
  3. 1
  4. [my state]
  5. 'attack'
  6. [cooltime]
  7. 100
  8. [/if]
  9. [then]
  10. [target]
  11. 'myself' -1
  12. [duration]
  13. 5000
  14. [perform skill]
  15. 'priest' 22 50 0
  16. [/then]
复制代码

攻击时,全屏飞过一万头草泥马
  1. [if]
  2. [time]
  3. 1000 2 1000
  4. [/if]
  5. [then]
  6. [target]
  7. 'myself' -1
  8. [passive object]
  9. 48190 0 0 0 0 0 Type:7 Str:587
  10. [/passive object]
  11. [/then]
复制代码


“今天也是充满希望的一天!”——赛丽亚
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|DNF阿拉德游戏论坛 ( 渝ICP备13007431号1 )

GMT+8, 2024-3-28 18:36 , Processed in 0.183917 second(s), 34 queries .

Powered by Discuz! X3.3 网站地图 Auther by 31& 地下城与勇士论坛 标签大全

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表