class Window_ActorCommand < Window_Command def add_command(name, symbol, enabled = true, ext = nil) if symbol == :skill; enabled = @actor.skills.any? {|skill| skill && skill.stype_id == ext }; end super end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |