public class ExEnchantSkillInfoDetailPacket extends L2GameServerPacket
{
private final int _unk = 0;
private final int _skillId;
private final int _skillLvl;
private final int _sp;
private final int _chance;
private final int _bookId, _bookCount, _adenaCount;
public ExEnchantSkillInfoDetailPacket(int skillId, int skillLvl, int sp, int chance, int bookId, int bookCount, int adenaCount)
{
_skillId = skillId;
_skillLvl = skillLvl;
_sp = sp;
_chance = chance;
_bookId = bookId;
_bookCount = bookCount;
_adenaCount = adenaCount;
}
@Override
protected void writeImpl()
{
writeD(_unk); // ?
writeD(_skillId);
writeD(_skillLvl);
writeD(_sp);
writeD(_chance);
writeD(2);
writeD(57); // adena
writeD(_adenaCount); // adena count ?
writeD(_bookId); // book
writeD(_bookCount); // book count
}
}