Monster race info should use NPC client id.
This commit is contained in:
parent
e0c68052fe
commit
7d8e78bb6d
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -52,7 +52,7 @@ public class MonRaceInfo extends GameServerPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
writeD(_monsters[i].getTemplate().getNpcId() + 1000000); // npcID
|
||||
writeD(_monsters[i].getTemplate().getIdTemplate() + 1000000); // npcID
|
||||
writeD(14107); // origin X
|
||||
writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
writeD(-3566); // origin Z
|
||||
|
@ -52,7 +52,7 @@ public class MonRaceInfo extends GameServerPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
writeD(_monsters[i].getTemplate().getNpcId() + 1000000); // npcID
|
||||
writeD(_monsters[i].getTemplate().getIdTemplate() + 1000000); // npcID
|
||||
writeD(14107); // origin X
|
||||
writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
@ -50,7 +50,7 @@ public class MonRaceInfo implements IClientOutgoingPacket
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
packet.writeD(_monsters[i].getObjectId()); // npcObjectID
|
||||
packet.writeD(_monsters[i].getTemplate().getId() + 1000000); // npcID
|
||||
packet.writeD(_monsters[i].getTemplate().getDisplayId() + 1000000); // npcID
|
||||
packet.writeD(14107); // origin X
|
||||
packet.writeD(181875 + (58 * (7 - i))); // origin Y
|
||||
packet.writeD(-3566); // origin Z
|
||||
|
Loading…
Reference in New Issue
Block a user