Dota 2 Workshop Tools/Scripting/API/Global.ApplyDamage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(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, }