Shaun 3 лет назад
Родитель
Сommit
bc1ab9596c
1 измененных файлов: 5 добавлений и 0 удалений
  1. +5
    -0
      src/server/mods/class-necromancer/spells/spellSummonSkeleton.js

+ 5
- 0
src/server/mods/class-necromancer/spells/spellSummonSkeleton.js Просмотреть файл

@@ -15,6 +15,8 @@ module.exports = {
killMinionsOnDeath: true,
minionsDieOnAggroClear: false,

maxSummon: 1,

minions: [],

name: 'Skeletal Minion',
@@ -32,6 +34,9 @@ module.exports = {
if (this.killMinionsBeforeSummon)
this.killMinions();

if (this.minions.length >= this.maxSummon)
return false;

let obj = this.obj;
let target = action.target;



Загрузка…
Отмена
Сохранить