mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
gor_muldrak_amphinologist.txt and support
This commit is contained in:
@@ -227,8 +227,7 @@ public class PlayerProperty {
|
||||
final String[] type = property.substring(8).split("_");
|
||||
final CardCollectionView list = CardLists.getValidCards(player.getCardsIn(ZoneType.Battlefield), type[0], sourceController, source);
|
||||
String comparator = type[1];
|
||||
String compareTo = comparator.substring(2);
|
||||
int y = StringUtils.isNumeric(compareTo) ? Integer.parseInt(compareTo) : 0;
|
||||
int y = AbilityUtils.calculateAmount(source, comparator.substring(2), null);
|
||||
if (!Expressions.compare(list.size(), comparator, y)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
11
forge-gui/res/cardsfolder/upcoming/gor_muldrak_amphinologist.txt
Executable file
11
forge-gui/res/cardsfolder/upcoming/gor_muldrak_amphinologist.txt
Executable file
@@ -0,0 +1,11 @@
|
||||
Name:Gor Muldrak, Amphinologist
|
||||
ManaCost:1 G U
|
||||
Types:Legendary Creature Human Scout
|
||||
PT:3/2
|
||||
S:Mode$ Continuous | Affected$ You,Permanent.YouCtrl | AddKeyword$ Protection from Salamanders | Description$ You and permanents you control have protection from Salamanders.
|
||||
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRepeat | TriggerDescription$ At the beginning of your end step, each player who controls the fewest creatures creates a 4/3 blue Salamander Warrior creature token.
|
||||
SVar:TrigRepeat:DB$ RepeatEach | RepeatSubAbility$ TrigToken | RepeatPlayers$ Player.controlsCreature_EQX | References$ X
|
||||
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_4_3_salamander_warrior | TokenOwner$ Player.IsRemembered
|
||||
SVar:X:PlayerCountPlayers$LowestValid Creature.YouCtrl
|
||||
AI:RemoveDeck:All
|
||||
Oracle:You and permanents you control have protection from Salamanders.\nAt the beginning of your end step, each player who controls the fewest creatures creates a 4/3 blue Salamander Warrior creature token.
|
||||
Reference in New Issue
Block a user