You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In linux and mac, command line arguments are not currently passed through the sh script, please call `java -jar` manually, instead of the exe.
23
22
-`sim` - "Simulation Mode" forces Forge to not start the GUI and automatically runs the AI matches in command line. Enables all other switches for simulation mode.
24
23
-`-d <deck1[.dck]> ... <deckX[.dck]>` - Space separated list of deck files, in `-f` game type path. (For example; If `-f` is set to Commander, decks from `<userdata>/decks/commander/` will be searched. If `-f` is not set then default is `<userdata>/decks/constructed/`.) Names must use quote marks when they contain spaces.
25
24
-`deck1.dck` - Literal deck file name, when the value has ".dck" extension.
26
25
-`deck` - A meta deck name of a deck file.
27
26
-`-D [path]` - [path] is absolute directory path to load decks from. (Overrides path for `-d`.)
28
27
-`-n [N]` - [N] number of games, just flat test the AI multiple times. Default is 1.
29
28
-`-m [M]` - [M] number of matches, best of [M] matches. (Overrides -n) Recommended 1, 3, or 5. Default is 1.
30
-
-`-f [F]` - Runs [F] format of game. Default is "constructed" (other options may not work, list extracted from code)
29
+
-`-f [F]` - Runs [F] format of game. Default is "constructed"
31
30
-`Commander`
32
31
-`Oathbreaker`
33
32
-`TinyLeaders`
@@ -41,10 +40,9 @@ In linux and mac, command line arguments are not currently passed through the sh
41
40
-`Swiss` - See wikipedia for [Swiss Pairing Tournaments](https://en.wikipedia.org/wiki/Swiss-system_tournament)
42
41
-`-p [P]` - [P] number of players paired, only used in tournament mode. Default is 2.
43
42
-`-q` - Quiet Mode, only prints the result not the entire log.
43
+
-`-c [S]` - Clock flag, maximum time of [S] seconds before calling the match a draw. Default is 120.
44
44
45
45
## Examples
46
-
In linux and macos you must run forge by evoking java and calling the jar, currently command line parameters are not passed through the script. The forge jar filename is truncated in these examples from `forge-whatever-version-youre-on.jar` to `forge.jar`.
47
-
48
46
In Windows, if you use the EXE file as described below, the simulation runs in the background and output is sent to the forge log file only. If you want to have output to the console, please use the `java -jar` evocation of forge.
49
47
50
48
To simulate a basic three games of two decks (deck1 and deck2 must be meta deck names of decks in `<userdata>\decks\constructed\`):
@@ -55,10 +53,6 @@ To simulate a single 3-player Commander game (deck1, deck2, and deck3 must be me
Copy file name to clipboardExpand all lines: docs/Card-scripting-API/AbilityFactory.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -395,6 +395,12 @@ Parameters (all optional):
395
395
-`NumDef$` - pumps Toughness
396
396
-`KW$` - gives keywords
397
397
398
+
Due to its generic nature Pump is also the conventional "helper AF" when an effect requires more than one target with different restrictions, e.g. *Political Trickery*:
399
+
```
400
+
A:SP$ Pump | ValidTgts$ Land.YouCtrl | TgtPrompt$ Choose target land you control | SubAbility$ DBExchange | SpellDescription$ Exchange control of target land you control and target land an opponent controls. (This effect lasts indefinitely.)
401
+
SVar:DBExchange:DB$ ExchangeControl | Defined$ ParentTarget | ValidTgts$ Land.OppCtrl | TgtPrompt$ Choose target land an opponent controls
Copy file name to clipboardExpand all lines: docs/Card-scripting-API/Statics.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ By default `Affected-/EffectZone` are both Battlefield.
10
10
Here's an example for layer 7c:
11
11
`Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures you control get +1/+1.`
12
12
13
+
`CharacteristicDefining$ True`
14
+
13
15
See [StaticAbility.generateLayer()](https://github.com/Card-Forge/forge/blob/master/forge-game/src/main/java/forge/game/staticability/StaticAbility.java) for the full list of params on each Layer.
14
16
15
17
*Note:* Layer 1 is currently only implemented as a resolving effect instead.
Copy file name to clipboardExpand all lines: forge-gui/res/cardsfolder/a/abomination_of_llanowar.txt
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ K:Menace
7
7
S:Mode$ Continuous | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Elves you control plus the number of Elf cards in your graveyard.
8
8
SVar:X:Count$Valid Elf.YouCtrl/Plus.Y
9
9
SVar:Y:Count$ValidGraveyard Elf.YouOwn
10
-
SVar:NeedsToPlayVar:X GE1
11
10
SVar:BuffedBy:Elf
12
11
DeckNeeds:Type$Elf
13
12
Oracle:Vigilance; menace (This creature can't be blocked except by two or more creatures.)\nAbomination of Llanowar's power and toughness are each equal to the number of Elves you control plus the number of Elf cards in your graveyard.
0 commit comments