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

HELP! Burst arrows do not burst :(

nicoelperro

New Member
Joined
May 3, 2024
Messages
11
Reaction score
2
So.. i'm working on a 8.6 OT and i have one problem with burst arrows.
THEY DONT' BURST, this is the script i have for them in burst_arrow.lua

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
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_SKILL, 1, 0, 1, 0)

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



And this is what i have in weapons.xml

<distance id="2546" event="script" value="burst_arrow.lua"/>

They should work, but they don't it just shoots the burst arrow animation but it has no fire damage or fire animation at all..
If someone knows what could i do to fix that i'd appreciate it very much :) THANKS
 
Back
Top