[Y22] Implemented Soulstealer Axe

This commit is contained in:
Evan Kranzler 2022-03-01 17:55:19 -05:00
parent 07043c393c
commit a7fa431d19
3 changed files with 83 additions and 1 deletions

View file

@ -77,8 +77,8 @@ public class DealsDamageToAPlayerAttachedTriggeredAbility extends TriggeredAbili
|| p == null || !p.getAttachments().contains(this.getSourceId())) {
return false;
}
getEffects().setValue("damage", event.getAmount());
if (setFixedTargetPointer) {
getEffects().setValue("damage", event.getAmount());
getEffects().setTargetPointer(new FixedTarget(event.getPlayerId()));
}
return true;