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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Dota_Lebot push: Updated Page)
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:09, 8 August 2014

Returns the Damage Done