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
modding
#1983
: New object event: afterFollowerDeath
tags/v0.12.0
Shaun
1 year ago
parent
57e2f3aa76
commit
8b8d804b9b
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
src/server/components/follower.js
+ 9
- 0
src/server/components/follower.js
View File
@@ -169,5 +169,14 @@ module.exports = {
type: 'follower',
master: this.master.id
};
},
events: {
afterDeath: function (deathEvent) {
this.master.fireEvent('afterFollowerDeath', {
deathEvent,
master: this.master
});
}
}
};
Write
Preview
Loading…
Cancel
Save