Core/Phases: Preliminary work with correctly implementing the phase system in 4.3.4
Put here for peer review.
This commit is contained in:
1 parent
6bc62d730e
commit
48ec2df81f
40 files changed
+436
-863
No files matched your search
@@ -179,6 +179,9 @@ bool Pet::LoadPetFromDB(Player* owner, uint32 petEntry, uint32 petnumber, bool c
|
||||
if (!Create(guid, map, owner->GetPhaseMask(), petEntry, petId))
|
||||
return false;
|
||||
|
||||
for (auto itr : owner->GetPhases())
|
||||
SetInPhase(itr, false, true);
|
||||
|
||||
setPetType(petType);
|
||||
setFaction(owner->getFaction());
|
||||
SetUInt32Value(UNIT_CREATED_BY_SPELL, summonSpellId);
|
||||
|
||||
Reference in new issue
Block a user