class Window_ActorCommand < Window_Command
alias krst_161015_add_skill_commands add_skill_commands
def add_skill_commands
@actor.added_skill_types.sort.each do |stype_id|
if $data_system.skill_types[stype_id] == "人用的技能" && $game_switches[1] == true
else
if $data_system.skill_types[stype_id] == "鬼用的技能" && $game_switches[2] == true
else
name = $data_system.skill_types[stype_id]
add_command(name, :skill, true, stype_id)
end
end
end
end