what is perfect formula for distance weapons? becouse >
didn't work.
too.
It is bug in TFS? or i got wrong formulas?
HTML:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SPEAR)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 0, 0)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
didn't work.
HTML:
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 1.0, 0)
too.
It is bug in TFS? or i got wrong formulas?
