#--------------------------------------------------------------------------
# ● 判定武器是否可以裝備
#--------------------------------------------------------------------------
def equip_wtype_ok?(wtype_id)
if dual_wield? == false
features_set(FEATURE_EQUIP_WTYPE).include?(wtype_id)
else
return true if features_set(FEATURE_EQUIP_WTYPE).include?(N) && wtype_id == N
# N為雙持武器的武器類型ID 自行手動修改
end
end
#--------------------------------------------------------------------------
# ● 判定武器是否可以裝備
#--------------------------------------------------------------------------
def equip_wtype_ok?(wtype_id)
if dual_wield? == false
features_set(FEATURE_EQUIP_WTYPE).include?(wtype_id)
else
return true if features_set(FEATURE_EQUIP_WTYPE).include?(N) && wtype_id == N
# N為雙持武器的武器類型ID 自行手動修改
end
end