Dota 2 Workshop Tools/Scripting/API/Global.ApplyDamage

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 03:13, 8 August 2014 by RoyAwesome (talk | contribs) (Undo the test)
Jump to navigation Jump to search

"Returns the Damage Done"

Example

<source lang="lua"> local damageTable = { victim = player.playerHero, attacker = player.playerHero, damage = m_damageAmount, damage_type = DAMAGE_TYPE_PURE, }