Basically I want the party to be able to escape most(95%) of the time at the cost of gold and experience (experience rand(8) gold rand(20) or such
So far Ive tried and nothign happens
under scene_battle 2
if success
$game_party.lose_gold(rand(100))
for actor in $game_party.actors
if actor.exist?
actors_exp -= rand(8)
end
end
@gold_window.refresh
# Play escape SE
$game_system.se_play($data_system.escape_se)
# Return to BGM before battle started
$game_system.bgm_play($game_temp.map_bgm)
# Battle ends
battle_end(1)
# If escape is failure
else
# Clear all party member actions
$game_party.clear_actions
# Start main phase
start_phase4
So far Ive tried and nothign happens
under scene_battle 2
if success
$game_party.lose_gold(rand(100))
for actor in $game_party.actors
if actor.exist?
actors_exp -= rand(8)
end
end
@gold_window.refresh
# Play escape SE
$game_system.se_play($data_system.escape_se)
# Return to BGM before battle started
$game_system.bgm_play($game_temp.map_bgm)
# Battle ends
battle_end(1)
# If escape is failure
else
# Clear all party member actions
$game_party.clear_actions
# Start main phase
start_phase4