Added condition hints for cards

This commit is contained in:
Oleg Agafonov 2019-02-05 02:43:13 +04:00
parent 13ed3c6dbd
commit 2a63314714
6 changed files with 105 additions and 15 deletions

View file

@ -248,7 +248,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
// extra hints
for (Ability ability : abilities) {
for (Hint hint : ability.getHints()) {
String s = hint.getText(game, objectId);
String s = hint.getText(game, ability);
if (s != null && !s.isEmpty()) {
rules.add(s);
}