-
Notifications
You must be signed in to change notification settings - Fork 0
Required Code: custom_hooks.rb
aerrin99 edited this page May 26, 2022
·
2 revisions
See FS3Combat custom hooks for more information on custom actions and new turn triggers in FS3. These changes need to be inserted into plugins\fs3combat\custom_hooks.rb
To add combat/potion
and combat/spell
, you'll need to set your custom actions:
def self.custom_actions
{
'spell' => SpellAction,
'potion' => PotionAction
}
end
You'll also need to add a custom newturn hook:
def self.custom_new_turn_reset(combatant)
Magic.spell_newturn(combatant)
end
- Overview
- Death
- Schools
- Magic Energy
- Spells
- Spell Success Mechanics
- Magic Items
- Potions
- Configuration
- Code
- Future Plans