refactor(Core/Misc): Define & Rename Attributes and flags (#5193)
This commit is contained in:
parent
0a12aed4bb
commit
33aeadf8b6
27 changed files with 224 additions and 224 deletions
|
|
@ -99,7 +99,7 @@ public:
|
|||
|
||||
player->SetByteValue(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_PVP);
|
||||
|
||||
player->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE);
|
||||
player->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PLAYER_CONTROLLED);
|
||||
|
||||
//-1 is default value
|
||||
player->SetUInt32Value(PLAYER_FIELD_WATCHED_FACTION_INDEX, uint32(-1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue