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

Not heal enemy & ue scripts - some help

sasiu

New Member
Joined
Apr 6, 2010
Messages
10
Reaction score
0
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:
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:
Back
Top