- Код: Выделить всё
int getSpellTargetHex(const int spell)
{
const int xSize = 17;
int maxFightValueDelta = 0;
int bestTargetHex = -1;
_Hero_* hero = o_BattleMgr->hero[o_BattleMgr->current_side];
if ( hero ) {
sprintf(o_TextBuffer, "Spell Power: %d, School Level = %d",
hero->power, CALL_3(int, __thiscall, 0x4E52F0, hero, SPL_INFERNO, o_BattleMgr->spec_terr_type));
b_MsgBox(o_TextBuffer, MBX_OK);
}
...