Fixed Henna packets.
Contributed by proGenitor.
This commit is contained in:
parent
0dbeffebb9
commit
592ce09803
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user