Fix(Core/Creature): Disable shredder should not attack creatures nearby (#9920)
This commit is contained in:
@@ -590,7 +590,10 @@ public:
|
|||||||
void JustSummoned(Creature* summoned) override
|
void JustSummoned(Creature* summoned) override
|
||||||
{
|
{
|
||||||
if (summoned->GetEntry() == NPC_PILOT_WIZZ)
|
if (summoned->GetEntry() == NPC_PILOT_WIZZ)
|
||||||
|
{
|
||||||
me->SetStandState(UNIT_STAND_STATE_DEAD);
|
me->SetStandState(UNIT_STAND_STATE_DEAD);
|
||||||
|
me->RestoreFaction();
|
||||||
|
}
|
||||||
|
|
||||||
if (summoned->GetEntry() == NPC_MERCENARY)
|
if (summoned->GetEntry() == NPC_MERCENARY)
|
||||||
summoned->AI()->AttackStart(me);
|
summoned->AI()->AttackStart(me);
|
||||||
|
|||||||
Reference in New Issue
Block a user