8 spellAPI.removeDLLNode(_this, spell_index);
9 spellAPI.setEffectDone(_this, spell_index, 0);
121 uint16_t spell_index)
269 uint16_t spell_index)
287 uint16_t target_index =
292 int8_t bonus =
spellAPI.getXData(_this, spell_index,
294 uint16_t stat_value =
296 int8_t recalc_value = stat_value - ((bonus * stat_value) / 100);
298 target_index, recalc_value);
302 recalc_value = stat_value - ((bonus * stat_value) / 100);
304 target_index, recalc_value);
308 recalc_value = stat_value - ((bonus * stat_value) / 100);
310 target_index, recalc_value);
314 recalc_value = stat_value - ((bonus * stat_value) / 100);
316 target_index, recalc_value);
321 recalc_value = stat_value - ((bonus * stat_value) / 100);
323 target_index, recalc_value);
327 recalc_value = stat_value - ((bonus * stat_value) / 100);
329 target_index, recalc_value);
332 recalc_value = stat_value - ((bonus * stat_value) / 100);
334 target_index, recalc_value);
339 recalc_value = stat_value - ((bonus * stat_value) / 100);
341 target_index, recalc_value);
345 recalc_value = stat_value - ((bonus * stat_value) / 100);
347 target_index, recalc_value);
351 recalc_value = stat_value - ((bonus * stat_value) / 100);
353 target_index, recalc_value);
357 recalc_value = stat_value - ((bonus * stat_value) / 100);
359 target_index, recalc_value);
365 recalc_value = stat_value - ((bonus * stat_value) / 100);
372 recalc_value = stat_value - ((bonus * stat_value) / 100);
374 target_index, recalc_value);
378 recalc_value = stat_value - ((bonus * stat_value) / 100);
380 target_index, recalc_value);
437 spellAPI.setEffectDone(_this, spell_index, 0);
450 spellAPI.setEffectDone(_this, spell_index, 1);
473 spellAPI.setEffectDone(_this, spell_index, 0);
480 if ((sf_figures->
figures[source_index].
owner != (uint16_t)(-1)) &&
486 if (effect_index != 0)
SpellFunctions * spellAPI
FigureFunctions * figureAPI
ToolboxFunctions * toolboxAPI
EffectFunctions effectAPI
void __thiscall spellClearFigureFlag(SF_CGdSpell *_this, uint16_t spell_id, SpellFlagKey key)
@ SPELL_STAT_MUL_MODIFIER2
@ SPELL_STAT_MUL_MODIFIER4
@ SPELL_STAT_MUL_MODIFIER3
@ SPELL_STAT_MUL_MODIFIER
@ CHECK_SPELLS_BEFORE_JOB2
@ CHECK_SPELLS_BEFORE_CHECK_BATTLE
void __thiscall inablility_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_done(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall aura_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall chill_resistance_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall melt_resistance_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall black_almightness_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall edurance_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall fast_fighting_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall eternity_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall dexterity_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall mutation_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall white_almightness_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall default_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_check_battle(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_check_unfreeze2(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_job_battle_check2(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_unfreeze(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall strength_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall weaken_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall enlightenment_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall fog_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall inflexibility_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall decay1_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall charisma_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall suffocation_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall brilliance_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall quickness_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_check_unfreeze(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall slow_fighting_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall slowness_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall clay_feet_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall flexibility_end_handler(SF_CGdSpell *_this, uint16_t spell_index)
void __thiscall common_handler_job_battle_check(SF_CGdSpell *_this, uint16_t spell_index)
SF_CGdFigure * SF_CGdFigure
SF_CGdFigureToolbox * SF_CGdFigureToolBox
SF_GdSpell active_spell_list[800]
SF_CGdEffect * SF_CGdEffect