class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 获取装备栏的数组
#--------------------------------------------------------------------------
alias game_actor_equip_slots_passive_skill equip_slots
def equip_slots
return [0,1,2,3,4] if skills.include?($data_skills[被动技能的ID])
game_actor_equip_slots_passive_skill
end
end
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 获取装备栏的数组
#--------------------------------------------------------------------------
alias game_actor_equip_slots_passive_skill equip_slots
def equip_slots
return [0,1,2,3,4] if skills.include?($data_skills[被动技能的ID])
game_actor_equip_slots_passive_skill
end
end