mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -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
|
|
@ -107,8 +107,9 @@ class SaskiaTheUnyieldingEffect extends OneShotEffect {
|
|||
Player player = game.getPlayer(playerId);
|
||||
if (player != null && player.canRespond()) {
|
||||
Integer damage = (Integer) this.getValue("damage");
|
||||
if (damage > 0) {
|
||||
player.damage(damage, source.getSourceId(), game, false, true);
|
||||
UUID sourceId = (UUID) this.getValue("sourceId");
|
||||
if (sourceId != null && damage > 0) {
|
||||
player.damage(damage, sourceId, game, false, true);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue