class Game_Actor alias_method :ast_20150314, :added_skill_types def added_skill_types original = ast_20150314 # 往 original 里面添加你想要的东西 # 例: # if $game_switches[233] # original |= 23 # end original end end
class Game_Actor
alias_method :ast_20150314, :added_skill_types
def added_skill_types
original = ast_20150314
# 往 original 里面添加你想要的东西
# 例:
# if $game_switches[233]
# original |= 23
# end
original
end
end
|