Browse Source

Merge branch 'bug-mob-equipment' into 'master'

AutoEquip items generated for mobs

See merge request !2
tags/v0.1.2
Big Bad Waffle 7 years ago
parent
commit
fc904fd3ba
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