class Window_ActorCommand < Window_Command def make_command_list return unless @actor disabled = [3,4,5].include?(@actor.id) # 3、4、5号角色触发 add_attack_command unless disabled add_skill_commands add_guard_command add_item_command unless disabled end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |