mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
@@ -173,7 +173,7 @@ public:
|
||||
case EVENT_SPEECH_7:
|
||||
me->setFaction(103);
|
||||
if (PlayerGUID && ObjectAccessor::GetUnit(*me, PlayerGUID))
|
||||
AttackStart(ObjectAccessor::GetUnit(*me, PlayerGUID));;
|
||||
AttackStart(ObjectAccessor::GetUnit(*me, PlayerGUID));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -679,7 +679,7 @@ public:
|
||||
if( Unit* c = v->GetBase() )
|
||||
if( c->GetTypeId() == TYPEID_UNIT && c->ToCreature()->GetEntry() == (pInstance->GetData(DATA_TEAMID_IN_INSTANCE) == TEAM_HORDE ? VEHICLE_ARGENT_BATTLEWORG : VEHICLE_ARGENT_WARHORSE) )
|
||||
{
|
||||
me->GetMotionMaster()->MovementExpired();;
|
||||
me->GetMotionMaster()->MovementExpired();
|
||||
me->GetMotionMaster()->MoveIdle();
|
||||
me->StopMoving();
|
||||
me->CastSpell(me, SPELL_TRAMPLE_STUN, false);
|
||||
|
||||
@@ -232,7 +232,7 @@ public:
|
||||
return;
|
||||
|
||||
if (summoner->ToCreature())
|
||||
casterGUID = summoner->ToCreature()->GetGUID();;
|
||||
casterGUID = summoner->ToCreature()->GetGUID();
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
|
||||
Reference in New Issue
Block a user