mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
* Xenagos, God of Revels - Fixed that it gave the toughness to the toughness instead of the power.
This commit is contained in:
parent
a1dc4ec5b3
commit
f85c28b70a
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class XenagosGodOfRevelsEffect extends OneShotEffect<XenagosGodOfRevelsEffect> {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
Permanent targetCreature = game.getPermanent(getTargetPointer().getFirst(game, source));
|
Permanent targetCreature = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||||
if (targetCreature != null) {
|
if (targetCreature != null) {
|
||||||
ContinuousEffect effect = new BoostTargetEffect(targetCreature.getPower().getValue(), targetCreature.getToughness().getValue(), Duration.EndOfTurn);
|
ContinuousEffect effect = new BoostTargetEffect(targetCreature.getPower().getValue(), targetCreature.getPower().getValue(), Duration.EndOfTurn);
|
||||||
effect.setTargetPointer(this.getTargetPointer());
|
effect.setTargetPointer(this.getTargetPointer());
|
||||||
game.addEffect(effect, source);
|
game.addEffect(effect, source);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue