Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_ai_spell_handlers.h File Reference
#include "../../api/sfsf.h"
#include "../../asi/sf_asi.h"
#include "../core/sf_hooks.h"
Include dependency graph for sf_ai_spell_handlers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint32_t __thiscall cure_poison_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall shields_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall cure_disease_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall death_grasp_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall offensive_aura_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall defensive_aura_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall healing_aura_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall aura_light_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall HCA_ability_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall RCA_ability_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall riposte_ability_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall summon_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall wave_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall berserk_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall blessing_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall benefactions_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall shift_life_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall do_not_cast_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall default_support_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall sacrifice_mana_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall tower_extinct_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall healing_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall extinct_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall critical_hits_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall amok_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall hypnotize_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall freeze_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall fireburst_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall death_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall lifetap_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall petrify_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall charm_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall hallow_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall manatap_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall confuse_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall demoralization_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall befriend_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall dispel_white_aura_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall dispel_black_aura_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall default_offensive_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall dominate_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall torture_ai_handler (SF_CGdBattleDevelopment *_this, SF_Coord *cast_position, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall dominate_undead_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall dominate_animal_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall disenchant_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
uint32_t __thiscall illusion_ai_handler (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)

Function Documentation

◆ amok_ai_handler()

uint32_t __thiscall amok_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 798 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ aura_light_ai_handler()

uint32_t __thiscall aura_light_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 243 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ befriend_ai_handler()

uint32_t __thiscall befriend_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 998 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ benefactions_ai_handler()

uint32_t __thiscall benefactions_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 496 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ berserk_ai_handler()

uint32_t __thiscall berserk_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 449 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ blessing_ai_handler()

uint32_t __thiscall blessing_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 474 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ charm_ai_handler()

uint32_t __thiscall charm_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 919 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ confuse_ai_handler()

uint32_t __thiscall confuse_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 970 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ critical_hits_ai_handler()

uint32_t __thiscall critical_hits_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 569 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ cure_disease_ai_handler()

uint32_t __thiscall cure_disease_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 51 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ cure_poison_ai_handler()

uint32_t __thiscall cure_poison_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 6 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ death_ai_handler()

uint32_t __thiscall death_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 871 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ death_grasp_ai_handler()

uint32_t __thiscall death_grasp_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 64 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ default_offensive_ai_handler()

uint32_t __thiscall default_offensive_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1088 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ default_support_ai_handler()

uint32_t __thiscall default_support_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 637 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ defensive_aura_ai_handler()

uint32_t __thiscall defensive_aura_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 153 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ demoralization_ai_handler()

uint32_t __thiscall demoralization_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 983 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ disenchant_ai_handler()

uint32_t __thiscall disenchant_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1011 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ dispel_black_aura_ai_handler()

uint32_t __thiscall dispel_black_aura_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1057 of file sf_ai_spell_handlers.cpp.

◆ dispel_white_aura_ai_handler()

uint32_t __thiscall dispel_white_aura_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1027 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ do_not_cast_ai_handler()

uint32_t __thiscall do_not_cast_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 629 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ dominate_ai_handler()

uint32_t __thiscall dominate_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1096 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ dominate_animal_ai_handler()

uint32_t __thiscall dominate_animal_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1110 of file sf_ai_spell_handlers.cpp.

◆ dominate_undead_ai_handler()

uint32_t __thiscall dominate_undead_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 1131 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ extinct_ai_handler()

uint32_t __thiscall extinct_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 704 of file sf_ai_spell_handlers.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fireburst_ai_handler()

uint32_t __thiscall fireburst_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 857 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ freeze_ai_handler()

uint32_t __thiscall freeze_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 836 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ hallow_ai_handler()

uint32_t __thiscall hallow_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 932 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ HCA_ability_ai_handler()

uint32_t __thiscall HCA_ability_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 288 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ healing_ai_handler()

uint32_t __thiscall healing_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 744 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ healing_aura_ai_handler()

uint32_t __thiscall healing_aura_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 189 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ hypnotize_ai_handler()

uint32_t __thiscall hypnotize_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 815 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ illusion_ai_handler()

uint32_t __thiscall illusion_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 119 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ lifetap_ai_handler()

uint32_t __thiscall lifetap_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 884 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ manatap_ai_handler()

uint32_t __thiscall manatap_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 945 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ offensive_aura_ai_handler()

uint32_t __thiscall offensive_aura_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 85 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ petrify_ai_handler()

uint32_t __thiscall petrify_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 903 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ RCA_ability_ai_handler()

uint32_t __thiscall RCA_ability_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 331 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ riposte_ability_ai_handler()

uint32_t __thiscall riposte_ability_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 347 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ sacrifice_mana_ai_handler()

uint32_t __thiscall sacrifice_mana_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 646 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ shields_ai_handler()

uint32_t __thiscall shields_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 21 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ shift_life_ai_handler()

uint32_t __thiscall shift_life_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 545 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ summon_ai_handler()

uint32_t __thiscall summon_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 384 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ torture_ai_handler()

uint32_t __thiscall torture_ai_handler ( SF_CGdBattleDevelopment * _this,
SF_Coord * cast_position,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 130 of file sf_ai_aoe_handlers.cpp.

Here is the caller graph for this function:

◆ tower_extinct_ai_handler()

uint32_t __thiscall tower_extinct_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 681 of file sf_ai_spell_handlers.cpp.

Here is the caller graph for this function:

◆ wave_ai_handler()

uint32_t __thiscall wave_ai_handler ( SF_CGdBattleDevelopment * _this,
uint16_t target_index,
uint16_t spell_line,
SF_CGdResourceSpell * spell_data )

Definition at line 411 of file sf_ai_spell_handlers.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: