Fix custom boss tags being overriden in vanilla boss maps.

This commit is contained in:
Mari the Deer 2023-10-10 17:03:53 +02:00
commit 3b36859992
2 changed files with 11 additions and 11 deletions

View file

@ -240,8 +240,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 3;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_BRUISERS";
}
bosstag = "$BT_BRUISERS";
}
else if ( bossmap == MAP_DE2M8 )
{
@ -250,8 +250,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 5;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_CYBIE";
}
bosstag = "$BT_CYBIE";
}
else if ( bossmap == MAP_DE3M8 )
{
@ -261,8 +261,8 @@ extend Class SWWMHandler
e.Thing.StartHealth = e.Thing.Health *= 6;
e.Thing.GiveInventory('BossMarker',1);
e.Thing.GiveInventory('EndgameBossMarker',1);
bosstag = "$BT_SPIDER";
}
bosstag = "$BT_SPIDER";
}
else if ( bossmap == MAP_DE4M8 )
{
@ -271,8 +271,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 4;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_SPIDER2";
}
bosstag = "$BT_SPIDER2";
}
else if ( bossmap == MAP_DMAP07 )
{
@ -281,8 +281,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 2;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_DIMPLE";
}
bosstag = "$BT_DIMPLE";
}
else if ( bossmap == MAP_DMAP30 )
{
@ -293,13 +293,13 @@ extend Class SWWMHandler
e.Thing.StartHealth = e.Thing.Health *= 40; // goodbye, instakills
e.Thing.GiveInventory('BossMarker',1);
e.Thing.GiveInventory('EndgameBossMarker',1);
bosstag = "$BT_IOS";
}
if ( e.Thing is 'BossEye' )
{
bossviewactor = e.Thing;
e.Thing.GiveInventory('IconMessage',1);
}
bosstag = "$BT_IOS";
}
else if ( bossmap == MAP_DLVL08 )
{
@ -308,8 +308,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 4;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_CYBIE2";
}
bosstag = "$BT_CYBIE2";
}
else if ( bossmap == MAP_HE1M8_HE4M8 )
{
@ -318,8 +318,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 4;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_LICHES";
}
bosstag = "$BT_LICHES";
}
else if ( bossmap == MAP_HE2M8_HE5M8 )
{
@ -328,8 +328,8 @@ extend Class SWWMHandler
bossactors.Push(e.Thing);
e.Thing.StartHealth = e.Thing.Health *= 3;
e.Thing.GiveInventory('BossMarker',1);
bosstag = "$BT_MINOTAUR";
}
bosstag = "$BT_MINOTAUR";
}
else if ( bossmap == MAP_HE3M8 )
{