Start mobequip refactor
This commit is contained in:
1 parent
0590ae64e7
commit
61c4cb1361
56 files changed
+198
-377
No files matched your search
@@ -127,9 +127,10 @@ public class MobBase extends AbstractGameObject {
|
||||
for (BootySetEntry equipmentSetEntry : equipList) {
|
||||
|
||||
Item item = new Item(equipmentSetEntry.templateID);
|
||||
item.objectUUID = MobLoot.lastNegativeID.decrementAndGet();
|
||||
item.drop_chance = equipmentSetEntry.dropChance;
|
||||
|
||||
equip.put(item.slot, Item);
|
||||
item.equipSlot = item.template.item_eq_slots_or.iterator().next();
|
||||
equip.put(item.equipSlot, item);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user