This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
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
f434ec990e
aacc3c6ce1
commit
fc904fd3ba
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save