WildStar:API TYPE Ability
Jump to navigation
Jump to search
{{../uiapitype}} Write the first paragraph of your page here.
General
The ability AbilityBook type, and used to hold information about a particular target-able unit in the world. This userdata type is not accessible as table and is immutable.
local table = AbilityBook.GetAbiltiyInfo(abilityId) local ability = table.tTiers[1].splObject
- Table Outline
Tiers 1 through 9 are all identical. That wasn't copy and paste laziness. The nId, the strTierBonusDesctiption, and everything else are identical with the exception of splObject. That seems to increment correctly. Also, I don't know what spell ID 18309 is. I entered 32089 for Tier 0 Relentless Strikes. If I enter 18309 as my abilityId, it does not return anything.
<N F="1" T="t"> <N K="nId" T="n" V="18309"/> <N K="bIsActive" T="b" V="+"/> <N K="strAbilityDescription" T="s" V="Deal 810 physical damage to 5 foes and build 180 Kinetic Energy."/> <N K="nCurrentTier" T="n" V="7"/> <N K="strName" T="s" V="Relentless Strikes"/> <N K="strAbilityPerTierPointDescription" T="s" V="Deal 810 physical damage to 5 foes and build 180 Kinetic Energy."/> <N K="tTiers" T="t"> <N F="1" T="t"> <N K="bIsActive" T="b" V="+"/> <N K="bCanPurchase" T="b" V="+"/> <N K="nTier" T="n" V="1"/> <N K="bAMPUnlocked" T="b" V="-"/> <N K="nId" T="n" V="18309"/> <N K="nTierPointCost" T="n" V="0"/> <N K="nLevelReq" T="n" V="1"/> <N K="strTierBonusDescription" T="s" V="Deal 810 physical damage to 5 foes and build 180 Kinetic Energy."/> <N K="nTrainingCost" T="n" V="0"/> <N K="strName" T="s" V="Relentless Strikes"/> <N K="splObject" T="u" V="userdata" /> </N> <N F="2" T="t"> <N K="bIsActive" T="b" V="+"/> <N K="bCanPurchase" T="b" V="+"/> <N K="nTier" T="n" V="2"/> <N K="bAMPUnlocked" T="b" V="-"/> <N K="nId" T="n" V="18309"/> <N K="nTierPointCost" T="n" V="1"/> <N K="nLevelReq" T="n" V="10"/> <N K="strTierBonusDescription" T="s" V="Deal 810 physical damage to 5 foes and build 180 Kinetic Energy."/> <N K="nTrainingCost" T="n" V="0"/> <N K="strName" T="s" V="Relentless Strikes"/> <N K="splObject" T="u" V="userdata" /> </N> ... (There are 9 tiers in total, so 9 tables would appear here.) </N> </N> <N K="nMaxTiers" T="n" V="9"/> </N>
Members
- :GetName() - Ability Name
- :GetTier() - Tiers are numbered 1-9. So 1 is base, and 9 is T8
- :GetCastInfoString()
- :GetCastMethod()
- :GetChannelData()
- :GetCastTimeOverride()
- :GetThresholdTime()
- :GetCastTime()
- :GetMaximumRange()
- :GetMinimumRange()
- :GetCasterInnateCosts()
- :GetCasterInnateRequirements()
- :IsFreeformTarget()
- :IsSelfSpell()
- :GetCooldownTime()
- :IsMovingInterrupted()
- :GetAbilityCharges()
- :GetFlavor() - This is the description of the ability in the tooltip
- :GetId() - ID of the ability
- :GetRequiredLevel()
- :GetClass() -Spell class is Spell.CodeEnumSpellClass
- :GetLasBonusEachTierDesc()
- :GetLasTierDesc() - Should only be used on tTier[5] (T4) and tTier[9] (T8)