class Game_BattlerBase
alias refresh_new refresh
def refresh
refresh_new
@hp = [[@hp, mhp].min, 0].max
@mhp = mhp
@mp = [[@mp, mmp].min, 0].max
@mmp = mmp
x=((@mp * 100)/@mmp)
y=((@hp * 100)/@mhp)
if @actor_id != 1
case x
when 1...50
#--------------------------------------------------------------------------
# 1111111111111
#--------------------------------------------------------------------------
if @enemy_id ==60
puts "qqqq"
enemy = $game_troop.members[@enemy_id]
enemy.transform(61)
$game_troop.make_unique_names
puts "www"
else
puts "12"
end
#--------------------------------------------------------------------------
# 11111111111111111111
#--------------------------------------------------------------------------
end
end
end
end
class Game_BattlerBase
alias refresh_new refresh
def refresh
refresh_new
@hp = [[@hp, mhp].min, 0].max
@mhp = mhp
@mp = [[@mp, mmp].min, 0].max
@mmp = mmp
x=((@mp * 100)/@mmp)
y=((@hp * 100)/@mhp)
if @actor_id != 1
case x
when 1...50
#--------------------------------------------------------------------------
# 1111111111111
#--------------------------------------------------------------------------
if @enemy_id ==60
puts "qqqq"
enemy = $game_troop.members[@enemy_id]
enemy.transform(61)
$game_troop.make_unique_names
puts "www"
else
puts "12"
end
#--------------------------------------------------------------------------
# 11111111111111111111
#--------------------------------------------------------------------------
end
end
end
end