Cameron123
New Member
- Joined
- Nov 27, 2011
- Messages
- 8
- Reaction score
- 0
Hello. I have a question about shiver arrow and how do i do to get Physical damage and not ice damage o.o...
Please answer!
Please answer!

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 11)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FLASHARROW)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.1, -1, -0.1, -1)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 11)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FLASHARROW)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.1, -1, -0.1, -1)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
<item id="7839" article="a" name="shiver arrow" plural="shiver arrows">
<attribute key="weight" value="70"/>
<attribute key="slotType" value="ammo"/>
<attribute key="attack" value="25"/>
<attribute key="hitChance" value="90"/>
<attribute key="weaponType" value="ammunition"/>
<attribute key="ammoType" value="arrow"/>
<attribute key="ammoAction" value="removecount"/>
<attribute key="shootType" value="shiverarrow"/>
</item>