Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SpendMana: 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) (Dota_Lebot push: Updated Page) |
||
Line 6: | Line 6: | ||
''' void SpendMana(float '' | ''' void SpendMana(float ''flManaSpent'', handle ''hAbility'') ''' | ||
''Spend mana from this unit, this can be used for spending mana from abilities or item usage.'' | ''Spend mana from this unit, this can be used for spending mana from abilities or item usage.'' | ||
Line 19: | Line 19: | ||
|- | |- | ||
| float | | float | ||
| | | flManaSpent | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | hAbility | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 01:33, 20 June 2015

Function Description
void SpendMana(float flManaSpent, handle hAbility)
Spend mana from this unit, this can be used for spending mana from abilities or item usage.
Parameters
Type | Name | Description |
---|---|---|
float | flManaSpent | No Description Set |
handle | hAbility | No Description Set |