|
Spellforce-Spell-framework
|

Functions | |
| uint32_t | sf_deal_damage (SF_CGdFigureToolbox *figureToolbox, uint16_t dmg_source, uint16_t dmg_target, uint32_t damage_amount, uint32_t is_spell_damage, uint32_t is_ranged_damage, uint32_t vry_unknown_6) |
| void | sf_damage_hook () |
| Hook function for damage handling in the game. This function intercepts the call to deal damage and redirects it to a custom implementation while preserving the original behavior. | |
Variables | |
| uint32_t | g_damage_return_addr |
| void sf_damage_hook | ( | ) |
Hook function for damage handling in the game. This function intercepts the call to deal damage and redirects it to a custom implementation while preserving the original behavior.
Definition at line 121 of file sf_damage_hook.c.

| uint32_t sf_deal_damage | ( | SF_CGdFigureToolbox * | figureToolbox, |
| uint16_t | dmg_source, | ||
| uint16_t | dmg_target, | ||
| uint32_t | damage_amount, | ||
| uint32_t | is_spell_damage, | ||
| uint32_t | is_ranged_damage, | ||
| uint32_t | vry_unknown_6 ) |
Definition at line 24 of file sf_damage_hook.c.


| uint32_t g_damage_return_addr |
Definition at line 21 of file sf_damage_hook.c.