Fixed Henna packets.

Contributed by proGenitor.
This commit is contained in:
MobiusDev 2018-05-30 10:40:31 +00:00
parent 0dbeffebb9
commit 592ce09803
8 changed files with 3 additions and 19 deletions

View File

@ -63,7 +63,6 @@ public class HennaEquipList implements IClientOutgoingPacket
packet.writeQ(henna.getWearCount()); // amount of dyes required
packet.writeQ(henna.getWearFee()); // amount of Adena required
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00); // meet the requirement or not
packet.writeD(0x00); // TODO: Find me!
}
}
return true;

View File

@ -59,10 +59,6 @@ public class HennaItemDrawInfo implements IClientOutgoingPacket
packet.writeH(_activeChar.getDEX() + _activeChar.getHennaValue(BaseStats.DEX)); // equip DEX
packet.writeD(_activeChar.getWIT()); // current WIT
packet.writeH(_activeChar.getWIT() + _activeChar.getHennaValue(BaseStats.WIT)); // equip WIT
packet.writeD(_activeChar.getLUC()); // current LUC
packet.writeH(_activeChar.getLUC() + _activeChar.getHennaValue(BaseStats.LUC)); // equip LUC
packet.writeD(_activeChar.getCHA()); // current CHA
packet.writeH(_activeChar.getCHA() + _activeChar.getHennaValue(BaseStats.CHA)); // equip CHA
packet.writeD(0x00); // TODO: Find me!
return true;
}

View File

@ -50,8 +50,7 @@ public class HennaRemoveList implements IClientOutgoingPacket
packet.writeD(henna.getDyeItemId());
packet.writeQ(henna.getCancelCount());
packet.writeQ(henna.getCancelFee());
packet.writeD(0x00);
packet.writeD(0x00);
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00);
}
}
return true;

View File

@ -63,7 +63,6 @@ public class HennaEquipList implements IClientOutgoingPacket
packet.writeQ(henna.getWearCount()); // amount of dyes required
packet.writeQ(henna.getWearFee()); // amount of Adena required
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00); // meet the requirement or not
packet.writeD(0x00); // TODO: Find me!
}
}
return true;

View File

@ -59,10 +59,6 @@ public class HennaItemDrawInfo implements IClientOutgoingPacket
packet.writeH(_activeChar.getDEX() + _activeChar.getHennaValue(BaseStats.DEX)); // equip DEX
packet.writeD(_activeChar.getWIT()); // current WIT
packet.writeH(_activeChar.getWIT() + _activeChar.getHennaValue(BaseStats.WIT)); // equip WIT
packet.writeD(_activeChar.getLUC()); // current LUC
packet.writeH(_activeChar.getLUC() + _activeChar.getHennaValue(BaseStats.LUC)); // equip LUC
packet.writeD(_activeChar.getCHA()); // current CHA
packet.writeH(_activeChar.getCHA() + _activeChar.getHennaValue(BaseStats.CHA)); // equip CHA
packet.writeD(0x00); // TODO: Find me!
return true;
}

View File

@ -50,8 +50,7 @@ public class HennaRemoveList implements IClientOutgoingPacket
packet.writeD(henna.getDyeItemId());
packet.writeQ(henna.getCancelCount());
packet.writeQ(henna.getCancelFee());
packet.writeD(0x00);
packet.writeD(0x00);
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00);
}
}
return true;

View File

@ -59,10 +59,6 @@ public class HennaItemDrawInfo implements IClientOutgoingPacket
packet.writeH(_activeChar.getDEX() + _activeChar.getHennaValue(BaseStats.DEX)); // equip DEX
packet.writeD(_activeChar.getWIT()); // current WIT
packet.writeH(_activeChar.getWIT() + _activeChar.getHennaValue(BaseStats.WIT)); // equip WIT
packet.writeD(_activeChar.getLUC()); // current LUC
packet.writeH(_activeChar.getLUC() + _activeChar.getHennaValue(BaseStats.LUC)); // equip LUC
packet.writeD(_activeChar.getCHA()); // current CHA
packet.writeH(_activeChar.getCHA() + _activeChar.getHennaValue(BaseStats.CHA)); // equip CHA
packet.writeD(0x00); // TODO: Find me!
return true;
}

View File

@ -50,7 +50,7 @@ public class HennaRemoveList implements IClientOutgoingPacket
packet.writeD(henna.getDyeItemId());
packet.writeQ(henna.getCancelCount());
packet.writeQ(henna.getCancelFee());
packet.writeD(0x00);
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00);
}
}
return true;