| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 1690 |  
| 最后登录 | 2014-1-7 |  
| 在线时间 | 18 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间18 小时注册时间2009-8-14帖子56 | 
| 正好,这段脚本里面有个死亡宣言的技能,你研究下........死亡宣言的效果,状态解除时,中状态者死亡。 #--------------------------------------------------------------------------
 # ● 解除战斗用状态 (战斗结束时调用)
 #--------------------------------------------------------------------------
 def remove_states_battle
 for i in @states.clone
 if $data_states[i].battle_only
 remove_state(i)
 end
 end
 end
 #--------------------------------------------------------------------------
 # ● 状态自然解除 (回合改变时调用)
 #--------------------------------------------------------------------------
 def remove_states_auto
 for i in @states_turn.keys.clone
 if @states_turn[i] > 0
 @states_turn[i] -= 1
 elsif rand(100) < $data_states[i].auto_release_prob
 ###########死亡宣言#################
 if self.state?(17)
 @hp=0
 
 end
 ####################################
 remove_state(i)
 end
 end
 end
 | 
 评分
查看全部评分
 |