Home
last modified time | relevance | path

Searched refs:combat_style (Results 1 – 3 of 3) sorted by relevance

/dports/games/flare-engine/flare-engine-1.12/src/
H A DStatBlock.cpp146 , combat_style(COMBAT_DEFAULT)//enemy in StatBlock()
606 if (infile.val == "default") combat_style = COMBAT_DEFAULT; in load()
607 else if (infile.val == "aggressive") combat_style = COMBAT_AGGRESSIVE; in load()
608 else if (infile.val == "passive") combat_style = COMBAT_PASSIVE; in load()
H A DStatBlock.h262 int combat_style; // determines how the creature enters combat variable
H A DEntityBehavior.cpp190 if (!e->stats.in_combat && e->stats.combat_style == StatBlock::COMBAT_AGGRESSIVE) { in findTarget()
201 …if (e->stats.alive && !e->stats.in_combat && los && close_to_target && e->stats.combat_style != St… in findTarget()
228 if (e->stats.combat_style != StatBlock::COMBAT_AGGRESSIVE) { in findTarget()