#--------------------------------------------------------------------------
# ● 生成撤退成功率
#--------------------------------------------------------------------------
def self.make_escape_ratio
$game_variables[X] = $game_party.item_number($data_items[X]) #取得物品数量
p $game_variables[X] #測試用的.... 可刪掉
if $game_variables[X]> 0 #如果X变量大於0
@escape_ratio = 10 #逃跑率=100% (還是說1就可以了么?)
end
else
@escape_ratio = 1.5 - 1.0 * $game_troop.agi / $game_party.agi
end
#--------------------------------------------------------------------------
# ● 生成撤退成功率
#--------------------------------------------------------------------------
def self.make_escape_ratio
$game_variables[X] = $game_party.item_number($data_items[X]) #取得物品数量
p $game_variables[X] #測試用的.... 可刪掉
if $game_variables[X]> 0 #如果X变量大於0
@escape_ratio = 10 #逃跑率=100% (還是說1就可以了么?)
end
else
@escape_ratio = 1.5 - 1.0 * $game_troop.agi / $game_party.agi
end