fix: Fixes negative acts from explosion spell. Fixes Orc Brute ability (#1974)

This commit is contained in:
Kamron Batman 2024-10-15 17:51:14 -07:00 • committed by GitHub
parent 26c7f5c49b
commit 9f985b0c38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 6 deletions

View file

@ -68,6 +68,11 @@ namespace Server.Spells.Sixth
protected override void OnTick()
{
if (_defender.Deleted || !_defender.Alive)
{
return;
}
if (_attacker.HarmfulCheck(_defender))
{
double damage;