25 lines
763 B
Ruby
25 lines
763 B
Ruby
|
||
|
||
=begin
|
||
|
||
トリス 経験値倍率リザルト ver1
|
||
|
||
=end
|
||
|
||
|
||
#==============================================================================
|
||
# ■ BattleManager
|
||
#==============================================================================
|
||
module BattleManager
|
||
#--------------------------------------------------------------------------
|
||
# ● 獲得した経験値の表示
|
||
#--------------------------------------------------------------------------
|
||
def self.display_exp
|
||
rate = $game_party.battle_members[0].exr
|
||
if $game_troop.exp_total > 0
|
||
text = sprintf(Vocab::ObtainExp, ($game_troop.exp_total * rate).to_i)
|
||
$game_message.add('\.' + text)
|
||
$game_message.add("Intimacy Increased!")
|
||
end
|
||
end
|
||
end
|