LadyCrimson
Wanderer
[COMPLETE] Black Gate on Non-Fel Champ Spawns
Problem/Bug: A gate to the Felucca starroom should not appear for nonFel champ spawns.
Fixed: for ML+ Core, tested on ML only in Tram and Felucca.
Documentation:
http://update.uo.com/design_512.html
Problem/Bug: A gate to the Felucca starroom should not appear for nonFel champ spawns.
Fixed: for ML+ Core, tested on ML only in Tram and Felucca.
Documentation:
http://update.uo.com/design_512.html
Code:
Index: Engines/CannedEvil/ChampionSpawn.cs
===================================================================
--- Engines/CannedEvil/ChampionSpawn.cs (revision 319)
+++ Engines/CannedEvil/ChampionSpawn.cs (working copy)
@@ -397,8 +397,20 @@
if( m_Altar != null )
{
- m_Altar.Hue = 0;
- new StarRoomGate( true, m_Altar.Location, m_Altar.Map );
+ if (Core.ML)
+ {
+ if (Map == Map.Felucca)
+ {
+ m_Altar.Hue = 0;
+ new StarRoomGate(true, m_Altar.Location, m_Altar.Map);
+ }
+ else m_Altar.Hue = 0;
+ }
+ else
+ {
+ m_Altar.Hue = 0;
+ new StarRoomGate(true, m_Altar.Location, m_Altar.Map);
+ }
}
m_Champion = null;