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