def is_skill?; @class == RPG::Skill; end def is_item?; @class == RPG::Item; end def is_weapon?; @class == RPG::Weapon; end def is_armor?; @class == RPG::Armor; end def is_nil?; @class == nil; end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |