Difficulty Selection

Did you just repost tale's script fix?
Or there's a modification on it?
there is a modification to it.
Spoiler: Spoiler
#==============================================================================
# ** Game_Enemy
#------------------------------------------------------------------------------
# This class handles enemies. It used within the Game_Troop class
# ($game_troop).
#==============================================================================

class Game_Enemy < Game_Battler
#--------------------------------------------------------------------------
# * Get Base Value of Parameter
#--------------------------------------------------------------------------
alias todd_difficulty_gmen_param_base param_base
def param_base(param_id, *args)
n1 = todd_difficulty_gmen_param_base(param_id, *args)
n2 = case $game_system.todd_difficulty
when 0 then TODDDIFFICULTY::EASYM
when 1 then 1
when 2 then TODDDIFFICULTY::HEROICM
when 3 then TODDDIFFICULTY::HARDM
end
return n1 * n2
end
end
i changed this to this:
Spoiler: Spoiler 2
# * Get Base Value of Parameter
#--------------------------------------------------------------------------
alias todd_difficulty_gmen_param_base param_base
def param_base(param_id, *args)
n1 = todd_difficulty_gmen_param_base(param_id, *args)
n2 = case $game_system.todd_difficulty
when 0
enemy.params[param_id] * TODDDIFFICULTY::EASYM
when 1
enemy.params[param_id]
when 2
enemy.params[param_id] * TODDDIFFICULTY::HARDM
when 3
enemy.params[param_id] * TODDDIFFICULTY::HEROICM
else
enemy.params[param_id]
end
end
end
the first one was cause errors on start up

Original thread: https://forums.rpgmakerweb.com/threads/difficulty-selection.2789/