narko
vertrauenswürdig ~
I'm looking for a Spell in range example
if you are in range -> frompos = {x=32499, y=32403, z=7} topos = {x=32512,y=32411,z=7} you can't use the spell example "You can't use this spell in a event"..
Please here is the script..
Need fast help...
if you are in range -> frompos = {x=32499, y=32403, z=7} topos = {x=32512,y=32411,z=7} you can't use the spell example "You can't use this spell in a event"..
Please here is the script..
Need fast help...
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 33000)
setConditionFormula(condition, 0.3, -24, 0.3, -24)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end