Addition of bonus patk and matk at UserInfo.
Contributed by Index.
This commit is contained in:
parent
28a2bb8758
commit
d224f486e2
@ -224,8 +224,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -224,8 +224,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -226,8 +226,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -226,8 +226,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -223,8 +223,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -223,8 +223,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -225,8 +225,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
@ -225,8 +225,8 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
|
||||
packet.writeD(_player.getMDef());
|
||||
packet.writeD(_player.getMagicAccuracy());
|
||||
packet.writeD(_player.getMCriticalHit());
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(0); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusPAtk()); // 270
|
||||
packet.writeD(_player.getStat().getWeaponBonusMAtk()); // 270
|
||||
}
|
||||
if (containsMask(UserInfoType.ELEMENTALS))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user