|
|
|
@ -422,7 +422,6 @@ public class ManageNPCMsg extends ClientNetMsg {
@@ -422,7 +422,6 @@ public class ManageNPCMsg extends ClientNetMsg {
|
|
|
|
|
writer.putInt(rollableSet.size()); |
|
|
|
|
|
|
|
|
|
for (int templateID : rollableSet) { |
|
|
|
|
ItemBase item = ItemBase.getItemBase(templateID); |
|
|
|
|
ItemTemplate template = ItemTemplate.templates.get(templateID); |
|
|
|
|
writer.put((byte) 1); |
|
|
|
|
writer.putInt(0); |
|
|
|
@ -430,10 +429,10 @@ public class ManageNPCMsg extends ClientNetMsg {
@@ -430,10 +429,10 @@ public class ManageNPCMsg extends ClientNetMsg {
|
|
|
|
|
writer.putInt(template.item_value); |
|
|
|
|
writer.putInt(600); |
|
|
|
|
writer.put((byte) 1); |
|
|
|
|
writer.put((byte) item.getModTable()); |
|
|
|
|
writer.put((byte) item.getModTable()); |
|
|
|
|
writer.put((byte) item.getModTable()); |
|
|
|
|
writer.put((byte) item.getModTable());//EffectItemType
|
|
|
|
|
writer.put((byte) template.modTable); |
|
|
|
|
writer.put((byte) template.modTable); |
|
|
|
|
writer.put((byte) template.modTable); |
|
|
|
|
writer.put((byte) template.modTable);//EffectItemType
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
List<MobLoot> itemList = npc.getRolling(); |
|
|
|
|