Scripts/Shadowmoon Valley: Fix kill credit for Enraged Spirits

This commit is contained in:
Machiavelli committed 2011-04-26 23:30:13 +02:00
1 parent 8d1cb7fb34
commit 374eba2f5d
1 file changed
+1 -1
@@ -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);
}
}