forked from External/mage
* [AFR] Implemented DiceRolledTriggeredAbility * [AFR] Implemented Brazen Dwarf * [AFR] Implemented Feywild Trickster * [AFC] Implemented Reckless Endeavor * [AFR] Implemented Pixie Guide * [AFR] Implemented Critical Hit * [AFR] Implemented Netherese Puzzle Ward * [AFC] Implemented Neverwinter Hydra * [AFR] Implemented Farideh, Devil's Chosen * [AFR] Implemented Barbarian Class * [AFC] Implemented Vrondiss, Rage of Ancients * [AFC] Implemented Arcane Endeavor * Test framework: added planar die rolls support * Test framework: added random results set up support in AI simulated games; * AI: improved roll die results chooses in computer games; * Roll die: improved combo support for planar die and roll die effects; Co-authored-by: Daniel Bomar <dbdaniel42@gmail.com> Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
29 lines
573 B
Java
29 lines
573 B
Java
package mage.constants;
|
|
|
|
/**
|
|
*
|
|
* @author spjspj
|
|
*/
|
|
public enum PlanarDieRollResult {
|
|
|
|
BLANK_ROLL("Blank Roll", 0),
|
|
CHAOS_ROLL("Chaos Roll", 2),
|
|
PLANAR_ROLL("Planar Roll", 1);
|
|
|
|
private final String text;
|
|
private final int aiPriority; // priority for AI usage (0 - lower, 2 - higher)
|
|
|
|
PlanarDieRollResult(String text, int aiPriority) {
|
|
this.text = text;
|
|
this.aiPriority = aiPriority;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return text;
|
|
}
|
|
|
|
public int getAIPriority() {
|
|
return aiPriority;
|
|
}
|
|
}
|