mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
* Explore abilities - fixed wrong ability hint text in some cards like Jadelight Ranger (#6958, #6986);
This commit is contained in:
parent
5831ba81fc
commit
615fba5a72
2 changed files with 6 additions and 7 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package mage.abilities.effects.keyword;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.cards.Card;
|
||||
|
|
@ -14,8 +13,9 @@ import mage.game.events.GameEvent;
|
|||
import mage.game.permanent.Permanent;
|
||||
import mage.players.Player;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801, JayDi85
|
||||
*/
|
||||
public class ExploreSourceEffect extends OneShotEffect {
|
||||
|
|
@ -61,6 +61,7 @@ public class ExploreSourceEffect extends OneShotEffect {
|
|||
public ExploreSourceEffect(boolean showAbilityHint, String whosExplores) {
|
||||
super(Outcome.Benefit);
|
||||
|
||||
this.showAbilityHint = showAbilityHint;
|
||||
if (whosExplores != null) {
|
||||
this.sourceName = whosExplores;
|
||||
}
|
||||
|
|
@ -71,7 +72,6 @@ public class ExploreSourceEffect extends OneShotEffect {
|
|||
super(effect);
|
||||
this.showAbilityHint = effect.showAbilityHint;
|
||||
this.sourceName = effect.sourceName;
|
||||
setText();
|
||||
}
|
||||
|
||||
private void setText() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue