CLASnipe
Member
- ServUO Version
- Publish Unknown
- Ultima Expansion
- Stygian Abyss
So i want this stone to list how many things have been killed in this dungeon
it shows the kills but doesnt reset the kills back to 0 on the stone when the final boss is killed
how do i reset the number on the stone when the boss dies?
Kill Counter:
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list);
list.Add( "Kills: {0}", m_RegularKillCount.ToString());
}
it shows the kills but doesnt reset the kills back to 0 on the stone when the final boss is killed
Boss Death:
else if ( this.m_CurrentBoss is Hades && !this.m_CurrentBoss.Alive )
{
World.Broadcast( 1150, true, "Hades has fallen. The Underworld Gauntlet is completed! Exit through the healer room" );
WipeGates();
this.GenerateSpawnNodes();
this.m_RegularKillCount = 0;
this.m_CurrentStage = 1;
this.m_CurrentBoss = null;
}
how do i reset the number on the stone when the boss dies?