mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Saskia the Unyielding - Fixed that the damage source of the triggered ability was not the combat damage causing creature.
This commit is contained in:
parent
4b4aef8ed5
commit
7c7cebc048
2 changed files with 4 additions and 2 deletions
|
|
@ -80,6 +80,7 @@ public class DealsDamageToAPlayerAllTriggeredAbility extends TriggeredAbilityImp
|
|||
if (filter.match(permanent, getSourceId(), getControllerId(), game)) {
|
||||
for (Effect effect : this.getEffects()) {
|
||||
effect.setValue("damage", event.getAmount());
|
||||
effect.setValue("sourceId", event.getSourceId());
|
||||
switch (setTargetPointer) {
|
||||
case PLAYER:
|
||||
effect.setTargetPointer(new FixedTarget(permanent.getControllerId()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue