多重then案例

普通攻击时,有20%的机率出现巴恩的飓风。

[猛龙断空斩]斩击数上限增加2
[快速行动]攻击力增加50%
HP降到20%以下时,触发自动格挡的机率增加100%
[@05][skill data up]
[@07][swordman]
[@02]72
[@07][dungeon type]
[@07][static]
[@02]0
[@07]+
[@02]2
[@07][swordman]
[@02]72
[@07][pvp type]
[@07][static]
[@02]0
[@07]+
[@02]1
[@07][demonic swordman]
[@02]72
[@07][dungeon type]
[@07][level]
[@02]0
[@07]%
[@02]50
[@07][demonic swordman]
[@02]72
[@07][dungeon type]
[@07][level]
[@02]1
[@07]%
[@02]50
[@05][/skill data up]
[@05][if]
[@05][cooltime]
[@02]500
[@05][set my state]
[@02]1
[@05][my state]
[@07]attack
[@05][/if]
[@05][multiple then]
[@05][then]
[@05][target]
[@07]myself
[@02]-1
[@05][probability]
[@02]20
[@05][passive object]
[@02]48117
[@02]0
[@02]0
[@02]0
[@02]0
[@02]0
[@07]
[@05][/passive object]
[@05][then probability]
[@04]75.00
[@05][/then]
[@05][then]
[@05][target]
[@07]myself
[@02]-1
[@05][probability]
[@02]20
[@05][passive object]
[@02]48118
[@02]0
[@02]0
[@02]0
[@02]0
[@02]0
[@07]
[@05][/passive object]
[@05][then probability]
[@04]25.00
[@05][/then]
[@05][/multiple then]
[@05][if]
[@05][event use skill]
[@07]swordman
[@02]3
[@05][/if]
[@05][then]
[@05][target]
[@07]myself
[@02]-1
[@05][probability]
[@02]100
[@05][skill data up]
[@07][swordman]
[@02]3
[@07][all]
[@07][level]
[@02]0
[@07]%
[@02]100
[@05][/skill data up]
[@05][/then]

——————————————————————————–

超长版多重then触发代码

攻擊出血、感電、灼傷、中毒狀態的敵人時,以30%%的機率消耗1個無色小晶塊使敵人隨機進入眩暈、束縛、冰凍、石化、減速、詛咒、混亂和失明中的任意一種狀態。

[then probability]
15.00

这段代码表示触发成功后,在一定成功的前提下,数值表示在几个触发内容里进行再计算,触发内容实现概率的高低,其数值本身并不具有实际意义,但上限不能超过100。

[if]

[cooltime]
1000
[target active status]
`bleeding`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

[if]

[cooltime]
1000
[target active status]
`poison`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

[if]

[cooltime]
3000
[target active status]
`lightning`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

[if]

[cooltime]
1000
[target active status]
`burn`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

==============

超长版多重then触发代码

攻擊出血、感電、灼傷、中毒狀態的敵人時,以30%%的機率消耗1個無色小晶塊使敵人隨機進入眩暈、束縛、冰凍、石化、減速、詛咒、混亂和失明中的任意一種狀態。

[then probability]
15.00

这段代码表示触发成功后,在一定成功的前提下,数值表示在几个触发内容里进行再计算,触发内容实现概率的高低,其数值本身并不具有实际意义,但上限不能超过100。

[if]

[cooltime]
1000
[target active status]
`bleeding`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

[if]

[cooltime]
1000
[target active status]
`poison`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

[if]

[cooltime]
3000
[target active status]
`lightning`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

[if]

[cooltime]
1000
[target active status]
`burn`

[attack success]
1
[/if]

[multiple then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`confuse`
71 1
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`hold`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`freeze`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`stun`
71
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`slow`
71 20 20
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`curse`
71 50 50 50 50
[then probability]
15.00
[/then]

[then]

[consume item]
3037 1
[target]
`enemy`
-1
[duration]
3000
[probability]
30
[active status]
`blind`
71 90 20
[then probability]
15.00
[/then]

[/multiple then]

© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容