Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_spelldamage_registry.h
Go to the documentation of this file.
1#ifndef SF_SPELLDAMAGE_REGISTRY_H
2#define SF_SPELLDAMAGE_REGISTRY_H
3
4#include "../../../api/sfsf.h"
5
6extern damage_handler_ptr get_spell_damage(const uint16_t spell_line_id,
7 SpellDamagePhase phase);
8void registerSpellDamageHandler(uint16_t spell_line_id,
9 damage_handler_ptr handler,
10 SpellDamagePhase phase);
12
13#endif
uint16_t(__thiscall * damage_handler_ptr)(SF_CGdFigureToolbox *_toolbox, uint16_t source, uint16_t target, uint16_t current_damage, uint16_t is_spell_damage, uint32_t is_ranged_damage, uint16_t spell_id)
damage_handler_ptr get_spell_damage(const uint16_t spell_line_id, SpellDamagePhase phase)
void __thiscall register_vanilla_spell_damage_handlers()
void registerSpellDamageHandler(uint16_t spell_line_id, damage_handler_ptr handler, SpellDamagePhase phase)