找回密码
 立即注册

台服dof中的攻击特效代码大全

2022-7-25 16:36:59 · 游戏社区
本帖最后由 指点云用户108 于 2022-7-25 16:39 编辑

类型分为以下几种。
1 攻击直接触发
2 击中敌人触发
3 每秒自动触发
4 被攻击触发
还有我说一点 [cooltime]是冷却 [probability] 是触发几率 可以自己改。
粘贴某个触发代码到你用的武器上然后再Decrypt.exe导入到pvf

剑舞
攻击直接触发:
代码

  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]


  16. [if]


  17. [cooltime]
  18. 100
  19. [my state]
  20. 'attack'
  21. [attack success]
  22. 1
  23. [/if]


  24. [then]


  25. [target]
  26. 'all enemy' -1
  27. [passive object]
  28. 20065 0 0 0 0 0 'Straight3.ptl'
  29. [/passive object]


  30. [/then]
复制代码

  1. [if]


  2. [set my state]
  3. 1
  4. [my state]
  5. 'attack'
  6. [/if]


  7. [then]


  8. [target]
  9. 'myself' -1
  10. [passive object]
  11. 8085 0 0 50 55 0 'DragonHeadEnergyBall.ptl'
  12. [/passive object]


  13. [/then]


  14. [if]


  15. [cooltime]
  16. 100
  17. [my state]
  18. 'attack'
  19. [attack success]
  20. 1
  21. [/if]


  22. [then]


  23. [target]
  24. 'myself' -1
  25. [passive object]
  26. 8085 0 0 50 55 0 'DragonHeadEnergyBall.ptl'
  27. [/passive object]
复制代码
  1. [if]


  2. [cooltime]
  3. 100
  4. [set my state]
  5. 1
  6. [my state]
  7. 'attack'
  8. [/if]


  9. [then]


  10. [target]
  11. 'myself' -1
  12. [probability]
  13. 100
  14. [reduce probability to human armor at pvp module]
  15. 80
  16. [passive object]
  17. 48180 30 0 50 0 0 'Straight3.ptl'
  18. [/passive object]


  19. [then probability]
  20. 100.000000
  21. [/then]


  22. [if]


  23. [cooltime]
  24. 100
  25. [set my state]
  26. 1
  27. [my state]
  28. 'jump attack'
  29. [/if]


  30. [then]


  31. [target]
  32. 'myself' -1
  33. [probability]
  34. 100
  35. [reduce probability to human armor at pvp module]
  36. 90
  37. [passive object]
  38. 48180 30 0 50 0 0 'Straight3.ptl'
  39. [/passive object]


  40. [then probability]
  41. 100.000000
  42. [/then]
复制代码



[if]


[cooltime]
100
[set my state]
1
[my state]
'attack'
[/if]


[then]


[target]
'myself' -1
[probability]
100
[reduce probability to human armor at pvp module]
90
[passive object]
48159 0 0 0 0 0 Type:7 Str:587
[/passive object]


[/then]


因文字有限。再开一贴!

下篇 https://www.zhidianyun.cn/shequ/tiezi-39211.html


全部评论 0

本帖最后由 指点云用户108 于 2022-7-25 16:39 编辑

类型分为以下几种。
1 攻击直接触发
2 击中敌人触发
3 每秒自动触发
4 被攻击触发
还有我说一点 [cooltime]是冷却 [probability] 是触发几率 可以自己改。
粘贴某个触发代码到你用的武器上然后再Decrypt.exe导入到pvf

剑舞
攻击直接触发:
代码

  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]


  16. [if]


  17. [cooltime]
  18. 100
  19. [my state]
  20. 'attack'
  21. [attack success]
  22. 1
  23. [/if]


  24. [then]


  25. [target]
  26. 'all enemy' -1
  27. [passive object]
  28. 20065 0 0 0 0 0 'Straight3.ptl'
  29. [/passive object]


  30. [/then]
复制代码

  1. [if]


  2. [set my state]
  3. 1
  4. [my state]
  5. 'attack'
  6. [/if]


  7. [then]


  8. [target]
  9. 'myself' -1
  10. [passive object]
  11. 8085 0 0 50 55 0 'DragonHeadEnergyBall.ptl'
  12. [/passive object]


  13. [/then]


  14. [if]


  15. [cooltime]
  16. 100
  17. [my state]
  18. 'attack'
  19. [attack success]
  20. 1
  21. [/if]


  22. [then]


  23. [target]
  24. 'myself' -1
  25. [passive object]
  26. 8085 0 0 50 55 0 'DragonHeadEnergyBall.ptl'
  27. [/passive object]
复制代码
  1. [if]


  2. [cooltime]
  3. 100
  4. [set my state]
  5. 1
  6. [my state]
  7. 'attack'
  8. [/if]


  9. [then]


  10. [target]
  11. 'myself' -1
  12. [probability]
  13. 100
  14. [reduce probability to human armor at pvp module]
  15. 80
  16. [passive object]
  17. 48180 30 0 50 0 0 'Straight3.ptl'
  18. [/passive object]


  19. [then probability]
  20. 100.000000
  21. [/then]


  22. [if]


  23. [cooltime]
  24. 100
  25. [set my state]
  26. 1
  27. [my state]
  28. 'jump attack'
  29. [/if]


  30. [then]


  31. [target]
  32. 'myself' -1
  33. [probability]
  34. 100
  35. [reduce probability to human armor at pvp module]
  36. 90
  37. [passive object]
  38. 48180 30 0 50 0 0 'Straight3.ptl'
  39. [/passive object]


  40. [then probability]
  41. 100.000000
  42. [/then]
复制代码



[if]


[cooltime]
100
[set my state]
1
[my state]
'attack'
[/if]


[then]


[target]
'myself' -1
[probability]
100
[reduce probability to human armor at pvp module]
90
[passive object]
48159 0 0 0 0 0 Type:7 Str:587
[/passive object]


[/then]


因文字有限。再开一贴!

下篇 https://www.zhidianyun.cn/shequ/tiezi-39211.html


热门推荐
您需要登录后才可以回帖 立即登录
说说你的想法......
0
0
0
返回顶部