Commit 7b3d915130275824e367437188be83dd5dca280d

Authored by DarkGod
1 parent 3d81edd4

woops

... ... @@ -207,6 +207,13 @@ newTalent{
207 207 if self.disruption_shield_storage < 100 then self.disruption_shield_storage = 0 end
208 208 local max = t.getMaxAbsorb(self, t)
209 209 self.disruption_shield_power = math.min(self.disruption_shield_power + max / 10, max)
  210 +
  211 + local p = self:isTalentActive(t.id)
  212 + if p and p.was_depleted and core.shader.active(4) then
  213 + p.was_depleted = false
  214 + self:removeParticles(p.particle)
  215 + p.particle = self:addParticles(Particles.new("shader_shield", 1, {size_factor=1.4, img="runicshield"}, {type="runicshield", shieldIntensity=0.1, ellipsoidalFactor=1, scrollingSpeed=-1, time_factor=12000, bubbleColor={0.8, 0.1, 1.0, 0.8}, auraColor={0.85, 0.3, 1.0, 0.8}}))
  216 + end
210 217 end,
211 218 doLostMana = function(self, t, mana)
212 219 if (self:getMana() - mana) / self:getMaxMana() < 0.5 then
... ...