nyuuzyou/wikis huggingface dataset:
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.IsRefreshable

== Function Description ==
 bool IsRefreshable() 
Returns true if this ability is refreshed by Refresher Orb.
;Example
function CDOTA_Ability_Lua:IsRefreshable( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.IsStealable

== Function Description ==
 bool IsStealable() 
Returns true if this ability can be stolen by Spell Steal.
;Example
function CDOTA_Ability_Lua:IsStealable( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnAbilityPhaseInterrupted

== Function Description ==
 void OnAbilityPhaseInterrupted() 
Cast time did not complete successfully.
;Example
function CDOTA_Ability_Lua:OnAbilityPhaseInterrupted( ) end
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnAbilityPhaseStart

== Function Description ==
 bool OnAbilityPhaseStart() 
Cast time begins (return true for successful cast).
;Example
function CDOTA_Ability_Lua:OnAbilityPhaseStart( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnChannelFinish

== Function Description ==
 void OnChannelFinish(bool bInterrupted) 
(bool bInterrupted) Channel finished.
;Example
function CDOTA_Ability_Lua:OnChannelFinish( bInterrupted ) end
== Parameters ==
Type	Name 	Description
bool	bInterrupted	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnChannelThink

== Function Description ==
 void OnChannelThink(float flInterval) 
(float flInterval) Channeling is taking place.
;Example
function CDOTA_Ability_Lua:OnChannelThink( flInterval ) end
== Parameters ==
Type 	Name 	Description
float	flInterval	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnHeroCalculateStatBonus

== Function Description ==
 void OnHeroCalculateStatBonus() 
Caster (hero only) gained a level, skilled an ability, or received a new stat bonus.
;Example
function CDOTA_Ability_Lua:OnHeroCalculateStatBonus( ) end
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnHeroDiedNearby

== Function Description ==
 void OnHeroDiedNearby(handle unit, handle attacker, handle table) 
A hero has died in the vicinity (ie Urn), takes table of params.
;Example
function CDOTA_Ability_Lua:OnHeroDiedNearby( unit, attacker, table ) end
== Parameters ==
Type 	Name 	Description
handle	unit 	No Description Set
handle	attacker	No Description Set
handle	table 	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnItemEquipped

== Function Description ==
 void OnItemEquipped(handle hItem) 
( HSCRIPT hItem ) Caster equipped item.
;Example
function CDOTA_Ability_Lua:OnItemEquipped( hItem ) end
== Parameters ==
Type 	Name 	Description
handle	hItem	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnOwnerSpawned

== Function Description ==
 void OnOwnerSpawned() 
Caster respawned or spawned for the first time.
;Example
function CDOTA_Ability_Lua:OnOwnerSpawned( ) end
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnProjectileHit

== Function Description ==
 bool OnProjectileHit(handle hTarget, Vector vLocation) 
(HSCRIPT hTarget, Vector vLocation) Projectile has collided with a given target or reached its destination (target is invalid).
;Example
function CDOTA_Ability_Lua:OnProjectileHit( hTarget, vLocation ) end
== Parameters ==
Type 	Name 	Description
handle	hTarget 	No Description Set
Vector	vLocation	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnProjectileHit ExtraData

== Function Description ==
 bool OnProjectileHit_ExtraData(handle hTarget, Vector vLocation, handle table) 
(HSCRIPT hTarget, Vector vLocation, table kv) Projectile has collided with a given target or reached its destination (target is invalid).
;Example
function CDOTA_Ability_Lua:OnProjectileHit_ExtraData( hTarget, vLocation, table ) end
== Parameters ==
Type 	Name 	Description
handle	hTarget 	No Description Set
Vector	vLocation	No Description Set
handle	table 	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnProjectileThink

== Function Description ==
 void OnProjectileThink(Vector vLocation) 
(Vector vLocation) Projectile is actively moving.
;Example
function CDOTA_Ability_Lua:OnProjectileThink( vLocation ) end
== Parameters ==
Type 	Name 	Description
Vector	vLocation	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnProjectileThink ExtraData

== Function Description ==
 void OnProjectileThink_ExtraData(Vector vLocation, handle table) 
(Vector vLocation, table kv ) Projectile is actively moving.
;Example
function CDOTA_Ability_Lua:OnProjectileThink_ExtraData( vLocation, table ) end
== Parameters ==
Type 	Name 	Description
Vector	vLocation	No Description Set
handle	table 	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnStolen

== Function Description ==
 void OnStolen(handle hSourceAbility) 
( HSCRIPT hAbility ) Special behavior when stolen by Spell Steal.
;Example
function CDOTA_Ability_Lua:OnStolen( hSourceAbility ) end
== Parameters ==
Type 	Name 	Description
handle	hSourceAbility	No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.ProcsMagicStick

== Function Description ==
 bool ProcsMagicStick() 
Returns true if this ability will generate magic stick charges for nearby enemies.
;Example
function CDOTA_Ability_Lua:ProcsMagicStick( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.SpeakTrigger

== Function Description ==
 int SpeakTrigger() 
Return the type of speech used.
;Example
function CDOTA_Ability_Lua:SpeakTrigger( ) end
== Returns ==
int - No Description Set
Category:Dota2Function
Category:CDOTA_Ability_Lua
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddAbility

== Function Description ==
 handle AddAbility(string pszAbilityName) 
Add an ability to this unit by name.
== Parameters ==
Type 	Name 	Description
string	pszAbilityName	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddItemByName

== Function Description ==
 handle AddItemByName(string pszItemName) 
Add an item to this unit's inventory.
;Example
function CDOTA_BaseNPC:AddItemByName( pszItemName ) end
== Parameters ==
Type 	Name 	Description
string	pszItemName	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddNewModifier

== Function Description ==
 handle AddNewModifier(handle caster, handle optionalSourceAbility, string modifierName, handle modifierData) 
Add a modifier to this unit.
== Parameters ==
Type 	Name 	Description
handle	caster 	No Description Set
handle	optionalSourceAbility	No Description Set
string	modifierName 	No Description Set
handle	modifierData 	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddSpeechBubble

== Function Description ==
 void AddSpeechBubble(int iBubble, string pszSpeech, float flDuration, unsigned unOffsetX, unsigned unOffsetY) 
Add a speech bubble(1-4 live at a time) to this NPC.
;Example
function CDOTA_BaseNPC:AddSpeechBubble( iBubble, pszSpeech, flDuration, unOffsetX, unOffsetY ) end
== Parameters ==
Type 	Name 	Description
int 	iBubble 	No Description Set
string 	pszSpeech 	No Description Set
float 	flDuration	No Description Set
unsigned	unOffsetX 	No Description Set
unsigned	unOffsetY 	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AlertNearbyUnits

== Function Description ==
 void AlertNearbyUnits(handle hAttacker, handle hAbility) 
No Description Set
== Parameters ==
Type 	Name 	Description
handle	hAttacker	No Description Set
handle	hAbility 	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CanEntityBeSeenByMyTeam

== Function Description ==
 bool CanEntityBeSeenByMyTeam(handle hEntity) 
Check FoW to see if an entity is visible.
;Example
--some code here
== Parameters ==
Type 	Name 	Description
handle	hEntity	No Description Set
== Returns ==
bool - If the entity is visible
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CastAbilityImmediately

== Function Description ==
 void CastAbilityImmediately(handle ability, int playerIndex) 
Cast an ability immediately.
;Example
local axe = Entities:FindByClassname(nil, "npc_dota_hero_axe")
if axe then
 local berserkersCall = axe:FindAbilityByName("axe_berserkers_call")
 if berserkersCall:IsFullyCastable() then
 axe:CastAbilityImmediately(berserkersCall, axe:GetPlayerOwnerID())
 end
end
== Parameters ==
Type 	Name 	Description
handle	ability 	No Description Set
int 	playerIndex	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CastAbilityNoTarget

== Function Description ==
 void CastAbilityNoTarget(handle ability, int playerIndex) 
Cast an ability with no target. ( hAbility, iPlayerIndex )
== Parameters ==
Type 	Name 	Description
handle	ability 	No Description Set
int 	playerIndex	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CastAbilityOnPosition

== Function Description ==
 void CastAbilityOnPosition(Vector vPosition, handle hAbility, int iPlayerIndex) 
Cast an ability on a position.
== Parameters ==
Type 	Name 	Description
Vector	vPosition 	No Description Set
handle	hAbility 	No Description Set
int 	iPlayerIndex	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CastAbilityOnTarget

== Function Description ==
 void CastAbilityOnTarget(handle target, handle ability, int playerIndex) 
命令单位向目标实体释放技能.
== Parameters ==
Type 	Name 	Description
handle	target 	释放目标实体单位
handle	ability 	技能实体
int 	playerIndex	玩家序号
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CastAbilityToggle

== Function Description ==
 void CastAbilityToggle(handle hAbility, int iPlayerIndex) 
Toggle an ability. ( hAbility, iPlayerIndex )
== Parameters ==
Type 	Name 	Description
handle	hAbility 	No Description Set
int 	iPlayerIndex	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.DropItemAtPosition

== Function Description ==
 void DropItemAtPosition(Vector vDest, handle hItem) 
Drop an item at a given point.
== Parameters ==
Type 	Name 	Description
Vector	vDest	No Description Set
handle	hItem	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.DropItemAtPositionImmediate

== Function Description ==
 void DropItemAtPositionImmediate(handle hItem, Vector vPosition) 
Immediately drop a carried item at a given position.
== Parameters ==
Type 	Name 	Description
handle	hItem 	No Description Set
Vector	vPosition	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.EjectItemFromStash

== Function Description ==
 void EjectItemFromStash(handle hItem) 
Drops the selected item out of this unit's stash.
== Parameters ==
Type 	Name 	Description
handle	hItem	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.FindAbilityByName

== Function Description ==
 handle FindAbilityByName(string pAbilityName) 
Retrieve an ability by name from the unit.
== Parameters ==
Type 	Name 	Description
string	pAbilityName	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.FindAllModifiers

== Function Description ==
 table FindAllModifiers() 
Returns a table of all of the modifiers on the NPC.
;Example
function CDOTA_BaseNPC:FindAllModifiers( ) end
== Returns ==
table - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.FindAllModifiersByName

== Function Description ==
 table FindAllModifiersByName(string pszScriptName) 
Returns a table of all of the modifiers on the NPC with the passed name (modifierName)
;Example
function CDOTA_BaseNPC:FindAllModifiersByName( pszScriptName ) end
== Parameters ==
Type 	Name 	Description
string	pszScriptName	No Description Set
== Returns ==
table - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.FindModifierByName

== Function Description ==
 handle FindModifierByName(string pszScriptName) 
Return a handle to the modifier of the given name if found, else nil (string Name )
;Example
function CDOTA_BaseNPC:FindModifierByName( pszScriptName ) end
== Parameters ==
Type 	Name 	Description
string	pszScriptName	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.FindModifierByNameAndCaster

== Function Description ==
 handle FindModifierByNameAndCaster(string pszScriptName, handle hCaster) 
Return a handle to the modifier of the given name from the passed caster if found, else nil ( string Name, hCaster )
;Example
function CDOTA_BaseNPC:FindModifierByNameAndCaster( pszScriptName, hCaster ) end
== Parameters ==
Type 	Name 	Description
string	pszScriptName	No Description Set
handle	hCaster 	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetAbilityByIndex

Category:Dota2Function
Category:CDOTA_BaseNPC
== Function Description ==
 handle GetAbilityByIndex(int iIndex) 
Retrieve an ability by index from the unit.
== Parameters ==
Type	Name 	Description
int 	iIndex	No Description Set
== Returns ==
handle - No Description Set
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetAbilityCount

== Function Description ==
 int GetAbilityCount() 
Limited functionality, this always returns the maximum number of abilities any unit can have. Despite what its function name implies, it does NOT return the current number of abilities the unit has registered.
'''
The current maximum number of abilities is hard-coded to 32, using this function ensures consistency should Valve change it in the future.
== Returns ==
int - The maximum number of abilities this unit can have. (Always 32)
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetCloneSource

== Function Description ==
 handle GetCloneSource() 
Get clone source (Meepo Prime, if this is a Meepo)
;Example
function CDOTA_BaseNPC:GetCloneSource( ) end
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetItemInSlot

== Function Description ==
 handle GetItemInSlot(int i) 
Returns nth item in inventory slot (index is zero based)
== Parameters ==
Type	Name	Description
int 	i 	No Description Set
== Returns ==
handle - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetMaximumGoldBounty

== Function Description ==
 int GetMaximumGoldBounty() 
Get the maximum gold bounty for this unit.
;Example
function CDOTA_BaseNPC:GetMaximumGoldBounty( ) end
== Returns ==
int - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetMinimumGoldBounty

== Function Description ==
 int GetMinimumGoldBounty() 
Get the minimum gold bounty for this unit.
;Example
function CDOTA_BaseNPC:GetMinimumGoldBounty( ) end
== Returns ==
int - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetModifierNameByIndex

== Function Description ==
 string GetModifierNameByIndex(int nIndex) 
Get a modifier name by index.
== Parameters ==
Type	Name 	Description
int 	nIndex	No Description Set
== Returns ==
string - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetModifierStackCount

== Function Description ==
 int GetModifierStackCount(string modifierName, handle hCaster) 
Gets the stack count of a given modifier.
;Example
--some code here
== Parameters ==
Type 	Name 	Description
string	modifierName	No Description Set
handle	hCaster 	true if running asynchronously
== Returns ==
int -
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetMoveSpeedModifier

== Function Description ==
 float GetMoveSpeedModifier(float flBaseSpeed) 
No Description Set
== Parameters ==
Type 	Name 	Description
float	flBaseSpeed	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetMustReachEachGoalEntity

== Function Description ==
 bool GetMustReachEachGoalEntity() 
Get whether this NPC is required to reach each goal entity, rather than being allowed to 'unkink' their path
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetNeverMoveToClearSpace

== Function Description ==
 bool GetNeverMoveToClearSpace() 
If set to true, we will never attempt to move this unit to clear space, even when it unphases.
;Example
function CDOTA_BaseNPC:GetNeverMoveToClearSpace( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetPercentageBasedManaRegen

== Function Description ==
 float GetPercentageBasedManaRegen() 
This Mana regen is derived from % bonuses (from items like Void Stone).
== Returns ==
float - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetPlayerOwnerID

== Function Description ==
 int GetPlayerOwnerID() 
Get the owner player ID for this unit.
It is recommended that instead of this function you use GetOwner():GetPlayerID(). Units summoned in LUA will return -1 for :GetPlayerOwnerID(), but with GetOwner():GetPlayerID() it will correctly return the owners player ID
== Returns ==
int - The owning players ID (0-9) If none is found than it will return -1
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetRangeToUnit

== Function Description ==
 float GetRangeToUnit(handle hNPC) 
No Description Set
== Parameters ==
Type 	Name	Description
handle	hNPC	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetTotalPurchasedUpgradeGoldCost

== Function Description ==
 int GetTotalPurchasedUpgradeGoldCost() 
Get how much gold has been spent on ability upgrades.
== Returns ==
int - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GiveMana

== Function Description ==
 void GiveMana(float flMana) 
Give mana to this unit, this can be used for mana gained by abilities or item usage.
== Parameters ==
Type 	Name 	Description
float	flMana	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.HasAbility

== Function Description ==
 bool HasAbility(string pszAbilityName) 
See whether this unit has an ability by name.
== Parameters ==
Type 	Name 	Description
string	pszAbilityName	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.HasItemInInventory

== Function Description ==
 bool HasItemInInventory(string pItemName) 
See whether this unit has an item by name.
== Parameters ==
Type 	Name 	Description
string	pItemName	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.HasModifier

== Function Description ==
 bool HasModifier(string pszScriptName) 
Sees if this unit has a given modifier
== Parameters ==
Type 	Name 	Description
string	pszScriptName	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.Heal

== Function Description ==
 void Heal(float amount, handle source) 
Heal this unit.
== Parameters ==
Type 	Name 	Description
float 	amount	No Description Set
handle	source	Unit that heald us. Can be nil
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.InterruptMotionControllers

== Function Description ==
 void InterruptMotionControllers(bool bFindClearSpace) 
Parameter boolean determines finding clear space.
== Parameters ==
Type	Name 	Description
bool	bFindClearSpace	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.IsConsideredHero

== Function Description ==
 bool IsConsideredHero() 
Is this unit a considered a hero for targeting purposes?
;Example
function CDOTA_BaseNPC:IsConsideredHero( ) end
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.IsOpposingTeam

== Function Description ==
 bool IsOpposingTeam(int nTeam) 
No Description Set
== Parameters ==
Type	Name 	Description
int 	nTeam	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.IsPositionInRange

== Function Description ==
 bool IsPositionInRange(Vector vPosition, float flRange) 
No Description Set
== Parameters ==
Type 	Name 	Description
Vector	vPosition	No Description Set
float 	flRange 	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.Kill

== Function Description ==
 void Kill(handle hAbility, handle hAttacker) 
Kills this NPC, with the params Ability and Attacker
== Parameters ==
Type 	Name 	Description
handle	hAbility 	No Description Set
handle	hAttacker	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.MakeVisibleToTeam

== Function Description ==
 void MakeVisibleToTeam(int iTeam, float flDuration) 
No Description Set
== Parameters ==
Type 	Name 	Description
int 	iTeam 	No Description Set
float	flDuration	No Description Set
Category:Dota2Function
Category:CDOTA_BaseNPC
Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.ModifyHealth

== 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
Category:Dota2Function
Category:CDOTA_BaseNPC