Skip to content

Attacks

spiritlake edited this page Aug 1, 2021 · 4 revisions

Attack spells equip a weapon and attack with it in the same round. This is meant for weapons which are 'single use'. IE, you should not cast Fireball and then do combat/attack with Fireball equipped in the next round (although the code will let you).

Configuration

Unlike most other spells, attack spells cannot have other effects such as stunning, healing, or debuffing. The attack is the entire effect. Any other configured effects simply will not trigger.

fs_attack: true

weapon: <weapon_name>

Be sure there is a weapon that matches weapon_name. See FS3 Special Configuration for more info on configuring FS3 weapons, armor, and specials for spells.

damage_type: <damage type>

Damage types affect which shields have a chance of blocking the attack or reducing its damage.

Mechanics

Attack spells:

  1. Roll for success - is the spell successfully cast? How much magic energy does it subtract?
  2. Roll the target's defensive skill to determine the attack's success - does the spell hit?
  3. Check to see whether a shield will block the attack.
  4. Determine damage done. If an applicable shield is in effect but it did not manage to block the attack entirely, it will reduce the damage.

Read more about Spell Success Mechanics.

Clone this wiki locally