forked from External/mage
Fixed a problem with activated spells that could not be used but were used by AI and available mana calculation.
This commit is contained in:
parent
35c90f2dec
commit
3f882b73c4
9 changed files with 50 additions and 26 deletions
|
|
@ -138,8 +138,14 @@ public class BecomesCreatureAllEffect extends ContinuousEffectImpl {
|
|||
if (!"".equals(duration.toString())) {
|
||||
sb.append(duration.toString()).append(", ");
|
||||
}
|
||||
sb.append("all ");
|
||||
sb.append(filter.getMessage());
|
||||
sb.append(" become a ").append(token.getDescription());
|
||||
if ("".equals(duration.toString())) {
|
||||
sb.append(" are ");
|
||||
} else {
|
||||
sb.append(" become ");
|
||||
}
|
||||
sb.append(token.getDescription());
|
||||
if (type != null && type.length() > 0) {
|
||||
sb.append(". They are still ").append(type);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue