Hey, I got a script for the yalahar quest, but when I tested it, it created way too many monsters, and like every 5 seconds the next wave already comes..
It summons way too many monsters (3 azerus for example) and they spawn like 2 seconds in between. So my question is, how do I add delay to this script, so that it's like 40 seconds between all of them, and if possible, how do I make it so that there won't come 3 azerus, but just 1.
Sincerely,
UpAndDown.
Code:
function Potwory1()
doSummonCreature("Rift Worm", {x=34937,y=32203,z=10})
doSummonCreature("Rift Worm", {x=34542,y=32201,z=10})
end
function Potwory2()
doSummonCreature("Rift Brood", {x=34937,y=32203,z=10})
doSummonCreature("Rift Brood", {x=34542,y=32201,z=10})
end
function Potwory3()
doSummonCreature("Rift Scythe", {x=34937,y=32203,z=10})
doSummonCreature("Rift Scythe", {x=34542,y=32201,z=10})
end
function Potwory4()
doSummonCreature("Azerus", {x=34939,y=32205,z=10})
doSummonCreature("War Golem", {x=34937,y=32203,z=10})
doSummonCreature("War Golem", {x=34542,y=32201,z=10})
end
function onUse(cid, item, frompos, item2, topos)
addEvent(Potwory1, 0)
addEvent(Potwory2, 5000)
addEvent(Potwory3, 10000)
addEvent(Potwory4, 15000)
return TRUE
end
It summons way too many monsters (3 azerus for example) and they spawn like 2 seconds in between. So my question is, how do I add delay to this script, so that it's like 40 seconds between all of them, and if possible, how do I make it so that there won't come 3 azerus, but just 1.
Sincerely,
UpAndDown.