effects1.add(new BoostControlledEffect(1, 1, Duration.EndOfTurn));
effects1.add(new GainAbilityControlledEffect(HasteAbility.getInstance(), Duration.EndOfTurn, FilterCreaturePermanent.getDefault()));
this.addAbility(new LoyaltyAbility(effects1, 1));
Effects effects2 = new Effects();
effects2.add(new GainControlTargetEffect(Duration.EndOfTurn));
effects2.add(new UntapTargetEffect());
effects2.add(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
LoyaltyAbility ability = new LoyaltyAbility(effects2, -2);
ability.addTarget(new TargetCreaturePermanent());