Commit 580703fc85ab398ea0a018f63223af8090b48894

Authored by K'van
1 parent 9bc5bbe9

Restrict "shield" subtype to effects with a limited damage absorption total.

... ... @@ -3664,7 +3664,7 @@ newEffect{
3664 3664 desc = _t"Stone Link",
3665 3665 long_desc = function(self, eff) return ("The target protects all those around it in radius %d by redirecting all damage against them to itself."):tformat(eff.rad) end,
3666 3666 type = "physical",
3667   - subtype = { earth=true, shield=true },
  3667 + subtype = { earth=true },
3668 3668 status = "beneficial",
3669 3669 parameters = { rad=3 },
3670 3670 on_gain = function(self, err) return ("#Target# begins protecting %s friends with a stone shield."):tformat(string.his_her(self)), _t"+Stone Link" end,
... ... @@ -3693,7 +3693,7 @@ newEffect{
3693 3693 desc = _t"Stone Link",
3694 3694 long_desc = function(self, eff) return ("The target is protected by %s, redirecting all damage to it."):tformat(eff.src:getName()) end,
3695 3695 type = "physical",
3696   - subtype = { earth=true, shield=true },
  3696 + subtype = { earth=true },
3697 3697 status = "beneficial",
3698 3698 parameters = { },
3699 3699 on_gain = function(self, err) return _t"#Target# is protected by a stone shield.", _t"+Stone Link" end,
... ...