This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
combat-magic [2021/10/26 21:01] naaira [Targets in Range] |
combat-magic [2023/02/07 18:06] (current) tlagnoj [Combat Magic Workflow] |
||
---|---|---|---|
Line 1: | Line 1: | ||
======Combat Magic====== | ======Combat Magic====== | ||
- | Battle magic can only be cast during a tactical battle. | + | Battle |
Some battle spells affect the whole battlefield and are termed [[battle enchantment]]s. | Some battle spells affect the whole battlefield and are termed [[battle enchantment]]s. | ||
Line 9: | Line 9: | ||
- The game checks if any potential targets are within range. | - The game checks if any potential targets are within range. | ||
- The mage's current path level is checked to determine if the mage is able to cast the spell at all. | - The mage's current path level is checked to determine if the mage is able to cast the spell at all. | ||
- | - If the spell requires [[gems]], those are spent. If the mage has additional gems those may be spent to help cast the spell. | + | - If the spell requires [[gems]], those are spent. If the mage has additional gems those may be spent to help cast the spell. The gems are consumed at the point of casting. |
- The casting point for the spell is calculated. It is approximately half the total casting time. | - The casting point for the spell is calculated. It is approximately half the total casting time. | ||
- If the mage takes damage before the casting point a check is made to determine if the spellcast was interrupted. | - If the mage takes damage before the casting point a check is made to determine if the spellcast was interrupted. | ||
Line 18: | Line 18: | ||
Certain spells have specific requirements to who they can affect. E.g. ??Dust to Dust?? only affects [[undead]] units within range. When attempting to cast a scripted spell, if no available targets are within range the mage will skip casting that spell. | Certain spells have specific requirements to who they can affect. E.g. ??Dust to Dust?? only affects [[undead]] units within range. When attempting to cast a scripted spell, if no available targets are within range the mage will skip casting that spell. | ||
- | When picking a target the mage will generally go for the square with the highest damage potential. This means that units with high hit points per square and no elemental resistances are more likely to be targeted by damage spells than other units. | + | When picking a target the mage will generally go for the square with the highest damage potential. This means that units with high [[units-attributes# |
* Note that the AI will regard units with high amounts of elemental resistance as being immune to spells of that damage type, even when they are clearly not. The AI might refuse to cast elemental damage spells if all possible targets have high elemental resistance. | * Note that the AI will regard units with high amounts of elemental resistance as being immune to spells of that damage type, even when they are clearly not. The AI might refuse to cast elemental damage spells if all possible targets have high elemental resistance. | ||
Line 36: | Line 36: | ||
* A mage may use additional gems to increase his level in that path further, but only for the purposes of reducing the fatigue incurred by spellcasting. For instance, an {{path> | * A mage may use additional gems to increase his level in that path further, but only for the purposes of reducing the fatigue incurred by spellcasting. For instance, an {{path> | ||
+ | {{template> | ||
- | <WRAP box 800px center> | ||
- | <WRAP column 120px rightalign> | ||
- | <WRAP column 120px rightalign> | ||
- | <WRAP column 120px rightalign> | ||
- | <WRAP column 120px rightalign> | ||
- | ------- | ||
- | Current level is the mage's basic path level + path boosts from [[items]], path boosting spells and being in a [[communion]] | ||
- | </ | ||
// | // | ||
* An {{path> | * An {{path> | ||
- | * An {{path>E3}} mage can cast it by spending {{gems> | + | * An {{path>E2}} mage can cast it by spending {{gems> |
* An {{path> | * An {{path> | ||
Line 68: | Line 61: | ||
* Others will cast their second spell right after ??Storm?? is up, and thus will be able to cast ??Thunder Strike??. | * Others will cast their second spell right after ??Storm?? is up, and thus will be able to cast ??Thunder Strike??. | ||
- | <WRAP column 35px>{{ : | + | <WRAP column 35px>{{ : |
- | <WRAP column 35px>{{ : | + | <WRAP column 35px>{{ : |
==== Interrupts ==== | ==== Interrupts ==== | ||
Line 82: | Line 75: | ||
</ | </ | ||
- | <WRAP group>< | + | <WRAP group>< |
<WRAP column 55px centeralign> | <WRAP column 55px centeralign> | ||
==== Spell effect resolution ==== | ==== Spell effect resolution ==== | ||
- | When a spell has been succesfully cast the spell' | + | When a spell has been succesfully cast the spell' |
- | The method for resolving | + | ==== Fatigue ==== |
- | * Many spells have 100 Precision, intended | + | Just like attacking in combat, casting spells in battle |
+ | * Each spell has a listed fatigue cost which a caster incurs when casting that spell. | ||
+ | * In other words, having an extra skill level means the mage suffers only half fatigue. | ||
+ | * Two extra skill levels means he suffers only 1/3 as much. | ||
+ | * Three extra is ¼, and so forth. | ||
+ | * Spellcasters also incur fatigue equal to their base [[Encumbrance]] value + 2 x Encumbrance value of any armor worn for each spell cast. This is not subject to reduction by skill bonuses. | ||
+ | * Finally there is a random component that might increase | ||
- | + | Various factors may affect this basic calculation: | |
- | * Some spells (like ??Acid Bolt??) are [[armor piercing]]. | + | * Fighting in Cold or Heat without Cold or Fire resistance gives a penalty to encumbrance. |
- | * Some other spells | + | * Casting in Drain scales adds 10% per scale to the fatigue cost of the spell. Correspondingly Magic scales reduce the fatigue cost by 10% per scale. |
- | * Other spells require their caster to make a successful [[magic resistance]] check in order for some or all effects to apply. | + | * Some effects might incur a fatigue penalty to spellcasters. Most notably Fire spells |
- | Spell range is measured in squares. Diagonals have a cost of 1.5 tiles. | + | {{template> |
- | ==== Fatigue ==== | + | Spells |
- | Just like attacking in combat, casting spells in battle incurs [[fatigue]]. | + | |
- | + | ||
- | Spell casters also incur fatigue equal to their base Encumbrance value + 2x Encumbrance value of any armor worn for each spell cast. This is not subject to reduction by skill bonuses. | + | |
- | Fatigue is very important for spell casters. It is often the limiting factor in combat, | + | <WRAP column 35px>{{ : |
+ | ===== Communions ===== | ||
+ | Joining a communion significantly changes spellcasting in different ways. It boosts | ||
- | <WRAP box 800px center> | + | {{template>magicindex}} |
- | <WRAP column 120px rightalign> | + | |
- | + Base [[Encumbrance]] \\ | + | |
- | + 2 x Armor [[Encumbrance]] value \\ | + | |
- | + [[Scales]] modifiers | + | |
- | </ | + |