mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Curse of Bloodletting: remove damage source filtering
This commit is contained in:
parent
7b584e17bf
commit
5cb2823e3d
1 changed files with 5 additions and 8 deletions
|
@ -97,8 +97,6 @@ class CurseOfBloodlettingEffect extends ReplacementEffectImpl<CurseOfBloodlettin
|
|||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
switch (event.getType()) {
|
||||
case DAMAGE_PLAYER:
|
||||
StackObject spell = game.getStack().getStackObject(event.getSourceId());
|
||||
if (spell != null) {
|
||||
Permanent enchantment = game.getPermanent(source.getSourceId());
|
||||
if (enchantment != null && enchantment.getAttachedTo() != null) {
|
||||
Player player = game.getPlayer(enchantment.getAttachedTo());
|
||||
|
@ -107,7 +105,6 @@ class CurseOfBloodlettingEffect extends ReplacementEffectImpl<CurseOfBloodlettin
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue