• 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!

Lua Old explosive arrow formula?

woeterman94

Inventor
Joined
Oct 2, 2008
Messages
84
Reaction score
6
Location
Belgium
Does anyone know the original damage formula of an explosive / burst arrow?

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BURSTARROW)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.5, -???, -1.2, ???)

local area = createCombatArea( {{1, 1, 1},
                {1, 3, 1},
                {1, 1, 1} } )

setCombatArea(combat, area)

function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end



Lua:
setCombatFormula(combat, type, mina, minb, maxa, maxb) -- Set the combat's formula
 
Back
Top