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.
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: