-
Notifications
You must be signed in to change notification settings - Fork 40
DT_DOTA_BaseNPC_Hero
Laurie Clark-Michalek edited this page Aug 27, 2013
·
6 revisions
Inherits from DT_DOTA_BaseNPC
m_iCurrentXP
- The hero's current xp. See BaseNPC.level for level
m_hReplicatingOtherHeroModel
- Will be -1 (or 2**21-1) if the hero is an actual hero, but if they are an illusion, this will point to the hero or illusion that created them
m_iPlayerID
- The index of the player that is controlling the hero in the PlayerResource arrays
m_flSpawnedAt
- The time that the player spawned at.
m_flStrength, m_flAgility, m_flIntellect
- The hero's natural (from levels) attributes
m_flStrengthTotal, m_flAgilityTotal, m_flIntellectTotal
- The hero's attributes, including levels and items. Levels put into the attribute bonus are reflected here, not in m_flStrength etc