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![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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