+ Fix issues with status bars not updating.

The health bar status updates do not require prerequisite checks as they use flags within the packet to determine the proper state of being yellow or green or both.
This commit is contained in:
LG Archer 2017-03-30 21:04:23 +01:00 committed by GitHub
parent 1058cd8416
commit e62fc4964a

View file

@ -9183,10 +9183,10 @@ namespace Server
m.m_NetState.Send(MobileIncoming.Create(m.m_NetState, m, this));
if ( m.m_NetState.StygianAbyss ) {
if ( m_Poison != null )
//if ( m_Poison != null )
m.m_NetState.Send( new HealthbarPoison( this ) );
if ( m_Blessed || m_YellowHealthbar )
//if ( m_Blessed || m_YellowHealthbar )
m.m_NetState.Send( new HealthbarYellow( this ) );
}
@ -9207,10 +9207,10 @@ namespace Server
ourState.Send(MobileIncoming.Create(ourState, this, m));
if ( ourState.StygianAbyss ) {
if ( m.Poisoned )
//if ( m.Poisoned )
ourState.Send( new HealthbarPoison( m ) );
if ( m.Blessed || m.YellowHealthbar )
//if ( m.Blessed || m.YellowHealthbar )
ourState.Send( new HealthbarYellow( m ) );
}
@ -9241,10 +9241,10 @@ namespace Server
ns.Send(MobileIncoming.Create(ns, ns.Mobile, this));
if ( ns.StygianAbyss ) {
if ( m_Poison != null )
//if ( m_Poison != null )
ns.Send( new HealthbarPoison( this ) );
if ( m_Blessed || m_YellowHealthbar )
//if ( m_Blessed || m_YellowHealthbar )
ns.Send( new HealthbarYellow( this ) );
}
@ -11347,4 +11347,4 @@ namespace Server
{
}
}
}
}