mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Asceticism - Fixed a bug that no real Hexproof ability was gained (this fixed the problem with the failing PhantasmalImageTest).
This commit is contained in:
parent
9d8d1409b2
commit
19ccd5bc23
4 changed files with 23 additions and 73 deletions
|
|
@ -98,7 +98,7 @@ public class BoostTargetEffect extends ContinuousEffectImpl<BoostTargetEffect> {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
int affectedTargets = 0;
|
||||
for (UUID permanentId : targetPointer.getTargets(game, source)) {
|
||||
Permanent target = (Permanent) game.getPermanent(permanentId);
|
||||
Permanent target = game.getPermanent(permanentId);
|
||||
if (target != null) {
|
||||
target.addPower(power.calculate(game, source));
|
||||
target.addToughness(toughness.calculate(game, source));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue