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
feat: Added a way for aggro to set all objects in its list to a certain amount (instead of resetting)
tags/v0.12.0
Shaun
1 year ago
parent
008cda5385
commit
7a04469667
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/server/components/aggro.js
+ 6
- 0
src/server/components/aggro.js
View File
@@ -410,5 +410,11 @@ module.exports = {
isInCombat: function () {
return this.list.length > 0;
},
setAllAmounts: function (amount) {
this.list.forEach(l => {
l.amount = amount;
});
}
};
Write
Preview
Loading…
Cancel
Save