View Single Post
  #1  
Old 08-13-2012, 05:02 AM
Reynin89
Sarnak
 
Join Date: Apr 2010
Posts: 71
Default Anyone see an issue..?

Just curious, its been a loooong while since ive scripted anything, and i was never like the BEST but i considered myself pretty decent. Anyway computer got fried lost all scripts trying to rebuild, anyone see why this wouldnt work? Please and thank u for responses.

Code:
	sub EVENT_SPAWN {
quest::setnexthpevent(99);	
quest::settimer(DT,1); 	
quest::settimer(Slow,2);	
quest::settimer(Nuke,3);	
}


	sub EVENT_HP {
if ($hpevent == 99) {
quest::shout2("You dare face the might of Vishimtar, mortals?!?!!");
quest::setnexthpevent(75);}

if ($hpevent == 75) {
quest::shout2("The power of the dragon ancients grows inside of me!");
quest::setnexthpevent(50);}

if ($hpevent == 50) {
quest::shout2("I...am...the Destroyer!!!");
quest::setnexthpevent(25);}

if ($hpevent == 25) {
quest::shout2("Arrghh! You will not defeat me!");
quest::setnexthpevent(1);}

if ($hpevent == 1) {
quest::shout2("Ahh.. My power was not.... Strong enough...");
}

Sub EVENT_DEATH {
quest::stoptimer("DT");
quest::stoptimer("Slow");
quest::stoptimer("Nuke");
}

Sub EVENT_SLAY {
quest::shout("You cannot stand yourself against a dragon god $name!"); 
}

Sub EVENT_TIMER {
if ($timer == "DT") {
quest::selfcast(6646);
}
if ($timer == "Slow") {
quest::selfcast(15236);
}
if ($timer =="Nuke") {
quest::selfcast(9051);
}
}
Again, thanks in advance!
Reply With Quote