# CDOTABaseAbility

extends CBaseEntity

Function Description Client
unknown CanAbilityBeUpgraded()
bool CastAbility()
bool ContinueCasting()
void CreateVisibilityNode(vLocation, fRadius, fDuration)
void DecrementModifierRefCount()
void EndChannel(bInterrupted)
void EndCooldown() Clear the cooldown remaining on this ability.
int GetAOERadius()
int GetAbilityDamage()
int GetAbilityDamageType()
int GetAbilityIndex()
table GetAbilityKeyValues() Gets the key values definition for this ability.
string GetAbilityName() Returns the name of this ability.
int GetAbilityTargetFlags()
int GetAbilityTargetTeam()
int GetAbilityTargetType()
int GetAbilityType()
bool GetAnimationIgnoresModelScale()
string GetAssociatedPrimaryAbilities()
string GetAssociatedSecondaryAbilities()
bool GetAutoCastState()
float GetBackswingTime()
int GetBehavior() ✔️
float GetCastPoint()
int GetCastRange(vLocation, hTarget) Gets the cast range of the ability.
handle GetCaster() ✔️
float GetChannelStartTime()
float GetChannelTime()
int GetChannelledManaCostPerSecond(iLevel)
handle GetCloneSource()
int GetConceptRecipientType()
float GetCooldown(iLevel) Get the cooldown duration for this ability at a given level, not the amount of cooldown actually left.
float GetCooldownTime()
float GetCooldownTimeRemaining()
Vector GetCursorPosition()
handle GetCursorTarget()
bool GetCursorTargetingNothing()
float GetDuration()
float GetEffectiveCooldown(iLevel)
int GetGoldCost(iLevel)
int GetGoldCostForUpgrade(iLevel)
int GetHeroLevelRequiredToUpgrade()
string GetIntrinsicModifierName() 返回此技能被动给予的修饰器的名称
int GetLevel() Get the current level of the ability. ✔️
table GetLevelSpecialValueFor(szName, nLevel)
int GetManaCost(iLevel)
int GetMaxLevel()
float GetModifierValue()
float GetModifierValueBonus()
float GetPlaybackRateOverride()
string GetSharedCooldownName()
table GetSpecialValueFor(szName) 从该技能的当前等级的特殊值中获取值。 ✔️
string GetStolenActivityModifier()
bool GetToggleState() ✔️
bool GetUpgradeRecommended()
bool HeroXPChange(flXP)
void IncrementModifierRefCount()
bool IsActivated()
bool IsAttributeBonus()
bool IsChanneling() Returns whether the ability is currently channeling.
bool IsCooldownReady()
bool IsCosmetic(hEntity)
bool IsFullyCastable() Returns whether the ability can be cast.
bool IsHidden()
bool IsHiddenAsSecondaryAbility()
bool IsHiddenWhenStolen()
bool IsInAbilityPhase() Returns whether the ability is currently casting.
bool IsItem() ✔️
bool IsOwnersGoldEnough(nIssuerPlayerID)
bool IsOwnersGoldEnoughForUpgrade()
bool IsOwnersManaEnough()
bool IsPassive()
bool IsRefreshable()
bool IsSharedWithTeammates()
bool IsStealable()
bool IsStolen()
bool IsToggle()
bool IsTrained()
void MarkAbilityButtonDirty() Mark the ability button for this ability as needing a refresh.
int NumModifiersUsingAbility()
void OnAbilityPhaseInterrupted()
bool OnAbilityPhaseStart()
void OnAbilityPinged(nPlayerID, bCtrlHeld)
void OnChannelFinish(bInterrupted)
void OnChannelThink(flInterval)
void OnHeroCalculateStatBonus()
void OnHeroLevelUp()
void OnOwnerDied()
void OnOwnerSpawned()
void OnSpellStart()
void OnToggle()
void OnUpgrade()
void PayGoldCost()
void PayGoldCostForUpgrade()
void PayManaCost()
bool PlaysDefaultAnimWhenStolen()
bool ProcsMagicStick()
bool RefCountsModifiers()
void RefreshCharges()
void RefundManaCost()
bool ResetToggleOnRespawn()
void SetAbilityIndex(iIndex)
void SetActivated(bActivated)
void SetChanneling(bChanneling)
void SetFrozenCooldown(bFrozenCooldown)
void SetHidden(bHidden)
void SetInAbilityPhase(bInAbilityPhase)
void SetLevel(iLevel) Sets the level of this ability.
void SetOverrideCastPoint(flCastPoint)
void SetRefCountsModifiers(bRefCounts)
void SetStealable(bStealable)
void SetStolen(bStolen)
void SetUpgradeRecommended(bUpgradeRecommended)
bool ShouldUseResources()
void SpeakAbilityConcept(iConcept)
unknown SpeakTrigger()
void StartCooldown(flCooldown)
void ToggleAbility()
void ToggleAutoCast()
void UpgradeAbility(bSupressSpeech)
void UseResources(bMana, bGold, bCooldown)