| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 7 |  
| 积分 | 1 |  
| 经验 | 43463 |  
| 最后登录 | 2017-9-10 |  
| 在线时间 | 1019 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间1019 小时注册时间2012-4-25帖子799 | 
4楼
 
 
 楼主|
发表于 2013-5-24 11:06:09
|
只看该作者 
| 不是很懂脚本,这样行吗?复制代码alias game_battler_execute_damage_tpm execute_damage
  def execute_damage(user)
    game_battler_execute_damage_tpm(user)
    return unless $game_party.in_battle 
    if @result.hp_damage > 0  [color=Yellow]&& $game_actors[1] .in_battle [/color]      
       [color=Yellow]$game_actors[1].tp += 1   [/color] 
     end
 | 
 |