forked from External/mage
Refactor: Add proper support for modifying and querying base P/T (#9409)
This commit is contained in:
parent
d83eb41073
commit
07a142c9e8
415 changed files with 1844 additions and 2095 deletions
|
|
@ -130,8 +130,8 @@ public class CopyEffect extends ContinuousEffectImpl {
|
|||
// Primal Clay example:
|
||||
// If a creature that’s already on the battlefield becomes a copy of this creature, it copies the power, toughness,
|
||||
// and abilities that were chosen for this creature as it entered the battlefield. (2018-03-16)
|
||||
permanent.getPower().setValue(copyFromObject.getPower().getBaseValueModified());
|
||||
permanent.getToughness().setValue(copyFromObject.getToughness().getBaseValueModified());
|
||||
permanent.getPower().setModifiedBaseValue(copyFromObject.getPower().getModifiedBaseValue());
|
||||
permanent.getToughness().setModifiedBaseValue(copyFromObject.getToughness().getModifiedBaseValue());
|
||||
permanent.setStartingLoyalty(copyFromObject.getStartingLoyalty());
|
||||
if (copyFromObject instanceof Permanent) {
|
||||
Permanent targetPermanent = (Permanent) copyFromObject;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue