mirror of
https://github.com/runuo/runuo
synced 2026-08-11 22:26:04 -04:00
+ 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:
parent
1058cd8416
commit
e62fc4964a
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue