行为
changeSpeedEX¶
调整角色速度属性
标签:命令定义^changeSpeedEx
格式命令名 | 参数1 | 参数2 | 参数3 |
changeSpeedEX | 速度类型 | 速度值 | 有效时间 |
参数1 | 速度类型 1:移动速度 2:物理攻击速度 3:魔法攻击速度 |
参数2 | 速度值 小于等于0:恢复初始速度 |
参数3 | 有效时间,单位为秒 缺省:在线有效 |
注意:离线失效
特戒引擎脚本示例::¶
[@移动速度ex加]
#act
changeSpeedex 1 3 5
[@移动速度ex减]
#act
changeSpeedex 1 -3 5
[@攻击速度ex加]
#act
changeSpeedex 2 100
[@攻击速度ex恢复]
#act
changeSpeedex 2 -10
[@魔法速度ex加]
#act
changeSpeedex 3 100
[@魔法速度ex恢复]
#act
changeSpeedex 3 0