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)
 

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 792 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 194 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 1010 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 461 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 412 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 438 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 921 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 981 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 539 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 54 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 870 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 68 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 1097 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 613 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 126 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 995 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 1060 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 1023 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 605 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 1105 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 692 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 856 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 832 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 936 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 244 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 737 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 157 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 810 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 883 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 950 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 90 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 905 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 289 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 305 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 622 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 513 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 343 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 665 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 371 of file sf_ai_spell_handlers.cpp.

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