Spo teh pro
New Member
- Joined
- Jan 3, 2008
- Messages
- 319
- Reaction score
- 1
Does anyone know why I get PZ-lock when I use a magic wall rune or a wild growth rune?!
Here's the script from magic wall
//edit
Yes, I'm stupid and I posted wrong board omg :|
I thought I was in Requets & Support !!aewwwz
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)
function onCastSpell(cid, var)
if isPlayer(cid) == TRUE then
if exhaustion.check(cid, 30030) then
return FALSE
else
return doRemoveCondition(cid, CONDITION_HASTE), doCombat(cid, combat, var)
end
else
return doRemoveCondition(cid, CONDITION_HASTE), doCombat(cid, combat, var)
end
end
Here's the script from magic wall
//edit
Yes, I'm stupid and I posted wrong board omg :|
I thought I was in Requets & Support !!aewwwz