#--------------------------------------------------------------------------
# ● 데미지마루 (데미지는 지형 태그×10)
#--------------------------------------------------------------------------
def check_map_slip_damage2
for actor in @actors
if actor.hp > 0 and $game_player.terrain_tag > 0
actor.hp -= 10 * $game_player.terrain_tag
if actor.hp == 0
$game_system.se_play($data_system.actor_collapse_se)
end
$game_screen.start_flash(Color.new(0,0,255,128), 4)
Audio.se_play("Audio/SE/143-support01",40,100)
$game_temp.gameover = $game_party.all_dead?
end
end
end
# 지형 태그가 1이상으로 스윗치 「2」가 오프의 것의 경우는 데미지마루 발동
if $game_player.terrain_tag > 0 and $game_switches[2] == false
# 데미지마루 체크
$game_party.check_map_slip_damage2
end
# ● 데미지마루 (데미지는 지형 태그×10)
#--------------------------------------------------------------------------
def check_map_slip_damage2
for actor in @actors
if actor.hp > 0 and $game_player.terrain_tag > 0
actor.hp -= 10 * $game_player.terrain_tag
if actor.hp == 0
$game_system.se_play($data_system.actor_collapse_se)
end
$game_screen.start_flash(Color.new(0,0,255,128), 4)
Audio.se_play("Audio/SE/143-support01",40,100)
$game_temp.gameover = $game_party.all_dead?
end
end
end
# 지형 태그가 1이상으로 스윗치 「2」가 오프의 것의 경우는 데미지마루 발동
if $game_player.terrain_tag > 0 and $game_switches[2] == false
# 데미지마루 체크
$game_party.check_map_slip_damage2
end