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

[XML] Additional MagicWall rune

Bladefist

New Member
Joined
Oct 26, 2010
Messages
65
Reaction score
0
Location
Carlin
Ok I running a Xml 7.6 and the files is from yurots.

I have the standard magicwall rune ID: 2293

Looking like this in the Spell/runes folder:


-- doTargetGroundMagic
-- cid: creature id.
-- creaturePos: Target position.
-- animationEffect: Projectile animation.
-- offensive: Indicates if the spell is a healing/attack spell.
--
-- returns true if the spell was casted.

animationEffect = NM_ANI_ENERGY
offensive = true
magicDamageListCount = 0
durationTicks = 20000
itemid = 1498
transformCount = 1

function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}

return doTargetGroundMagic(cid, centerpos, animationEffect, offensive,
magicDamageListCount, durationTicks, itemid, transformCount)
end

It work 100%

But I want another copy of the same effect on a rune with ID: 2294

And make it infinite charges as well.

But I just don't understand how this will look like in the actions file as well.

Please Comment :)
 
Back
Top