Commit a75e0ce3088026bbf991cb63c54e64906f7ae5a1
1 parent
e1ab7e1a
Discarded Refuse can only be used in combat, unsustains when out of combat and s…
…ustain cost is changed to a casting cost. It is not meant to be left on but to be used as a cooldown
Showing
1 changed file
with
7 additions
and
4 deletions
... | ... | @@ -370,19 +370,22 @@ newTalent{ |
370 | 370 | require = spells_req4, |
371 | 371 | points = 5, |
372 | 372 | mode = "sustained", |
373 | - sustain_mana = 40, | |
373 | + mana = 40, | |
374 | 374 | soul = 1, |
375 | - cooldown = function(self, t) return math.ceil(self:combatTalentLimit(t, 15, 40, 20)) end, | |
375 | + cooldown = function(self, t) return math.ceil(self:combatTalentLimit(t, 15, 35, 15)) end, | |
376 | 376 | tactical = { CURE = 1 }, |
377 | 377 | range = 10, |
378 | 378 | no_energy = true, |
379 | 379 | target = function(self, t) return {type="hit", range=self:getTalentRange(t)} end, |
380 | - on_pre_use = function(self, t) return necroArmyStats(self).nb_ghoul > 0 end, | |
380 | + on_pre_use = function(self, t) return necroArmyStats(self).nb_ghoul > 0 and self.in_combat end, | |
381 | 381 | callbackOnActBase = function(self, t) |
382 | 382 | if necroArmyStats(self).nb_ghoul == 0 then |
383 | 383 | self:forceUseTalent(t.id, {ignore_energy=true}) |
384 | 384 | end |
385 | 385 | end, |
386 | + callbackOnCombat = function(self, t, state) | |
387 | + if state == false then self:forceUseTalent(t.id, {ignore_energy=true}) end | |
388 | + end, | |
386 | 389 | callbackOnTemporaryEffect = function(self, t, eff_id, e, p) |
387 | 390 | if e.status ~= "detrimental" then return end |
388 | 391 | if self.life < 1 then |
... | ... | @@ -414,7 +417,7 @@ newTalent{ |
414 | 417 | The ghoul dies from the process. |
415 | 418 | While under 1 life it also affects magical and mental effects. |
416 | 419 | Cross-tier effects are never affected. |
417 | - This spell will automatically unsustain if you have no more ghouls. | |
420 | + This spell can only be used in comabt and will automatically unsustain if you have no more ghouls or if you leave combat. | |
418 | 421 | ]]): |
419 | 422 | tformat() |
420 | 423 | end, | ... | ... |
-
Please register or login to post a comment