DNF阿拉德游戏论坛

标题: 装备属性相关:特效相关-特效目录-多重then案例2 [打印本页]

作者: 桐谷和人    时间: 2020-3-27 14:49
标题: 装备属性相关:特效相关-特效目录-多重then案例2




超长版多重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]






欢迎光临 DNF阿拉德游戏论坛 (https://oldbbs.arad.ink/) Powered by Discuz! X3.3