What method determines AgentState.Killed vs AgentState.Unconscious before OnAgentRemoved?

Users who are viewing this thread

gttester

Recruit
On the last 'killing' blow a hero receives during non-tournament combat with death turned one, where is the probability of death vs just unconscious calculated?
Thought it'd be OnScoreHit, but couldn't find one with such logic.
Basically looking for the method that has the logic to decide if a hero's 'death' in battle is actually a death or just wounded.
OnAgentRemoved seems to do the actual .SetWounded or .SetKilled(), but can't find where that is initially determined from after the last hit on the hero.
 
Last edited:
woah thanks, gonna update to 1.6.1 and try it out. Woulda never found that myself despite the....verboseness of the name
 
Upvote 0
Back
Top Bottom