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

TRAp RuNe

ameer

New Member
Joined
Dec 31, 2010
Messages
83
Reaction score
0
Hello i have a trap rune problems I can shoot from any range with my magicwall trap. I want it to... When you are 1 sqm away from the player you can shoot it or else you cant and only knights can use this rune. Anyone could help me here is my script


local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)

local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}

local area = createCombatArea(arr)
setCombatArea(combat, area)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
 
I mean like after you have casted the rune magic walltrap....

The time limit of the magic walltrapp
could you help me with that?
 
Code:
	<item id="1497" article="a" name="magic wall">
		<attribute key="type" value="magicfield" />
		<attribute key="decayTo" value="0" />
		[B][U]<attribute key="duration" value="20" />[/U][/B]
	</item>

dilute to taste.
 
Back
Top