Skip to content

Commit

Permalink
Lion's shield should reset damage
Browse files Browse the repository at this point in the history
Otherwise it can interfere with other aftereffects rules. Fixes #385.
  • Loading branch information
VictorGijsbers committed Jun 8, 2016
1 parent e2401d1 commit fd7515d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1525,15 +1525,16 @@ The block bonus of the lion's shield is 4.

The description of the lion's shield is "A lion's head has been painted on this magnificent shield. It is extremely lifelike -- so lifelike, in fact, that it will bite your enemies if you successfully block a non-projectile attack. [italic type]Block bonus: +4. Deals 2 damage on a successful block[roman type].".

Aftereffects rule (this is the lion's shield rule):
Last aftereffects rule (this is the lion's shield rule):
if the global attacker came too close to the lion's shield:
if the total damage is 0:
deal 2 points of physical damage;
have lion's shield inflict damage on global attacker, silently;
if total damage is 0:
say "The lion on the shield strikes out, biting [the global attacker]. But the lion's teeth are not sharp enough to penetrate and do damage.";
otherwise:
say "The lion on the shield strikes out, and bites [the global attacker] for [bold type][total damage] damage[roman type][if health of global attacker is less than 1], which is [bold type]lethal[roman type][end if].".
say "The lion on the shield strikes out, and bites [the global attacker] for [bold type][total damage] damage[roman type][if health of global attacker is less than 1], which is [bold type]lethal[roman type][end if].";
now total damage is 0.

[we could maybe use "damage consequences" here, but we don't want redundant concentration-losing messages]

Expand Down

0 comments on commit fd7515d

Please sign in to comment.