DNF阿拉德游戏论坛

 找回密码
 立即注册
查看: 775|回复: 0
打印 上一主题 下一主题

[PVF] 装备属性相关:特效相关-特效目录-多重then案例2

[复制链接]

签到天数: 1 天

[LV.1]无主之魂

363

主题

365

帖子

644

积分

网站编辑

Rank: 8Rank: 8

积分
644
怒气
64
声望
100
战力
15
跳转到指定楼层
楼主
发表于 2020-3-27 14:49:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式




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

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

本版积分规则

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

GMT+8, 2024-4-19 15:32 , Processed in 0.113419 second(s), 29 queries .

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

阿拉德大陆的勇士们!今天也会是充满希望的一天!