- summary: Which property of a spell a SpellModifier changes: range, AP cost, damage, line of sight...
- area: Game.Common
Which property of a spell a SpellModifier changes: range, AP cost, damage, line of sight...
Kind enum · Area Game.Common
The modifier_type of SpellModifier: which property of the spell the modifier changes.
HOW TO READ IT
1. Look the value up below. Most values change a number of the spell's level data (range, AP cost, casts per turn...); the others switch a casting rule (line of sight, cast in a line, free or occupied target cell...). 2. For AP_COST and CAST_INTERVAL a BOOST lowers the value: the client subtracts the boost instead of adding it. 3. Two values have no known name (19 and 20 on 3.7). The client applies 20 to the spell's critical-hit damage bonus (SpellLevelData.criticalHitBonus).
Not sent on its own — an enum is never sent on its own. inferred
Used by
Values
| Value | Number | Meaning |
|---|---|---|
INVALID_MODIFICATION | 0 | No modification. |
RANGE | 1 | Range. |
DAMAGE | 2 | Damage. |
BASE_DAMAGE | 3 | Base damage. |
HEAL_BONUS | 4 | Heal bonus. |
AP_COST | 5 | AP cost; a boost LOWERS it. The client applies it to SpellLevelData.apCost, and inverts the sign of boosts for it. |
CAST_INTERVAL | 6 | Interval between casts; a boost LOWERS it. The client inverts the sign of boosts for it, as for AP_COST. |
CRITICAL_HIT_BONUS | 7 | Critical-hit chance. The client applies it to SpellLevelData.criticalHitProbability. |
CAST_LINE | 8 | Cast in a line. |
LOS | 9 | Line of sight. The client applies it to SpellLevelData.castTestLos. |
MAX_CAST_PER_TURN | 10 | Casts per turn. The client applies it to SpellLevelData.maxCastPerTurn. |
MAX_CAST_PER_TARGET | 11 | Casts per target. |
RANGE_MAX | 12 | Maximum range. The client applies it to SpellLevelData.range (the spell's maximum range). |
RANGE_MIN | 13 | Minimum range. The client applies it to SpellLevelData.minRange. |
OCCUPIED_CELL | 14 | Occupied target cell. Named by beta's wire number; no client constant was seen for it. |
FREE_CELL | 15 | Free target cell. Named by beta's wire number; no client constant was seen for it. |
VISIBLE_TARGET | 16 | Visible target. Named by beta's wire number; no client constant was seen for it. |
PORTAL_FREE_CELL | 17 | Free cell for a portal. Named by beta's wire number; no client constant was seen for it. |
PORTAL_PROJECTION | 18 | Portal projection. Named by beta's wire number; no client constant was seen for it. |