Hi I kind of got an problem with my custom bow. I dont really know how to see which of these 4 is for the level based and magic level based.
And if possible i could really need an better formula.
Giving rep+ for help
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 0)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ARROW)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 70, 10, 500, 15)
function onUseWeapon(cid, var)
if not doCombat(cid, combat, var) then
return false
end
end
And if possible i could really need an better formula.
Giving rep+ for help