fix: Implement missing critical hit sound (#1141)
Some checks are pending
Nightly Server Release / build (Windows64) (push) Waiting to run
Nightly Server Release / release (push) Blocked by required conditions
Nightly Server Release / Build and Push Docker Image (push) Blocked by required conditions
Nightly Server Release / cleanup (push) Blocked by required conditions
Nightly Release / build (Windows64) (push) Waiting to run
Nightly Release / release (push) Blocked by required conditions
Nightly Release / cleanup (push) Blocked by required conditions

* Fix

* Crit Sound Now Plays On Death

* Revert BuildVer.h

---------

Co-authored-by: Loki <lokio.casebstv@gmail.com>
This commit is contained in:
Tyler Reese 2026-04-12 21:24:29 -07:00 committed by GitHub
parent 2d41711055
commit 78afb091a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 64 additions and 9 deletions

View file

@ -124,6 +124,7 @@ DamageSource::DamageSource(ChatPacket::EChatPacketMessage msgId, ChatPacket::ECh
_isProjectile = false;
_isMagic = false;
_isExplosion = false;
_isCritical = false;
//this->msgId = msgId;
m_msgId = msgId;
@ -153,7 +154,15 @@ DamageSource *DamageSource::bypassInvul()
_bypassInvul = true;
return this;
}
bool DamageSource::isCritical()
{
return _isCritical;
}
DamageSource *DamageSource::setIsCritical()
{
_isCritical = true;
return this;
}
DamageSource *DamageSource::setIsFire()
{
isFireSource = true;