mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
docs: card hints usage improved
This commit is contained in:
parent
a7d49e1f45
commit
4ae5ca8421
2 changed files with 6 additions and 4 deletions
|
|
@ -11,10 +11,12 @@ import java.io.Serializable;
|
|||
public interface Hint extends Serializable {
|
||||
|
||||
// It's a constant hint for cards/permanents (e.g. visible all the time)
|
||||
// If you want to use a temporary hint for permanent then possible solutions availeable:
|
||||
// 1. Add card hint to gained ability (ability create code);
|
||||
//
|
||||
// Another solutions are possible:
|
||||
// 1. Add direct card hint to gained ability (ability create code);
|
||||
// 2. Add constant text: InfoEffect.addInfoToPermanent
|
||||
// 3. Add dynamic card hint: InfoEffect.addCardHintToPermanent
|
||||
// 3. Add dynamic text: InfoEffect.addCardHintToPermanent
|
||||
// 4. Add direct text to the rules: permanent.addInfo, card.addInfo
|
||||
|
||||
// TODO: add card hint for ActivateIfConditionActivatedAbility
|
||||
// * remove my turn condition from cards construction
|
||||
|
|
|
|||
|
|
@ -1121,7 +1121,7 @@ public final class CardUtil {
|
|||
return rules;
|
||||
}
|
||||
|
||||
// debug state
|
||||
// additional effect's info from card.addInfo methods
|
||||
rules.addAll(game.getState().getCardState(cardId).getInfo().values());
|
||||
|
||||
// ability hints
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue