| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 4530 | 
 
| 最后登录 | 2025-5-12 | 
 
| 在线时间 | 73 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 75 
 
        - 在线时间
 - 73 小时
 
        - 注册时间
 - 2015-7-10
 
        - 帖子
 - 37
 
 
 
 | 
	
 本帖最后由 老王的忧郁 于 2016-3-20 16:39 编辑  
 
♦ YEP_BuffsStatesCore.js 
使用这个插件,自定义状态效果的方法,在状态中添加播放动画的代码。 
 
https://alistairengine.wordpress ... n-unstable-anomaly/ 
 
<Custom Battle Effect> 
user._unstableAnomaly = 0 
</Custom Battle Effect> 
  
<Custom React Effect> 
if (target._unstableAnomaly < 1 && value > target.hp) { 
target._unstableAnomaly = 1; 
value = 0; 
target.gainBarrier(target.mhp * 4, 5); 
target.startAnimation(37); 这条是播放动画的代码,()里面填写动画ID, target是播放动画的目标。 
}; 
</Custom React Effect> |   
 
 
 
 |