refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708)
This commit is contained in:
parent
3396a9da87
commit
f106de8788
129 changed files with 418 additions and 444 deletions
|
|
@ -1467,7 +1467,7 @@ public:
|
|||
continue;
|
||||
|
||||
summon->SetOwnerGUID(GetCaster()->GetGUID());
|
||||
summon->setFaction(GetCaster()->getFaction());
|
||||
summon->SetFaction(GetCaster()->GetFaction());
|
||||
summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC | UNIT_FLAG_IMMUNE_TO_NPC);
|
||||
summon->SetReactState(REACT_PASSIVE);
|
||||
summon->GetMotionMaster()->MoveFollow(GetCaster(), PET_FOLLOW_DIST, GetCaster()->GetAngle(summon), MOTION_SLOT_CONTROLLED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue