| ... | @@ -38,32 +38,32 @@ console.log(dotSyntax('$variable.variable2')) | ... | @@ -38,32 +38,32 @@ console.log(dotSyntax('$variable.variable2')) | 
|  |  |  |  | 
|  | ## Local Variables |  | ## Local Variables | 
|  |  |  |  | 
|  | #### **thisCard** #### |  | #### **thisCard** | 
|  |  |  |  | 
|  | #### **effectIndex** #### |  | #### **effectIndex** | 
|  |  |  |  | 
|  | #### **effectIndex** #### |  | #### **effectIndex** | 
|  | #### **effectIndex** #### |  | #### **effectIndex** | 
|  |  |  |  | 
|  | ## Global Variables |  | ## Global Variables | 
|  |  |  |  | 
|  | > |  | > | 
|  |  |  |  | 
|  | #### thisMatch #### |  | #### thisMatch | 
|  |  |  |  | 
|  | ## Helper Functions |  | ## Helper Functions | 
|  |  |  |  | 
|  | #### clientUpdateCard(*thisMatch*, *ciid*) #### |  | #### clientUpdateCard(*thisMatch*, *ciid*) | 
|  |  |  |  | 
|  | *ciid* parameter |  | *ciid* parameter | 
|  |  |  |  | 
|  | A number that is a ciid. |  | A number that is a ciid. | 
|  |  |  |  | 
|  | #### **otherPlayer(*playerNumber*)** #### |  | #### **otherPlayer(*playerNumber*)** | 
|  |  |  |  | 
|  | In games with 2 players, get the playerNumber of the other player. Returns either string `"player1"` or `"player2"` |  | In games with 2 players, get the playerNumber of the other player. Returns either string `"player1"` or `"player2"` | 
|  |  |  |  | 
|  | #### getIndexFromEffectName(*effectName*, *context*) #### |  | #### getIndexFromEffectName(*effectName*, *context*) | 
|  |  |  |  | 
|  | Returns index as number. |  | Returns index as number. | 
|  |  |  |  | 
| ... | @@ -76,7 +76,7 @@ A string that is the name of the effect. Typically saved by assign variable. Sho | ... | @@ -76,7 +76,7 @@ A string that is the name of the effect. Typically saved by assign variable. Sho | 
|  | Optional. Default thisCard. |  | Optional. Default thisCard. | 
|  |  |  |  | 
|  |  |  |  | 
|  | #### runEffectFromAnotherAction(*effect*, *callback*) #### |  | #### runEffectFromAnotherAction(*effect*, *callback*) | 
|  |  |  |  | 
|  | *effect* parameter |  | *effect* parameter | 
|  |  |  |  | 
| ... | @@ -86,7 +86,7 @@ A string that evaluates to an effectIndex or an array of effectIndexes. | ... | @@ -86,7 +86,7 @@ A string that evaluates to an effectIndex or an array of effectIndexes. | 
|  |  |  |  | 
|  | Optional. |  | Optional. | 
|  |  |  |  | 
|  | #### **runEffect(*thisMatch*, *options*, *callback*)** #### |  | #### **runEffect(*thisMatch*, *options*, *callback*)** | 
|  |  |  |  | 
|  | *thisMatch* parameter |  | *thisMatch* parameter | 
|  |  |  |  | 
| ... | @@ -103,13 +103,13 @@ Specify the match. Should always be "thisMatch". | ... | @@ -103,13 +103,13 @@ Specify the match. Should always be "thisMatch". | 
|  |  |  |  | 
|  | Optional. |  | Optional. | 
|  |  |  |  | 
|  | #### getIndexFromEffectName(*effectName*) #### |  | #### getIndexFromEffectName(*effectName*) | 
|  |  |  |  | 
|  | #### effectAfterAction()  #### |  | #### effectAfterAction() | 
|  |  |  |  | 
|  | Proceed to the effect completion. |  | Proceed to the effect completion. | 
|  |  |  |  | 
|  | #### assignTargetVariable(*target*, *key*)  #### |  | #### assignTargetVariable(*target*, *key*) | 
|  |  |  |  | 
|  | *target* parameter |  | *target* parameter | 
|  | This assigns the target to the line like the assign variable action. The target may be any number, string, object, function or array of ciids. |  | This assigns the target to the line like the assign variable action. The target may be any number, string, object, function or array of ciids. | 
| ... | @@ -117,15 +117,15 @@ This assigns the target to the line like the assign variable action. The target | ... | @@ -117,15 +117,15 @@ This assigns the target to the line like the assign variable action. The target | 
|  | *key* parameter |  | *key* parameter | 
|  | Optional. Create an additional property on thisCard in the form of `effect-${effects.effectName}Key`. |  | Optional. Create an additional property on thisCard in the form of `effect-${effects.effectName}Key`. | 
|  |  |  |  | 
|  | #### safeEvalInput(*string*) #### |  | #### safeEvalInput(*string*) | 
|  |  |  |  | 
|  | 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. |  | 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. |  | Like parseVariable but works with dot syntax. | 
|  |  |  |  | 
|  | #### stringVariableReplacement(*string*) #### |  | #### stringVariableReplacement(*string*) | 
|  |  |  |  | 
|  | With a string, replace any variables within. Uses dotSyntax. Example: |  | With a string, replace any variables within. Uses dotSyntax. Example: | 
|  |  |  |  | 
| ... | @@ -133,6 +133,6 @@ With a string, replace any variables within. Uses dotSyntax. Example: | ... | @@ -133,6 +133,6 @@ With a string, replace any variables within. Uses dotSyntax. Example: | 
|  | stringVariableReplacement("This card is called $title. It has an attack power of $atk and a health of $health.") |  | stringVariableReplacement("This card is called $title. It has an attack power of $atk and a health of $health.") | 
|  | ``` |  | ``` | 
|  |  |  |  | 
|  | #### effectSelectCard() #### |  | #### effectSelectCard() | 
|  |  |  |  | 
|  | Returns all possible choices based on the target |  | Returns all possible choices based on the target | 
|  |  |  | \ No newline at end of file |