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/27 21:52] naaira [Fatigue] |
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 101: | Line 101: | ||
===== Communions ===== | ===== Communions ===== | ||
Joining a communion significantly changes spellcasting in different ways. It boosts the path level of communion masters and spreads the fatigue cost between masters and slaves. Please refer to the [[Communions]] page for an in-depth explanation. | Joining a communion significantly changes spellcasting in different ways. It boosts the path level of communion masters and spreads the fatigue cost between masters and slaves. Please refer to the [[Communions]] page for an in-depth explanation. | ||
+ | |||
+ | {{template> |