class Game_Enemy < Game_Battler
#--------------------------------------------------------------------------
# 判定行动列表是否有skill技能
#--------------------------------------------------------------------------
def skill_learn?(skill)
enemy.actions.each {|action| return true if action.skill_id == skill.id }
return false
end
end
class Game_Enemy < Game_Battler
#--------------------------------------------------------------------------
# 判定行动列表是否有skill技能
#--------------------------------------------------------------------------
def skill_learn?(skill)
enemy.actions.each {|action| return true if action.skill_id == skill.id }
return false
end
end