mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Players: Name unknown player flags and rename MENTOR to TIMEWALKING
This commit is contained in:
@@ -2146,7 +2146,7 @@ bool CriteriaHandler::ModifierSatisfied(ModifierTreeEntry const* modifier, uint6
|
||||
return false;
|
||||
break;
|
||||
case CRITERIA_ADDITIONAL_CONDITION_MENTOR: // 123
|
||||
if (!referencePlayer->HasPlayerFlag(PLAYER_FLAGS_MENTOR))
|
||||
if (!referencePlayer->HasPlayerFlag(PLAYER_FLAGS_TIMEWALKING))
|
||||
return false;
|
||||
break;
|
||||
case CRITERIA_ADDITIONAL_CONDITION_GARRISON_LEVEL_ABOVE: // 126
|
||||
|
||||
@@ -435,7 +435,7 @@ enum PlayerFlags
|
||||
PLAYER_FLAGS_PLAYED_TOO_LONG = 0x00002000, // played too long time
|
||||
PLAYER_FLAGS_IS_OUT_OF_BOUNDS = 0x00004000,
|
||||
PLAYER_FLAGS_DEVELOPER = 0x00008000, // <Dev> prefix for something?
|
||||
PLAYER_FLAGS_UNK16 = 0x00010000, // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
|
||||
PLAYER_FLAGS_LOW_LEVEL_RAID_ENABLED = 0x00010000, // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
|
||||
PLAYER_FLAGS_TAXI_BENCHMARK = 0x00020000, // taxi benchmark mode (on/off) (2.0.1)
|
||||
PLAYER_FLAGS_PVP_TIMER = 0x00040000, // 3.0.2, pvp timer active (after you disable pvp manually)
|
||||
PLAYER_FLAGS_UBER = 0x00080000,
|
||||
@@ -449,8 +449,8 @@ enum PlayerFlags
|
||||
PLAYER_FLAGS_AUTO_DECLINE_GUILD = 0x08000000, // Automatically declines guild invites
|
||||
PLAYER_FLAGS_GUILD_LEVEL_ENABLED = 0x10000000, // Lua_GetGuildLevelEnabled() - enables guild leveling related UI
|
||||
PLAYER_FLAGS_VOID_UNLOCKED = 0x20000000, // void storage
|
||||
PLAYER_FLAGS_MENTOR = 0x40000000,
|
||||
PLAYER_FLAGS_UNK31 = 0x80000000
|
||||
PLAYER_FLAGS_TIMEWALKING = 0x40000000,
|
||||
PLAYER_FLAGS_COMMENTATOR_CAMERA = 0x80000000
|
||||
};
|
||||
|
||||
enum PlayerFlagsEx
|
||||
|
||||
Reference in New Issue
Block a user