pvf吧 关注:3,904贴子:12,348
  • 15回复贴,共1

【新手向】天御之灾套装效果的下位实现

只看楼主收藏回复

国服的天御之灾效果不依靠插件难以实现,如图所示,
分享以下一种仅需要pvf的写法,五种效果随机触发。


IP属地:广西1楼2024-08-29 20:17回复
    [piece set ability]
    5
    [if]
    [change status]
    `hp`
    `>=`
    `%`0
    `end`
    [cooltime]
    10000
    [/if]
    [multiple then]
    [then]
    [target]
    `myself`-1
    [equipment duration]
    10000
    [appendage]
    335
    [elemental weapon]
    `dark`
    [stat]
    `dark attack`
    `+`40
    [then probability]
    20.0
    [/then]
    [then]
    [target]
    `myself`-1
    [equipment duration]
    10000
    [appendage]
    336
    [elemental weapon]
    `water`
    [stat]
    `water attack`
    `+`40
    [then probability]
    20.0
    [/then]
    [then]
    [target]
    `myself`-1
    [equipment duration]
    10000
    [appendage]
    337
    [stat]
    `attack speed`
    `+`200
    [stat]
    `move speed`
    `+`200
    [stat]
    `cast speed`
    `+`250
    [then probability]
    20.0
    [/then]
    [then]
    [target]
    `myself`-1
    [equipment duration]
    10000
    [appendage]
    338
    [elemental weapon]
    `fire`
    [stat]
    `fire attack`
    `+`40
    [then probability]
    20.0
    [/then]
    [then]
    [target]
    `myself`-1
    [equipment duration]
    10000
    [appendage]
    339
    [elemental weapon]
    `light`
    [stat]
    `light attack`
    `+`40
    [then probability]
    20.0
    [/then]
    [/multiple then]
    [if]
    [my appendage]
    335
    [attack success]
    1
    [/if]
    [then]
    [target]
    `enemy`-1
    [add absolute damage]
    `dark`
    `%`20
    [/then]
    [if]
    [my appendage]
    336
    [attack success]
    1
    [/if]
    [then]
    [target]
    `enemy`-1
    [add absolute damage]
    `water`
    `%`20
    [/then]
    [if]
    [my appendage]
    337
    [attack success]
    1
    [/if]
    [then]
    [target]
    `enemy`-1
    [add absolute damage]
    `all`
    `%`30
    [/then]
    [if]
    [my appendage]
    338
    [attack success]
    1
    [/if]
    [then]
    [target]
    `enemy`-1
    [add absolute damage]
    `fire`
    `%`20
    [/then]
    [if]
    [my appendage]
    339
    [attack success]
    1
    [/if]
    [then]
    [target]
    `enemy`-1
    [add absolute damage]
    `light`
    `%`20
    [/then]


    IP属地:广西2楼2024-08-29 20:18
    回复
      apd文件中的写法如下即可。


      IP属地:广西3楼2024-08-29 20:19
      回复
        通过以上写法,就能做到20概率触发五种效果,并且在五种效果存续期间附加不同的伤害


        IP属地:广西4楼2024-08-29 20:20
        回复


          IP属地:江苏来自iPhone客户端5楼2024-08-29 20:32
          回复
            白字为啥不能叠加


            IP属地:湖北来自iPhone客户端6楼2024-08-29 21:13
            回复
              1


              IP属地:吉林来自Android客户端7楼2024-08-30 19:11
              回复
                不明觉厉,牛逼


                IP属地:河南来自Android客户端8楼2024-08-30 21:19
                回复
                  顶帖


                  IP属地:福建来自Android客户端9楼2024-08-31 13:43
                  回复
                    额,一直都是这种写法啊


                    IP属地:黑龙江来自Android客户端10楼2024-08-31 21:19
                    回复
                      土哥,猛起!!


                      IP属地:江苏11楼2024-08-31 21:21
                      回复
                        什么时候才能嫖到土哥貔貅大佬的驱魔特效包


                        IP属地:四川来自iPhone客户端12楼2024-09-08 23:44
                        收起回复
                          6666


                          IP属地:内蒙古来自iPhone客户端13楼2024-09-09 01:19
                          回复