瀏覽代碼

feat: The aggro component can now receive a range to override the default range of 7

tags/v0.12.0.22
Shaun 9 月之前
父節點
當前提交
b62661dc82
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      src/server/components/aggro.js

+ 3
- 0
src/server/components/aggro.js 查看文件

@@ -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;


Loading…
取消
儲存