class Game_Enemy def mhp=(mhp) @assigned_mhp = mhp end alias mhp_from_database mhp def mhp @assigned_mhp || mhp_from_database endend
class Game_Enemy def mhp=(mhp) @assigned_mhp = mhp end alias mhp_from_database mhp def mhp @assigned_mhp || mhp_from_database end end
chd114 发表于 2014-10-18 05:20 Game_Troop 的在的上面加一段