mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Formatting fix.
This commit is contained in:
@@ -192,15 +192,15 @@ public class WrappedAbility extends Ability {
|
|||||||
// key for autoyield - if there is a trigger use its description as the wrapper now has triggering information in its description
|
// key for autoyield - if there is a trigger use its description as the wrapper now has triggering information in its description
|
||||||
@Override
|
@Override
|
||||||
public String yieldKey() {
|
public String yieldKey() {
|
||||||
if ( getTrigger() != null ) {
|
if (getTrigger() != null) {
|
||||||
if ( getHostCard() != null ) {
|
if (getHostCard() != null) {
|
||||||
return getHostCard().toString() + ": " + getTrigger().toString();
|
return getHostCard().toString() + ": " + getTrigger().toString();
|
||||||
} else {
|
} else {
|
||||||
return getTrigger().toString();
|
return getTrigger().toString();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return super.yieldKey();
|
return super.yieldKey();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// include triggering information so that different effects look different
|
// include triggering information so that different effects look different
|
||||||
|
|||||||
Reference in New Issue
Block a user