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: The aggro component can now receive a range to override the default range of 7
tags/v0.12.0.22
Shaun
9 months ago
parent
79d8d51c6f
commit
b62661dc82
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/server/components/aggro.js
+ 3
- 0
src/server/components/aggro.js
View File
@@ -29,6 +29,9 @@ module.exports = {
if (blueprint.faction)
this.faction = blueprint.faction;
if (blueprint.range)
this.range = blueprint.range;
//TODO: Why don't we move if faction is null?
if (!this.has('faction'))
return;
Write
Preview
Loading…
Cancel
Save