mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
[Cleanup] Remove GetDamageReceived() and GetHealReceived() from combat_record.cpp/combat_record.h (#3358)
# Notes - These are unused.
This commit is contained in:
parent
32f7dc3d1b
commit
c1f4ee0e65
@ -71,13 +71,3 @@ float CombatRecord::GetHealedReceivedPerSecond() const
|
|||||||
double time_in_combat = TimeInCombat();
|
double time_in_combat = TimeInCombat();
|
||||||
return time_in_combat > 0 ? (m_heal_received / time_in_combat) : m_heal_received;
|
return time_in_combat > 0 ? (m_heal_received / time_in_combat) : m_heal_received;
|
||||||
}
|
}
|
||||||
|
|
||||||
int64 CombatRecord::GetDamageReceived() const
|
|
||||||
{
|
|
||||||
return m_damage_received;
|
|
||||||
}
|
|
||||||
|
|
||||||
int64 CombatRecord::GetHealReceived() const
|
|
||||||
{
|
|
||||||
return m_heal_received;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -12,8 +12,6 @@ public:
|
|||||||
bool InCombat() const;
|
bool InCombat() const;
|
||||||
void ProcessHPEvent(int64 hp, int64 current_hp);
|
void ProcessHPEvent(int64 hp, int64 current_hp);
|
||||||
double TimeInCombat() const;
|
double TimeInCombat() const;
|
||||||
int64 GetDamageReceived() const;
|
|
||||||
int64 GetHealReceived() const;
|
|
||||||
float GetDamageReceivedPerSecond() const;
|
float GetDamageReceivedPerSecond() const;
|
||||||
float GetHealedReceivedPerSecond() const;
|
float GetHealedReceivedPerSecond() const;
|
||||||
private:
|
private:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user