module Beidongjineng
bdjineng = [100=>10,200=>11,12=>15]
end
class Game_Actor < Game_Battler
def learn_skill(skill_id)
if skill_id > 0 and not skill_learn?(skill_id)
#学会技能
@skills.push(skill_id)
@skills.sort!
########################################################################
#被动技能生效状态
if Beidongjineng::BDJINENG.include?(skill_id)
add_state(Beidongjineng::BDJINENG[skill_id], true)
end
end
end