June 23, 20187 yr I'm having a problem where if I have 2 players and use foreach (WoWPlayer _unit in ObjectManager.GetObjectWoWPlayer() ) { Logging.WriteDebug("Unit: " + _unit.Name + " Requires : " + (_unit.MaxHealth- _unit.Health).ToString() + " Heal " + (_unit.HealthPercent).ToString() + " % "); } It returns completely different health values depending on if they are in a party or not on vanilla
June 23, 20187 yr Author WoWPlayer.MaxHealth is the MaxPercentage and WowPlayer.Health == WowPlayerHealthPercent when not in a party on Vanilla And if they are in group or party then the values are what you would expect them to be
Create an account or sign in to comment