• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Formula

alekito

Archlord - Retired
Joined
Oct 21, 2008
Messages
150
Reaction score
29
Location
Sweden
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.

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
 
Back
Top