-- Limit the number of times a shield can be extended, Bathe in Light also uses this code
-- The shield is removed instead of just blocking the extension to prevent scenarios such as maxing it out of combat then engaging, but there are likely better ways
ifshield.dur_extendedthen
shield.dur_extended=shield.dur_extended+1
ifshield.dur_extended>=20then
game.logPlayer(self,"#DARK_ORCHID#Your damage shield cannot be extended any farther and has exploded.")
self:removeEffect(self.EFF_DAMAGE_SHIELD)
end
elseshield.dur_extended=1end
end
end,
info=function(self,t)
...
...
@@ -73,7 +61,6 @@ newTalent{
localshieldflat=t.getShieldFlat(self,t)
return([[Infuse your weapon with the power of the Sun, adding %0.1f light damage on each melee hit.
Additionally, if you have a temporary damage shield active, melee hits will increase its power by %d once per turn.
If the same shield is refreshed 20 times it will become unstable and explode, removing it.
The damage dealt and shield bonus will increase with your Spellpower.]]):