#--------------------------------------------------------------------------
# ● 获取基本攻击力
#--------------------------------------------------------------------------
def base_atk
weapon = $data_weapons[@weapon_id]
return weapon != nil ? weapon.atk + base_str * 0.2 : base_str * 0.2
#攻击力=武器攻击力+力量*0.2
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |