[Logging] Fix log messages to final damage values (#2056)

This commit is contained in:
Paul Coene
2022-03-14 12:05:39 -04:00
committed by GitHub
parent b75741ff4e
commit 326dba6aeb
+2 -2
View File
@@ -5803,7 +5803,7 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
Chat::Red, Chat::Red,
fmt::format( fmt::format(
"Your GM status protects you from {} points of {} (Type {}) damage.", "Your GM status protects you from {} points of {} (Type {}) damage.",
ed->damage, damage,
EQ::constants::GetEnvironmentalDamageName(ed->dmgtype), EQ::constants::GetEnvironmentalDamageName(ed->dmgtype),
ed->dmgtype ed->dmgtype
).c_str() ).c_str()
@@ -5815,7 +5815,7 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
Chat::Red, Chat::Red,
fmt::format( fmt::format(
"Your invulnerability protects you from {} points of {} (Type {}) damage.", "Your invulnerability protects you from {} points of {} (Type {}) damage.",
ed->damage, damage,
EQ::constants::GetEnvironmentalDamageName(ed->dmgtype), EQ::constants::GetEnvironmentalDamageName(ed->dmgtype),
ed->dmgtype ed->dmgtype
).c_str() ).c_str()