Getting Started
Rules
Character Mover
Optimization Guide
EZ Wiki
EZ Guide
Magelo
Zone List
Spell Recipes
T10.5 Spell Recipes
Crafting Recipes
Donate
EZ Player Discord
EZ Server Files
EZ Client Downloads
Custom UF MiniMap
Custom UF Inventory
EQEmulator Home
Allakhazam Home
UFMissingFilesList
TwitchTV
if ($npc_id > 443300 && $npc_id < 443308) { my $BOSS_CHANCE = int (rand(100)); if ($BOSS_CHANCE < 90) { my $BOSS_SPAWN_ID = $npc_id + 1; # quest::gmsay("GM: BOSS $npc_id to $SPAWN_ID CHANCE $BOSS_CHANCE (PASS)", 18, 0); # BOSS 80% my $x = 0; my $y = 0; my $z = 0; my $h = 0; my $BOSS_LOCATION = int (rand(16)); if ($BOSS_LOCATION == 0) { $x = ??; $y = ???; $z = ??; $h = ??; } # BOSS_LOCATION_1############################################################################################################## Removed spawn locations for obvious reasons on a public post ################################################################################################################### else { quest::gmsay("ERROR: BOSS_1 location", 18, 0); } quest::spawn2($BOSS_SPAWN_ID,0,0,$x,$y,$z,$h); } # END IF 80% CHANCE BOSS else { my $SPAWN_ID = $npc_id + 1; # DEBUG # quest::gmsay("GM: BOSS $npc_id to $SPAWN_ID CHANCE $BOSS_CHANCE (FAIL)", 18, 0); # BOSS NOT 80% } # ELSE BOSS NOT 80% } # END IF MINI BOSS DIES
if ($npc_id > 443300 && $npc_id < 443308) { my $BOSS_CHANCE = int (rand(100)); if ($BOSS_CHANCE < 90) { my $BOSS_SPAWN_ID = $npc_id + 1; quest::gmsay("GM: Boss $npc_id to spawn $SPAWN_ID, $BOSS_CHANCE / 100 (PASS)", 18, 0) if $debug; # BOSS 80% my ($x, $y, $z, $h); my $r = int (rand(16)); $x = $bossLocation{$r}[0]; $y = $bossLocation{$r}[1]; $z = $bossLocation{$r}[2]; $h = $bossLocation{$r}[3]; quest::spawn2($BOSS_SPAWN_ID,0,0,$x,$y,$z,$h); } # END IF 80% CHANCE BOSS else { my $SPAWN_ID = $npc_id + 1; # DEBUG quest::gmsay("GM: Boss $npc_id to spawn $SPAWN_ID, $BOSS_CHANCE / 100 (FAIL)", 18, 0) if $debug; # BOSS NOT 80% } # ELSE BOSS NOT 80% } # END IF MINI BOSS DIES
my $r = int (rand(16)); $x = $bossLocation{$r}[0]; $y = $bossLocation{$r}[1]; $z = $bossLocation{$r}[2]; $h = $bossLocation{$r}[3];
my ($x, $y, $z, $h); my $r = int (rand(16)); $x = $bossLocation{$r}[0]; $y = $bossLocation{$r}[1]; $z = $bossLocation{$r}[2]; $h = $bossLocation{$r}[3]; quest::spawn2($BOSS_SPAWN_ID,0,0,$x,$y,$z,$h);
my $r = int (rand(16));quest::spawn2($BOSS_SPAWN_ID, 0, 0, $bossLocation{$r}[0], $bossLocation{$r}[1], $bossLocation{$r}[2], $bossLocation{$r}[3]);