| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 4 | 
 
| 经验 | 4048 | 
 
| 最后登录 | 2021-4-3 | 
 
| 在线时间 | 125 小时 | 
 
 
 
 
 
Lv2.观梦者 
	- 梦石
 - 0 
 
        - 星屑
 - 417 
 
        - 在线时间
 - 125 小时
 
        - 注册时间
 - 2010-10-11
 
        - 帖子
 - 96
 
 
 
 | 
	
7楼
 
 
 楼主 |
发表于 2020-5-19 14:44:31
|
只看该作者
 
 
 
 本帖最后由 raisewing 于 2020-5-19 16:02 编辑  
 
 
我试了,好像不行。没有合适的命令。或者说是我不知道怎么写判断语句。 
<Passive State: x> 
<Passive State: x, x, x> 
允许你的角色获得被动状态x。你可以放在角色、敌方、武器、装备等标签栏 
<Passive State: x to y> 
让你的角色获得状态x到y。你可以放在角色、敌方、武器、装备等标签栏 
<Passive Condition: HP Above x%> 
<Passive Condition: HP Below x%> 
<Passive Condition: MP Above x%> 
<Passive Condition: MP Below x%> 
当血量或者魔法量低于或者高于最大值时,被动状态触发。 
<Passive Condition: Stat Above x> 
<Passive Condition: Stat Below x> 
当其他状态低于或者高于x时,被动状态触发 
<Passive Condition: Switch x ON> 
<Passive Condition: Switch x OFF> 
当开关是开启或者关闭时,被动状态触发 
<Passive Condition: Variable x Above y> 
<Passive Condition: Variable x Below y> 
当变量x高于或者低于y时,被动状态触发 
<Custom Passive Condition> 
if (user.hp / user.mhp <= 0.25) { 
condition = true; 
} else { 
condition = false; 
} 
</Custom Passive Condition> 
这可以使你选择特定情况来让被动状态出现。如果condition返回为true,这个被动状态就会出现。如果condition返回为false,这个被动状态就不会出现。如果condition没有定义,这个被动状态会出现。 
 |   
 
 
 
 |