mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Changed DiesAttachedTriggeredAbility.java to check if description has "equipped", if so, writes "Whenever" instead of "When"
resolves#6990 and fixes Malefic Scythe in #6643 Signed-off-by: Andre Cabaca <andre.cabaca24@gmail.com>
This commit is contained in:
parent
0565d32f55
commit
90cc44cacf
1 changed files with 8 additions and 1 deletions
|
@ -115,7 +115,14 @@ public class DiesAttachedTriggeredAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
StringBuilder sb = new StringBuilder("When ").append(attachedDescription);
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if(attachedDescription.startsWith("equipped")) {
|
||||
sb.append("Whenever ");
|
||||
}
|
||||
else {
|
||||
sb.append("When ");
|
||||
}
|
||||
sb.append(attachedDescription);
|
||||
if (diesRuleText) {
|
||||
sb.append(" dies, ");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue