View Single Post
  #3  
Old 10-29-2009, 10:00 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

just rummaging through the quest folder for kith, and found this in 20250.pl. looks likes its based off an NPC spawning

Code:
# kithicor night and day checker
#Angelox's reasoning :)

sub EVENT_SPAWN { 
quest::settimer("kithdaynight",10);
if ($zonetime < 800 || $zonetime > 1999) {
	quest::spawn_condition($zonesn, 2,0); #live are 2
	quest::spawn_condition($zonesn, 1,1); #undead are 1
}
else {
	quest::spawn_condition($zonesn,2,1); #live are 2
	quest::spawn_condition($zonesn,1,0); #undead are 1
}
 }

sub EVENT_TIMER {
if ($zonetime < 800 || $zonetime > 1999) {
	quest::spawn_condition($zonesn, 2,0); #live are 2
	quest::spawn_condition($zonesn, 1,1); #undead are 1
}
else {
	quest::spawn_condition($zonesn,2,1); #live are 2
	quest::spawn_condition($zonesn,1,0); #undead are 1
}
 }
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote