Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the name of an effect parameter for Pet Battles.
effectParamString1, effectParamString2, effectParamString3, ... = {C_PetBattles.GetAllEffectNames()}
Returns[]
- effectParamString1, effectParamString2, effectParamString3, ...
- string - Each return is the name of a different effect parameter for Pet Battles.
Details[]
These effect names can be passed to C_PetBattles.GetAbilityEffectInfo in order to return information about that effect. For example, to return the damage variance of Baby Winston's [Tesla Cannon]:
/dump C_PetBattles.GetAbilityEffectInfo(1625, 1, 1, "variance") [1]=60
This function returns an extreme amount of data and is best dealt with by putting the results directly into a table. This is how Blizzard uses it:
local effectParamStrings = {C_PetBattles.GetAllEffectNames()}
Effects[]
This the list of returns as of Patch 5.3.0:
- accuracy - Ability hit chance percentage (e.g. 0%, 25%, 35%, 50%, 85%, 100%, 150%)
- auraabilityid
- auraid
- basechancetosucceed
- bonuspoints
- bonusstate
- boost
- casterimmunestate
- casterstate
- casterstatevalue
- chainfailure
- chance
- dontmiss
- duration
- duration2
- evenmorepoints
- healthpercentage
- healthpercentthreshold
- increasepertoss
- index
- isperiodic
- lockduration
- maxallowed
- maxpoints
- morepoints
- newduration
- none
- overrideindex
- percentage
- points
- pointsincreaseperuse
- pointsmax
- reportfailsasimmune
- requiredcasterpettype
- requiredcasterstate
- requiredtargetpettype
- requiredtargetstate
- state
- statechange
- statemax
- statemin
- statepoints
- statetomultiplyagainst
- statetotriggermaxpoints
- statevalue
- targetimmunestate
- targetstate
- targetstatevalue
- targetteststate
- targetteststatevalue
- turnstoadvance
- unused
- weatherstate
These are the newer abilities that appear as of patch 8.0.1:
- ability 1
- ability 2
- asdf
- cooldownmodification
- enablereverse
- int 1
- power - The base damage or healing of the ability (base power is before being taking level, quality, or breed - effectively a level 1, poor quality pet, with no breed bonuses)
- sdf
- threshold
- tickdownfirstround
- variance - the variance to be applied to power. Base damage or healing will be power±(variance/200)
Patch changes[]
Patch 5.0.4 (2012-08-28): Added.