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

Burst arrow problem on tfs 0.2.9 mystic spirit

Glein

New Member
Joined
Mar 11, 2008
Messages
1
Reaction score
0
my burst arrows wont make damage on targets.
and i find 2 scripts for burst arrows, they are named explosiv arrows inn the script

and here is what the lua file says.

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, 0, 0, 1.0, 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
 
Change
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 1.0, 0)
to
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.5, 0, 1.0, 0)
and try it now
 
Back
Top