Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
7cbaa028cd
21 files changed
+545
-20
No files matched your search
@@ -769,8 +769,8 @@ public:
|
||||
handler->PSendSysMessage(npcFlagTexts[i].Name, npcFlagTexts[i].Value);
|
||||
|
||||
handler->PSendSysMessage(LANG_NPCINFO_MECHANIC_IMMUNE, mechanicImmuneMask);
|
||||
for (uint8 i = 0; i < MAX_MECHANIC; ++i)
|
||||
if ((mechanicImmuneMask << 1) & mechanicImmunes[i].Value)
|
||||
for (uint8 i = 1; i < MAX_MECHANIC; ++i)
|
||||
if (mechanicImmuneMask & (1 << (mechanicImmunes[i].Value - 1)))
|
||||
handler->PSendSysMessage("%s (0x%X)", mechanicImmunes[i].Name, mechanicImmunes[i].Value);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user