Lore archive · Warcraft Wiki, 2023 dump
API C PetBattles.GetAllEffectNames
Last wiki revision 2022-08-01
Returns the name of an effect parameter for Pet Battles. effectParamString1, effectParamString2, effectParamString3, ... = {C_PetBattles.GetAllEffectNames}
- effectParamString1, effectParamString2, effectParamString3, ...: - Each return is the name of a different effect parameter for Pet Battles.
These effect names can be passed to 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}
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)
- Pet Battle Functions
Source
https://warcraft.wiki.gg/wiki/API_C_PetBattles.GetAllEffectNames · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.