class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 获取基本攻击力
#--------------------------------------------------------------------------
def base_atk
weapon = $data_weapons[@weapon_id]
return 0 if weapon == nil #没有武器直接返回 0
coe = 60 #系数
case weapon.id
when 1..20 #剑类武器
coe = 80 if skill_learn?($sword_expert)
coe = 100 if skill_learn?($sword_master)
when 21..40#长柄武器
coe = 80 if skill_learn?($lance_expert)
coe = 100 if skill_learn?($lance_master)
when 41..60#斧头
coe = 80 if skill_learn?($axe_expert)
coe = 100 if skill_learn?($axe_master)
when 61..80#匕首
coe = 80 if skill_learn?($dagger_expert)
coe = 100 if skill_learn?($dagger_master)
when 81..100#弓箭
coe = 80 if skill_learn?($bow_expert)
coe = 100 if skill_learn?($bow_master)
when 101..120#铳器
coe = 80 if skill_learn?($gun_expert)
coe = 100 if skill_learn?($gun_master)
end
return (weapon.atk*coe )/100
end
end