mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Hunter's Prowess - Fixed that damage info was not set for effect leading to NPE.
This commit is contained in:
parent
d07c7b490b
commit
4255bd28e5
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class HuntersProwess extends CardImpl<HuntersProwess> {
|
|||
Effect effect = new BoostTargetEffect(3,3, Duration.EndOfTurn);
|
||||
effect.setText("Until end of turn, target creature gets +3/+3");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
Ability grantedAbility = new DealsCombatDamageToAPlayerTriggeredAbility(new HuntersProwessDrawEffect(), false);
|
||||
Ability grantedAbility = new DealsCombatDamageToAPlayerTriggeredAbility(new HuntersProwessDrawEffect(), false, true);
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(grantedAbility, Duration.EndOfTurn,
|
||||
"and gains trample and \"Whenever this creature deals combat damage to a player, draw that many cards.\""));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
|
||||
|
|
Loading…
Reference in a new issue