forked from External/mage
[AFR] Implementing Class enchantments (ready for review) (#7992)
* [AFR] Implemented Druid Class * [AFR] Implemented Wizard Class * [AFR] Implemented Cleric Class * [AFR] Implemented Fighter Class * reworked class ability implementation * fixed an error with setting class level * small reworking of class triggers * added class level hint * added tests * small change * added common class for reminder text
This commit is contained in:
parent
d00765c2d5
commit
5b88484cb6
17 changed files with 884 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.MageObjectReference;
|
||||
import mage.abilities.TriggeredAbilityImpl;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.constants.Zone;
|
||||
|
|
@ -64,6 +65,7 @@ public class AttacksCreatureYouControlTriggeredAbility extends TriggeredAbilityI
|
|||
if (setTargetPointer) {
|
||||
this.getEffects().setTargetPointer(new FixedTarget(event.getSourceId(), game));
|
||||
}
|
||||
this.getEffects().setValue("attackerRef", new MageObjectReference(sourcePermanent, game));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue