mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Some minor changes.
This commit is contained in:
parent
11fb2412cb
commit
1b45c997aa
2 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
package mage.sets.bornofthegods;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.DelayedTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
|
@ -162,6 +163,7 @@ class SearingBloodDelayedEffect extends OneShotEffect {
|
|||
if (permanent != null) {
|
||||
Player player = game.getPlayer(permanent.getControllerId());
|
||||
if (player != null) {
|
||||
MageObject sourceObject = source.getSourceObject(game);
|
||||
player.damage(3, source.getSourceId(), game, false, true);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1628,6 +1628,9 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
MageObject source = game.getPermanentOrLKIBattlefield(sourceId);
|
||||
if (source == null) {
|
||||
source = game.getObject(sourceId);
|
||||
if (source instanceof Card && !CardUtil.isPermanentCard((Card)source)) {
|
||||
source = game.getLastKnownInformation(sourceId, Zone.STACK);
|
||||
}
|
||||
if (source instanceof Spell) {
|
||||
sourceControllerId = ((Spell) source).getControllerId();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue