damage-formula
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
damage-formula [2023/03/30 07:56] – banerjeesw | damage-formula [2025/01/27 23:04] (current) – [Damage Formula] isiahgames | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Damage Formula ====== | ====== Damage Formula ====== | ||
- | Using [[plugin-core|IsiahCardGameCombat]] in your project adds these new variables are available to the damage calculation formula: | + | Using [[plugin-core|MYTH_CGC_CoreEngine]] in your project adds these new variables are available to the damage calculation formula: |
| **handSize** | | **handSize** | ||
Line 17: | Line 17: | ||
===== Card Types ===== | ===== Card Types ===== | ||
- | If you have [[plugin-card-types|IsiahCGCCardTypes]], you also have access to this function: | + | If you have [[plugin-card-types|MYTH_CGC_CardTypes]], you also have access to this function: |
< | < | ||
Line 24: | Line 24: | ||
This function will tell you how many cards of the specified type are in the specified zone. So if your damage formula says: | This function will tell you how many cards of the specified type are in the specified zone. So if your damage formula says: | ||
- | < | + | < |
Then the damage dealt will be equal to 10 times the amount of Zombie cards currently in the player’s discard. | Then the damage dealt will be equal to 10 times the amount of Zombie cards currently in the player’s discard. | ||
This function can be used just like the variables in the last section for the **Require** keyword. | This function can be used just like the variables in the last section for the **Require** keyword. | ||
- |
damage-formula.1680155770.txt.gz · Last modified: 2023/03/30 07:56 by banerjeesw