Core/Threat: Fix by faq.

Turning gm on, now drops threat.
Dead mobs no longer holds threat on player.
Also fixed some Engrish.
This commit is contained in:
Malcrom committed 2012-05-13 11:33:42 -02:30
1 parent 7190b1f336
commit 5709929d2b
6 files changed
+18 -11

No files matched your search

@@ -1290,7 +1290,7 @@ struct npc_argent_captainAI : public ScriptedAI
if (spell->Id == SPELL_REVIVE_CHAMPION && !IsUndead)
{
IsUndead = true;
me->setDeathState(JUST_ALIVED);
me->setDeathState(JUST_RESPAWNED);
uint32 newEntry = 0;
switch (me->GetEntry())
{
+1 -1
View File
@@ -1095,7 +1095,7 @@ class spell_item_shimmering_vessel : public SpellScriptLoader
void HandleDummy(SpellEffIndex /* effIndex */)
{
if (Creature* target = GetHitCreature())
target->setDeathState(JUST_ALIVED);
target->setDeathState(JUST_RESPAWNED);
}
void Register()