JackTripper (talk | contribs) No edit summary |
JackTripper (talk | contribs) (Unbold items that do not actually appear under any effects) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
== Details == |
== Details == |
||
+ | These effect names can be passed to {{api|C_PetBattles.GetAbilityEffectInfo}} in order to return information about that effect. For example, to return the damage variance of [[Baby Winston|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: |
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()} |
local effectParamStrings = {C_PetBattles.GetAllEffectNames()} |
||
+ | |||
+ | === Effects === |
||
This the list of returns as of Patch 5.3.0: |
This the list of returns as of Patch 5.3.0: |
||
+ | |||
− | accuracy |
||
+ | * '''accuracy''' - Ability hit chance percentage (e.g. 0%, 25%, 35%, 50%, 85%, 100%, 150%) |
||
− | + | * auraabilityid |
|
− | + | * '''auraid''' |
|
− | + | * '''basechancetosucceed''' |
|
− | + | * '''bonuspoints''' |
|
− | + | * '''bonusstate''' |
|
− | boost |
||
+ | * '''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 |
||
+ | * '''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 history == |
== Patch history == |
||
Line 69: | Line 93: | ||
== See also == |
== See also == |
||
+ | * {{api|C_PetBattles.GetAbilityEffectInfo}} |
||
* [[World_of_Warcraft_API#Pet_Battle_Functions | Pet Battle Functions]] |
* [[World_of_Warcraft_API#Pet_Battle_Functions | Pet Battle Functions]] |
Revision as of 05:14, 25 November 2018
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 history
Patch 5.0.4 (2012-08-28): Added.