| ... | ... | @@ -42,6 +42,8 @@ console.log(dotSyntax('$variable.variable2')) | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> **effectIndex**
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> **effectIndex**
 | 
| 
 | 
 | 
> **effectIndex**
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Global Variables
 | 
| 
 | 
 | 
 | 
| ... | ... | @@ -51,10 +53,39 @@ console.log(dotSyntax('$variable.variable2')) | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## Helper Functions
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> clientUpdateCard(*thisMatch*, *ciid*)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
*ciid* parameter
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
A number that is a ciid.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> **otherPlayer(*playerNumber*)**
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
In games with 2 players, get the playerNumber of the other player. Returns either string `"player1"` or `"player2"`
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> getIndexFromEffectName(*effectName*, *context*)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
Returns index as number.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
*effectName* parameter
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
A string that is the name of the effect. Typically saved by assign variable. Should be in either `_effectTriggers` or `_effectNames`.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
*context* parameter
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
Optional. Default thisCard.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> runEffectFromAnotherAction(*effect*, *callback*)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
*effect* parameter
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
A string that evaluates to an effectIndex or an array of effectIndexes.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
*callback* parameter
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
Optional.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> **runEffect(*thisMatch*, *options*, *callback*)**
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
*thisMatch* parameter
 | 
| ... | ... | @@ -90,7 +121,7 @@ Optional. Create an additional property on thisCard in the form of `effect-${eff | 
| 
 | 
 | 
 | 
| 
 | 
 | 
Checks to see if there's math that can be done. If there is, do the math and return a number. Otherwise return the string.
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
> dotSyntax(**string**)
 | 
| 
 | 
 | 
> dotSyntax(*string*)
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
Like parseVariable but works with dot syntax.
 | 
| 
 | 
 | 
 | 
| ... | ... |  |