Fixed updating summon PvP status.
This commit is contained in:
parent
be0845d6ea
commit
2e8d516afe
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
@ -152,6 +152,11 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
addComponentType(NpcInfoType.REPUTATION);
|
addComponentType(NpcInfoType.REPUTATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summon.getPvpFlag() != 0)
|
||||||
|
{
|
||||||
|
addComponentType(NpcInfoType.PVP_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (summon.getOwner().getClan() != null)
|
if (summon.getOwner().getClan() != null)
|
||||||
{
|
{
|
||||||
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
_clanId = summon.getOwner().getAppearance().getVisibleClanId();
|
||||||
|
Loading…
Reference in New Issue
Block a user