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
|
||||
@Override
|
||||
public String yieldKey() {
|
||||
if ( getTrigger() != null ) {
|
||||
if ( getHostCard() != null ) {
|
||||
return getHostCard().toString() + ": " + getTrigger().toString();
|
||||
} else {
|
||||
return getTrigger().toString();
|
||||
}
|
||||
} else {
|
||||
return super.yieldKey();
|
||||
}
|
||||
if (getTrigger() != null) {
|
||||
if (getHostCard() != null) {
|
||||
return getHostCard().toString() + ": " + getTrigger().toString();
|
||||
} else {
|
||||
return getTrigger().toString();
|
||||
}
|
||||
} else {
|
||||
return super.yieldKey();
|
||||
}
|
||||
}
|
||||
|
||||
// include triggering information so that different effects look different
|
||||
|
||||
Reference in New Issue
Block a user