Commit d429d7e1d4272d32b235ce82d86886136eca02fd
1 parent
294e777b
Restrict "shield" subtype to effects that are affected by aegis, getShieldAmount…
…, getShieldDuration, etc.
Showing
1 changed file
with
4 additions
and
4 deletions
... | ... | @@ -367,7 +367,7 @@ newEffect{ |
367 | 367 | long_desc = function(self, eff) return ("The target is protected a raging storm deflecting up to %d instances of damage over %d."): |
368 | 368 | tformat(eff.blocks, eff.threshold) end, |
369 | 369 | type = "magical", |
370 | - subtype = { lightning=true, shield=true }, | |
370 | + subtype = { lightning=true}, | |
371 | 371 | status = "beneficial", |
372 | 372 | charges = function(self, eff) return math.floor(eff.blocks) end, |
373 | 373 | parameters = {threshold = 1, blocks = 1,}, |
... | ... | @@ -1332,7 +1332,7 @@ newEffect{ |
1332 | 1332 | desc = _t"Providence", |
1333 | 1333 | long_desc = function(self, eff) return ("The target is under protection, removing one negative effect per turn."):tformat() end, |
1334 | 1334 | type = "magical", |
1335 | - subtype = { light=true, shield=true }, | |
1335 | + subtype = { light=true}, | |
1336 | 1336 | status = "beneficial", |
1337 | 1337 | parameters = {}, |
1338 | 1338 | on_timeout = function(self, eff) |
... | ... | @@ -1795,7 +1795,7 @@ newEffect{ |
1795 | 1795 | desc = _t"Bone Shield", |
1796 | 1796 | long_desc = function(self, eff) return ("Any attacks doing more than %d%% of your life is reduced to %d%%."):tformat(eff.power, eff.power) end, |
1797 | 1797 | type = "magical", |
1798 | - subtype = { arcane=true, shield=true }, | |
1798 | + subtype = { arcane=true}, | |
1799 | 1799 | status = "beneficial", |
1800 | 1800 | parameters = { power=30 }, |
1801 | 1801 | on_gain = function(self, err) return _t"#Target# protected by flying bones.", _t"+Bone Shield" end, |
... | ... | @@ -5509,7 +5509,7 @@ newEffect{ |
5509 | 5509 | desc = _t"Dirge of Pestilence", |
5510 | 5510 | long_desc = function(self, eff) return ("The target will gain a shield upon suffering a detrimental effect"):tformat() end, |
5511 | 5511 | type = "magical", |
5512 | - subtype = { shield=true }, | |
5512 | + subtype = { dirge=true }, | |
5513 | 5513 | status = "beneficial", |
5514 | 5514 | parameters = { shield=50, cd=5 }, |
5515 | 5515 | callbackOnTemporaryEffectAdd = function(self, eff, eff_id, e_def, eff_incoming) | ... | ... |
-
Please register or login to post a comment