mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
- Fixed Khalni Ambush
- Added Effect hint for FightTargetsEffect - Added test for FightTargetsEffect hint to VerifyCardDataTest (for #6728)
This commit is contained in:
parent
ead1c359c5
commit
ffa05bf9db
38 changed files with 104 additions and 56 deletions
|
|
@ -16,8 +16,15 @@ import java.util.UUID;
|
|||
*/
|
||||
public class FightTargetsEffect extends OneShotEffect {
|
||||
|
||||
protected boolean showEffectHint;
|
||||
|
||||
public FightTargetsEffect() {
|
||||
super(Outcome.Damage);
|
||||
this(true);
|
||||
}
|
||||
|
||||
public FightTargetsEffect(boolean showEffectHint) {
|
||||
super(Outcome.Benefit);
|
||||
this.showEffectHint = showEffectHint;
|
||||
}
|
||||
|
||||
public FightTargetsEffect(final FightTargetsEffect effect) {
|
||||
|
|
@ -80,6 +87,12 @@ public class FightTargetsEffect extends OneShotEffect {
|
|||
if(!target.getTargetName().contains("other")){
|
||||
sb.append("target ");
|
||||
}
|
||||
sb.append(target.getTargetName());return sb.toString();
|
||||
sb.append(target.getTargetName());
|
||||
|
||||
if (showEffectHint) {
|
||||
sb.append(". <i>(Each deals damage equal to its power to the other.)</i>");
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue