Correct hero aura display.

This commit is contained in:
MobiusDev 2019-01-12 04:22:04 +00:00
parent b1d9569fd4
commit 60443c451b
4 changed files with 4 additions and 4 deletions

View File

@ -210,7 +210,7 @@ public class CharInfo implements IClientOutgoingPacket
packet.writeD(_activeChar.getClanCrestLargeId());
packet.writeC(_activeChar.getNobleLevel()); // Confirmed
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0); // Confirmed
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 2 : 0); // 152 - Value for enabled changed to 2?
packet.writeC(_activeChar.isFishing() ? 1 : 0); // Confirmed

View File

@ -305,7 +305,7 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
packet.writeC(_activeChar.getPvpFlag());
packet.writeD(_activeChar.getReputation()); // Reputation
packet.writeC(_activeChar.getNobleLevel());
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0);
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 2 : 0); // 152 - Value for enabled changed to 2?
packet.writeC(_activeChar.getPledgeClass());
packet.writeD(_activeChar.getPkKills());
packet.writeD(_activeChar.getPvpKills());

View File

@ -210,7 +210,7 @@ public class CharInfo implements IClientOutgoingPacket
packet.writeD(_activeChar.getClanCrestLargeId());
packet.writeC(_activeChar.isNoble() ? 1 : 0); // Confirmed
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0); // Confirmed
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 2 : 0); // 152 - Value for enabled changed to 2?
packet.writeC(_activeChar.isFishing() ? 1 : 0); // Confirmed

View File

@ -302,7 +302,7 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
packet.writeC(_activeChar.getPvpFlag());
packet.writeD(_activeChar.getReputation()); // Reputation
packet.writeC(_activeChar.isNoble() ? 1 : 0);
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 1 : 0);
packet.writeC(_activeChar.isHero() || (_activeChar.isGM() && Config.GM_HERO_AURA) ? 2 : 0); // 152 - Value for enabled changed to 2?
packet.writeC(_activeChar.getPledgeClass());
packet.writeD(_activeChar.getPkKills());
packet.writeD(_activeChar.getPvpKills());