本帖最后由 KB.Driver 于 2015-8-1 13:37 编辑
百里_飞柳 发表于 2015-7-31 10:20
在BattleManager的222行处改成
#-------------------------------------------------------------------------- # ● 撤退时的处理 #-------------------------------------------------------------------------- def self.process_escape $game_message.add(sprintf(Vocab::EscapeStart, $game_party.name)) success = @preemptive ? true : (rand < @escape_ratio) Sound.play_escape if success process_abort $game_variables[80] += 1 # 逃跑成功时,80号变量+1 $game_party.gain_item($data_armors[147],1) if($game_variables[80] >= 50 ) #获得147号防具1件,如果80号变量大于等于50 (似乎这样没有获得提示) else @escape_ratio += 0.1 $game_message.add('\.' + Vocab::EscapeFailure) $game_party.clear_actions end end
#--------------------------------------------------------------------------
# ● 撤退时的处理
#--------------------------------------------------------------------------
def self.process_escape
$game_message.add(sprintf(Vocab::EscapeStart, $game_party.name))
success = @preemptive ? true : (rand < @escape_ratio)
Sound.play_escape
if success
process_abort
$game_variables[80] += 1 # 逃跑成功时,80号变量+1
$game_party.gain_item($data_armors[147],1) if($game_variables[80] >= 50 )
#获得147号防具1件,如果80号变量大于等于50 (似乎这样没有获得提示)
else
@escape_ratio += 0.1
$game_message.add('\.' + Vocab::EscapeFailure)
$game_party.clear_actions
end
end
好吧,没有问题了……就是没有获得提示有点惨…… |