Hello
I've added battlegrounds for red and blue teams
I need part of a script for that - blue can't heal red players/and red can't heal blue players.
HEALING FIXED
for ue now :
I've add to eternal winter.lua something like that:
cause I don't want let people use ue's on the battlegrounds, but this also doesn't work.
any ideas?
I've added battlegrounds for red and blue teams
I need part of a script for that - blue can't heal red players/and red can't heal blue players.
HEALING FIXED
for ue now :
I've add to eternal winter.lua something like that:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICETORNADO)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 6, 12)
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
function onCastSpell(cid, var)
local pos = getThingPos(cid)if pos.x >= 19008 and pos.x <= 19377 and pos.y >= 19006 and pos.y <= 19341 and pos.z == 7 then
end
return doCombat(cid, combat, var)
end
cause I don't want let people use ue's on the battlegrounds, but this also doesn't work.
any ideas?
Last edited: