Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.ModifyHealth: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' void ModifyHealth(int ''a'', handle ''b'', bool ''c'', int ''d'') '''
''' void ModifyHealth(int ''iDesiredHealthValue'', handle ''hAbility'', bool ''bLethal'', int ''iAdditionalFlags'') '''


''Sets the health to a specific value, with optional flags or inflictors.''
''Sets the health to a specific value, with optional flags or inflictors.''
Line 19: Line 19:
|-
|-
| int
| int
| a
| iDesiredHealthValue
| No Description Set
| No Description Set
|-
|-
| handle
| handle
| b
| hAbility
| No Description Set
| No Description Set
|-
|-
| bool
| bool
| c
| bLethal
| No Description Set
| No Description Set
|-
|-
| int
| int
| d
| iAdditionalFlags
| No Description Set
| No Description Set
|}
|}

Revision as of 19:32, 19 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

void ModifyHealth(int iDesiredHealthValue, handle hAbility, bool bLethal, int iAdditionalFlags)

Sets the health to a specific value, with optional flags or inflictors.


Parameters

Type Name Description
int iDesiredHealthValue No Description Set
handle hAbility No Description Set
bool bLethal No Description Set
int iAdditionalFlags No Description Set