Dota 2 Workshop Tools/Scripting/API/Global.ApplyDamage: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Undo the test) |
||
Line 1: | Line 1: | ||
Returns the Damage Done | "Returns the Damage Done" | ||
;Example | |||
<source lang="lua"> | |||
local damageTable = { | |||
victim = player.playerHero, | |||
attacker = player.playerHero, | |||
damage = m_damageAmount, | |||
damage_type = DAMAGE_TYPE_PURE, | |||
} |
Revision as of 03:13, 8 August 2014
"Returns the Damage Done"
- Example
<source lang="lua"> local damageTable = { victim = player.playerHero, attacker = player.playerHero, damage = m_damageAmount, damage_type = DAMAGE_TYPE_PURE, }