Browse Source

AutoEquip items generated for mobs

Fixes Issue #5
tags/v0.1.2
Vildravn 7 years ago
parent
commit
aacc3c6ce1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/server/world/mobBuilder.js

+ 1
- 0
src/server/world/mobBuilder.js View File

@@ -129,6 +129,7 @@ define([
forceStats: [preferStat]
});
mob.inventory.getItem(item);
mob.equipment.autoEquip(item.id);
}, this);
} else {
//TODO: Don't give the mob these items: he'll drop them anyway


Loading…
Cancel
Save