mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
Scripts/Shadowmoon Valley: Fix kill credit for Enraged Spirits
This commit is contained in:
@@ -1791,7 +1791,7 @@ public:
|
||||
Unit* Owner = totemOspirits->GetOwner();
|
||||
if (Owner && Owner->GetTypeId() == TYPEID_PLAYER)
|
||||
// DoCast(Owner, credit); -- not working!
|
||||
CAST_PLR(Owner)->KilledMonsterCredit(credit, Summoned->GetGUID());
|
||||
CAST_PLR(Owner)->KilledMonsterCredit(credit, 0);
|
||||
DoCast(totemOspirits, SPELL_SOUL_CAPTURED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user