Merge pull request #6991 from acabaca24/equipped_creature_dies_errata

Changed description of "when equipped creature dies"
This commit is contained in:
LevelX2 2020-08-27 08:50:05 +02:00 committed by GitHub
commit e32396bbb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {