Quote:
Originally Posted by fathernitwit
what is the "$grums == 2" stuff about? I dont see any way for that variable to be set...
|
this is to insure we don't get two Garodizan_Razorfin's spawned at the same time. The PL will still work, but it's not not right; should be;
Code:
if (($random_result<=5) && ($razo==2)){
That way if both conditions are met, Garodizan_Razorfin will spawn.
and $razo should go to three untill he dies;
Code:
sub EVENT_DEATH{
quest::delglobal("razo");
quest::setglobal("razo","2","3","F");
$razo=undef;
};
# EOF zone: nadox NPCs:#Garodizan_Razorfin (227113)
Probably my mistake, as he used part of my script for his.
And it IS my mistake, as I see where i did this many times ( I was copy-pasting to hurry and didn't make the changes).
I have to go back and fix them all
EDIT:
I fixed all the PL's for Nadox and posted - remember one thing though, you should have a system for checking and or reseting the globals, in case you reboot your server and the some of these mobs are still up. If you haven't read this yet, here's what I do;
http://blackwater/~angelox/#link2