class Game_Enemy
alias perform_collapse_effect_mama perform_collapse_effect
def perform_collapse_effect
$game_party.mama[@enemy_id] += 1 if $game_party.mama[@enemy_id]
perform_collapse_effect_mama
end
end
class Game_Party
class mama
@mama ||= []
end
end
#接任務時$game_party.mama[敵人id] = 0
#完成/取消任務時$game_party.mama[敵人id] = nil
class Game_Enemy
alias perform_collapse_effect_mama perform_collapse_effect
def perform_collapse_effect
$game_party.mama[@enemy_id] += 1 if $game_party.mama[@enemy_id]
perform_collapse_effect_mama
end
end
class Game_Party
class mama
@mama ||= []
end
end
#接任務時$game_party.mama[敵人id] = 0
#完成/取消任務時$game_party.mama[敵人id] = nil