mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708)
This commit is contained in:
@@ -38,8 +38,7 @@ enum TwilightCorrupter
|
||||
SPELL_LEVEL_UP = 24312,
|
||||
|
||||
EVENT_SOUL_CORRUPTION = 1,
|
||||
EVENT_CREATURE_OF_NIGHTMARE = 2,
|
||||
FACTION_HOSTILE = 14
|
||||
EVENT_CREATURE_OF_NIGHTMARE = 2
|
||||
};
|
||||
|
||||
/*######
|
||||
@@ -83,7 +82,7 @@ public:
|
||||
{
|
||||
_introSpoken = true;
|
||||
Talk(YELL_TWILIGHTCORRUPTOR_RESPAWN, who);
|
||||
me->setFaction(FACTION_HOSTILE);
|
||||
me->SetFaction(FACTION_MONSTER);
|
||||
}
|
||||
ScriptedAI::MoveInLineOfSight(who);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user