ExEnchantTwoOK success percent addition.
Contributed by Index.
This commit is contained in:
parent
c6ced6b5da
commit
0e27161b96
@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
|
|||||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author UnAfraid
|
* @author Index
|
||||||
*/
|
*/
|
||||||
public class ExEnchantTwoOK implements IClientOutgoingPacket
|
public class ExEnchantTwoOK implements IClientOutgoingPacket
|
||||||
{
|
{
|
||||||
@ -35,6 +35,7 @@ public class ExEnchantTwoOK implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_ENCHANT_TWO_OK.writeId(packet);
|
OutgoingPackets.EX_ENCHANT_TWO_OK.writeId(packet);
|
||||||
|
packet.writeD(0); // success percent (if 0 - takes from dat, if 1 - will be 0.01)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
|
|||||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author UnAfraid
|
* @author Index
|
||||||
*/
|
*/
|
||||||
public class ExEnchantTwoOK implements IClientOutgoingPacket
|
public class ExEnchantTwoOK implements IClientOutgoingPacket
|
||||||
{
|
{
|
||||||
@ -35,6 +35,7 @@ public class ExEnchantTwoOK implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_ENCHANT_TWO_OK.writeId(packet);
|
OutgoingPackets.EX_ENCHANT_TWO_OK.writeId(packet);
|
||||||
|
packet.writeD(0); // success percent (if 0 - takes from dat, if 1 - will be 0.01)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user