Fixed not having the boost and giving haste

The code for this needs to be like Avacyn's Collar, Blight Sickle, Kitesail, and Viridian Claw.
This commit is contained in:
jmharmon 2019-09-04 23:05:38 -07:00 committed by GitHub
parent 37cb998619
commit 6158fdf50b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,10 +27,8 @@ public final class CrystalSlipper extends CardImpl {
this.subtype.add(SubType.EQUIPMENT); this.subtype.add(SubType.EQUIPMENT);
// Equipped creature gets +1/+0 and has haste. // Equipped creature gets +1/+0 and has haste.
Ability ability = new SimpleStaticAbility(new BoostEquippedEffect(1, 0)); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(1, 0)));
ability.addEffect(new GainAbilityAttachedEffect( this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(HasteAbility.getInstance(), AttachmentType.EQUIPMENT)));
HasteAbility.getInstance(), AttachmentType.EQUIPMENT).setText("and has haste")
);
// Equip {1} // Equip {1}
this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(1))); this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(1)));