Преглед на файлове

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;


Зареждане…
Отказ
Запис