| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 2 | 
 
| 经验 | 0 | 
 
| 最后登录 | 2022-2-8 | 
 
| 在线时间 | 52 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 227 
 
        - 在线时间
 - 52 小时
 
        - 注册时间
 - 2021-3-19
 
        - 帖子
 - 11
 
 
 
 | 
	
50星屑 
 
我使用教程里的代码没有效果,可以叠加层数但不能叠加效果是什么缘故呢?比如我设置每层的效果是提升3%的生命回复,但叠加一层与多层的效果一致,均为3% 
这是使用的代码 
<Custom Apply Effect> 
user._stockpile = user._stockpile || 0; 
user._stockpile += 1; 
user._stockpile = Math.min(user._stockpile, 3); 
user.setStateCounter(stateId, user._stockpile); 
</Custom Apply Effect> 
 
<Custom Remove Effect> 
user._stockpile = 0; 
user.setStateCounter(stateId, user._stockpile); 
</Custom Remove Effect> |   
 
 
 
 
 
 |