World of Warcraft Forever API · PlayerScript.md, for your AI
PlayerScript (global functions)
190 functions, 2 events, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
AcceptAreaSpiritHeal
AcceptAreaSpiritHeal()
AcceptGuild
AcceptGuild()
AcceptResurrect
AcceptResurrect()
Ambiguate
result = Ambiguate(fullName, context)
Arguments
fullName | cstring | |
|---|---|---|
context | cstring |
Returns
result | string |
|---|
AutoEquipCursorItem
AutoEquipCursorItem()
BeginTrade
BeginTrade()
CanDualWield
result = CanDualWield()
Returns
result | bool |
|---|
CanInspect
result = CanInspect(targetGUID)
Arguments
targetGUID | UnitToken |
|---|
Returns
result | bool |
|---|
CanLootUnit
hasLoot, canLoot = CanLootUnit(targetUnit)
May return nothing.
Arguments
targetUnit | WOWGUID |
|---|
Returns
hasLoot | bool | |
|---|---|---|
canLoot | bool |
CanPortGraveyard
canPortGraveyard = CanPortGraveyard()
Returns
canPortGraveyard | bool |
|---|
CancelAreaSpiritHeal
CancelAreaSpiritHeal()
CancelPendingEquip
CancelPendingEquip(index)
Arguments
index | number |
|---|
CancelTrade
CancelTrade()
CheckInteractDistance
result = CheckInteractDistance(unitGUID, distIndex)
Arguments
unitGUID | UnitToken | |
|---|---|---|
distIndex | luaIndex |
Returns
result | bool |
|---|
CheckTalentMasterDist
result = CheckTalentMasterDist()
Returns
result | bool |
|---|
ClearPendingBindConversionItem
ClearPendingBindConversionItem()
ConfirmTalentWipe
ConfirmTalentWipe()
ConvertItemToBindToAccount
ConvertItemToBindToAccount()
DeclineGuild
DeclineGuild()
DeclineResurrect
DeclineResurrect()
Dismount
Dismount()
EquipPendingItem
EquipPendingItem(index)
Arguments
index | number |
|---|
FollowUnit
FollowUnit([name], [exactMatch])
Arguments
name | cstring default "0" | |
|---|---|---|
exactMatch | bool default false |
GetAllowLowLevelRaid
result = GetAllowLowLevelRaid()
Returns
result | bool |
|---|
GetAllowRecentAlliesSeeLocation
allowRecentAlliesSeeLocation = GetAllowRecentAlliesSeeLocation()
Returns
allowRecentAlliesSeeLocation | bool |
|---|
GetAreaSpiritHealerTime
result = GetAreaSpiritHealerTime()
Returns
result | number |
|---|
GetArmorPenetration
result = GetArmorPenetration()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetAttackPowerForStat
result = GetAttackPowerForStat(stat, value)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
stat | luaIndex | |
|---|---|---|
value | number |
Returns
result | number |
|---|
GetAutoDeclineGuildInvites
result = GetAutoDeclineGuildInvites()
Returns
result | bool |
|---|
GetAutoDeclineNeighborhoodInvites
result = GetAutoDeclineNeighborhoodInvites()
Returns
result | bool |
|---|
GetAvoidance
result = GetAvoidance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetBindLocation
result = GetBindLocation()
Returns
result | cstring |
|---|
GetBlockChance
result = GetBlockChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetCemeteryPreference
result = GetCemeteryPreference()
Returns
result | number |
|---|
GetCollapsingStarCost
cost = GetCollapsingStarCost()
Returns
cost | number |
|---|
GetCombatRating
result = GetCombatRating(ratingIndex)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
ratingIndex | luaIndex |
|---|
Returns
result | number may be nil |
|---|
GetCombatRatingBonus
result = GetCombatRatingBonus(ratingIndex)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
ratingIndex | luaIndex |
|---|
Returns
result | number may be nil |
|---|
GetCombatRatingBonusForCombatRatingValue
result = GetCombatRatingBonusForCombatRatingValue(ratingIndex, value)
Arguments
ratingIndex | luaIndex | |
|---|---|---|
value | number |
Returns
result | number may be nil |
|---|
GetCorpseRecoveryDelay
result = GetCorpseRecoveryDelay()
Returns
result | number |
|---|
GetCorruption
result = GetCorruption()
Returns
result | number |
|---|
GetCorruptionResistance
result = GetCorruptionResistance()
Returns
result | number |
|---|
GetCritChance
result = GetCritChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetCritChanceFromStat
critChance = GetCritChanceFromStat(stat, value)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
stat | luaIndex | |
|---|---|---|
value | number |
Returns
critChance | number |
|---|
GetCritChanceProvidesParryEffect
result = GetCritChanceProvidesParryEffect()
Returns
result | bool |
|---|
GetDodgeChance
result = GetDodgeChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetDodgeChanceFromAttribute
result = GetDodgeChanceFromAttribute()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetEvictionTimeRemaining
result = GetEvictionTimeRemaining()
Returns
result | number |
|---|
GetExpertise
mainhandExpertise, offhandExpertise, rangedExpertise = GetExpertise()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
mainhandExpertise | number | |
|---|---|---|
offhandExpertise | number | |
rangedExpertise | number |
GetExpertisePercent
mainhandExpertisePercent, offhandExpertisePercent, rangedExpertisePercent = GetExpertisePercent()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
mainhandExpertisePercent | number | |
|---|---|---|
offhandExpertisePercent | number | |
rangedExpertisePercent | number |
GetGlancingBlowChance
result = GetGlancingBlowChance([playerWeaponSkill], targetDefenseSkill)
If no playerWeaponSkill value is provided, uses the skill value for the player's main hand weapon/shapeshift form.
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
playerWeaponSkill | number may be nil | |
|---|---|---|
targetDefenseSkill | number |
Returns
result | number |
|---|
GetGlancingBlowPenalty
result = GetGlancingBlowPenalty([playerWeaponSkill], targetDefenseSkill)
If no playerWeaponSkill value is provided, uses the skill value for the player's main hand weapon/shapeshift form.
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
playerWeaponSkill | number may be nil | |
|---|---|---|
targetDefenseSkill | number |
Returns
result | number |
|---|
GetHaste
result = GetHaste()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetHealthRegen
healthRegen, combatHealthRegen = GetHealthRegen()
Returns
healthRegen | number | |
|---|---|---|
combatHealthRegen | number |
GetHealthRegenFromSpirit
healthRegen, combatHealthRegen = GetHealthRegenFromSpirit()
Returns
healthRegen | number | |
|---|---|---|
combatHealthRegen | number |
GetHitModifier
result = GetHitModifier()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetJailersTowerLevel
result = GetJailersTowerLevel()
Returns
result | number |
|---|
GetLifesteal
result = GetLifesteal()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetLootSpecialization
specializationID = GetLootSpecialization()
Returns
specializationID | number |
|---|
GetManaRegen
baseManaRegen, castingManaRegen = GetManaRegen()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
baseManaRegen | number | |
|---|---|---|
castingManaRegen | number |
GetManaRegenFromSpirit
powerRegen, combatPowerRegen = GetManaRegenFromSpirit()
Returns
powerRegen | number | |
|---|---|---|
combatPowerRegen | number |
GetMastery
result = GetMastery()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetMasteryEffect
masteryEffect, bonusCoefficient = GetMasteryEffect()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
masteryEffect | number | |
|---|---|---|
bonusCoefficient | number |
GetMaxPlayerLevel
maxPlayerLevel = GetMaxPlayerLevel()
Returns
maxPlayerLevel | number |
|---|
GetMeleeHaste
result = GetMeleeHaste()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetModResilienceDamageReduction
result = GetModResilienceDamageReduction()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetMoney
result = GetMoney()
Returns
result | number |
|---|
GetNormalizedRealmName
result = GetNormalizedRealmName()
Returns
result | cstring |
|---|
GetOffhandHitModifier
result = GetOffhandHitModifier()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetOverrideAPBySpellPower
result = GetOverrideAPBySpellPower()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetOverrideSpellPowerByAP
result = GetOverrideSpellPowerByAP()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPVPDesired
result = GetPVPDesired()
Returns
result | bool |
|---|
GetPVPGearStatRules
result = GetPVPGearStatRules()
Returns
result | bool |
|---|
GetPVPLifetimeStats
lifetimeHonorableKills, lifetimeMaxPVPRank = GetPVPLifetimeStats()
Returns
lifetimeHonorableKills | number | |
|---|---|---|
lifetimeMaxPVPRank | PvPRanks |
GetPVPSessionStats
honorableKills, dishonorableKills = GetPVPSessionStats()
Returns
honorableKills | number | |
|---|---|---|
dishonorableKills | number |
GetPVPTimer
result = GetPVPTimer()
Returns
result | number |
|---|
GetPVPYesterdayStats
honorableKills, dishonorableKills = GetPVPYesterdayStats()
Returns
honorableKills | number | |
|---|---|---|
dishonorableKills | number |
GetParryChance
result = GetParryChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetParryChanceFromAttribute
result = GetParryChanceFromAttribute()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPetCritChance
meleeCrit, spellCrit = GetPetCritChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
meleeCrit | number | |
|---|---|---|
spellCrit | number |
GetPetDodgeChance
result = GetPetDodgeChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPetHitChanceModifier
result = GetPetHitChanceModifier()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPetMeleeHaste
result = GetPetMeleeHaste()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPetSpellBonusDamage
result = GetPetSpellBonusDamage()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPetSpellHitChanceModifier
result = GetPetSpellHitChanceModifier()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPlayerFacing
result = GetPlayerFacing()
Returns
result | number may be nil |
|---|
GetPlayerInfoByGUID
localizedClass, englishClass, localizedRace, englishRace, sex, name, realmName, level = GetPlayerInfoByGUID(guid)
May return nothing.
Arguments
guid | WOWGUID |
|---|
Returns
localizedClass | cstring | |
|---|---|---|
englishClass | cstring | |
localizedRace | cstring | |
englishRace | cstring | |
sex | number | |
name | string | |
realmName | cstring | |
level | number may be nil |
GetPowerRegen
basePowerRegen, castingPowerRegen = GetPowerRegen()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
basePowerRegen | number | |
|---|---|---|
castingPowerRegen | number |
GetPowerRegenForPowerType
basePowerRegen, castingPowerRegen = GetPowerRegenForPowerType(powerType)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
powerType | number |
|---|
Returns
basePowerRegen | number | |
|---|---|---|
castingPowerRegen | number |
GetPvpPowerDamage
result = GetPvpPowerDamage()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetPvpPowerHealing
result = GetPvpPowerHealing()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetRangedAttackPowerForStat
result = GetRangedAttackPowerForStat(stat, value)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
stat | luaIndex | |
|---|---|---|
value | number |
Returns
result | number |
|---|
GetRangedCritChance
result = GetRangedCritChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetRangedHaste
result, quiverHaste = GetRangedHaste()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number | |
|---|---|---|
quiverHaste | number |
GetRangedHitModifier
result = GetRangedHitModifier()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetReleaseTimeRemaining
result = GetReleaseTimeRemaining()
Returns
result | number |
|---|
GetResSicknessDuration
result = GetResSicknessDuration()
Returns
result | string may be nil |
|---|
GetRestState
exhaustionID, name, factor = GetRestState()
May return nothing.
Returns
exhaustionID | number | |
|---|---|---|
name | cstring | |
factor | number |
GetRestrictedAccountData
maxLevel, maxMoney, professionCap = GetRestrictedAccountData()
Returns
maxLevel | number | |
|---|---|---|
maxMoney | WOWMONEY | |
professionCap | number |
GetRuneCooldown
startTime, duration, isRuneReady = GetRuneCooldown(runeIndex)
May return nothing.
Arguments
runeIndex | luaIndex |
|---|
Returns
startTime | number | |
|---|---|---|
duration | number | |
isRuneReady | bool |
GetRuneCount
result = GetRuneCount(runeIndex)
May return nothing.
Arguments
runeIndex | luaIndex |
|---|
Returns
result | number |
|---|
GetSheathState
result = GetSheathState()
Returns
result | number may be nil |
|---|
GetShieldBlock
result = GetShieldBlock()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetSpeed
result = GetSpeed()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetSpellBonusDamage
result = GetSpellBonusDamage(school)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
school | luaIndex |
|---|
Returns
result | number may be nil |
|---|
GetSpellBonusHealing
result = GetSpellBonusHealing()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetSpellCritChance
result = GetSpellCritChance()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetSpellCritChanceFromStat
spellCritChance = GetSpellCritChanceFromStat(stat, value)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
stat | luaIndex | |
|---|---|---|
value | number |
Returns
spellCritChance | number |
|---|
GetSpellHitModifier
result = GetSpellHitModifier()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetSpellPenetration
result = GetSpellPenetration()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetSturdiness
result = GetSturdiness()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
result | number |
|---|
GetTaxiBenchmarkMode
result = GetTaxiBenchmarkMode()
Returns
result | bool |
|---|
GetVersatilityBonus
result = GetVersatilityBonus(combatRating)
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Arguments
combatRating | luaIndex |
|---|
Returns
result | number |
|---|
GetXPExhaustion
result = GetXPExhaustion()
Returns
result | number may be nil |
|---|
HasAPEffectsSpellPower
result = HasAPEffectsSpellPower()
Returns
result | bool |
|---|
HasDualWieldPenalty
result = HasDualWieldPenalty()
Returns
result | bool |
|---|
HasFullControl
result = HasFullControl()
Returns
result | bool |
|---|
HasIgnoreDualWieldWeapon
result = HasIgnoreDualWieldWeapon()
Returns
result | bool |
|---|
HasKey
hasKey = HasKey()
Returns
hasKey | bool |
|---|
HasNoReleaseAura
hasCannotReleaseEffect, longestDuration, hasUntilCancelledDuration = HasNoReleaseAura()
Returns
hasCannotReleaseEffect | bool | |
|---|---|---|
longestDuration | number | |
hasUntilCancelledDuration | bool |
HasSPEffectsAttackPower
result = HasSPEffectsAttackPower()
Returns
result | bool |
|---|
InitiateTrade
InitiateTrade(guid)
Arguments
guid | UnitToken |
|---|
IsAccountSecured
result = IsAccountSecured()
Returns
result | bool |
|---|
IsAdvancedFlyableArea
result = IsAdvancedFlyableArea()
Returns
result | bool |
|---|
IsCemeterySelectionAvailable
result = IsCemeterySelectionAvailable()
Returns
result | bool |
|---|
IsCharacterNewlyBoosted
newlyBoosted = IsCharacterNewlyBoosted()
Returns
newlyBoosted | bool |
|---|
IsDrivableArea
result = IsDrivableArea()
Returns
result | bool |
|---|
IsDualWielding
result = IsDualWielding()
Returns
result | bool |
|---|
IsFlyableArea
result = IsFlyableArea()
Returns
result | bool |
|---|
IsGuildLeader
result = IsGuildLeader()
Returns
result | bool |
|---|
IsInGuild
result = IsInGuild()
Returns
result | bool |
|---|
IsInJailersTower
result = IsInJailersTower()
Returns
result | bool |
|---|
IsIndoors
result = IsIndoors()
Returns
result | bool |
|---|
IsInsane
result = IsInsane()
Returns
result | bool |
|---|
IsItemPreferredArmorType
isItemPreferredArmorType = IsItemPreferredArmorType(itemLocation)
Arguments
itemLocation | ItemLocation |
|---|
Returns
isItemPreferredArmorType | bool |
|---|
IsJailersTowerLayerTimeLocked
result = IsJailersTowerLayerTimeLocked(layerLevel)
Arguments
layerLevel | number |
|---|
Returns
result | cstring |
|---|
IsLoggedIn
result = IsLoggedIn()
Returns
result | bool |
|---|
IsMounted
result = IsMounted()
Returns
result | bool |
|---|
IsOnGroundFloorInJailersTower
result = IsOnGroundFloorInJailersTower()
Returns
result | bool |
|---|
IsOutOfBounds
result = IsOutOfBounds()
Returns
result | bool |
|---|
IsOutdoors
result = IsOutdoors()
Returns
result | bool |
|---|
IsPVPTimerRunning
result = IsPVPTimerRunning()
Returns
result | bool |
|---|
IsPlayerInWorld
result = IsPlayerInWorld()
Returns
result | bool |
|---|
IsPlayerMoving
result = IsPlayerMoving()
Returns
result | bool |
|---|
IsRangedWeapon
result = IsRangedWeapon()
Returns
result | bool |
|---|
IsResting
result = IsResting()
Returns
result | bool |
|---|
IsRestrictedAccount
result = IsRestrictedAccount()
Returns
result | bool |
|---|
IsStealthed
result = IsStealthed()
Returns
result | bool |
|---|
IsXPUserDisabled
result = IsXPUserDisabled()
Returns
result | bool |
|---|
NoPlayTime
result = NoPlayTime()
Returns
result | bool may be nil |
|---|
NotifyInspect
NotifyInspect(targetGUID)
Arguments
targetGUID | UnitToken |
|---|
PartialPlayTime
result = PartialPlayTime()
Returns
result | bool may be nil |
|---|
PlayerCanTeleport
result = PlayerCanTeleport()
Returns
result | bool |
|---|
PlayerEffectiveAttackPower
mainHandAttackPower, offHandAttackPower, rangedAttackPower, baseAttackPower, baseRangedAttackPower = PlayerEffectiveAttackPower()
May return nothing.
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
mainHandAttackPower | number | |
|---|---|---|
offHandAttackPower | number | |
rangedAttackPower | number | |
baseAttackPower | number | |
baseRangedAttackPower | number |
PlayerGetTimerunningSeasonID
timerunningSeasonID = PlayerGetTimerunningSeasonID()
Returns
timerunningSeasonID | number may be nil |
|---|
PlayerIsInCombat
playerIsInCombat = PlayerIsInCombat()
Returns
playerIsInCombat | bool |
|---|
PlayerIsTimerunning
playerIsTimerunning = PlayerIsTimerunning()
Returns
playerIsTimerunning | bool |
|---|
PortGraveyard
PortGraveyard()
RandomRoll
RandomRoll(min, max)
Arguments
min | number | |
|---|---|---|
max | number |
ReagentsFromBankAllowed
allowed = ReagentsFromBankAllowed()
Returns
allowed | bool |
|---|
RepopMe
RepopMe()
RequestTimePlayed
RequestTimePlayed()
RespondInstanceLock
RespondInstanceLock(acceptLock)
Arguments
acceptLock | bool |
|---|
ResurrectGetOfferer
name = ResurrectGetOfferer()
Returns
name | cstring |
|---|
ResurrectHasSickness
result = ResurrectHasSickness()
Returns
result | bool |
|---|
ResurrectHasTimer
result = ResurrectHasTimer()
Returns
result | bool |
|---|
RetrieveCorpse
RetrieveCorpse()
SetAllowLowLevelRaid
SetAllowLowLevelRaid([allow])
Arguments
allow | bool default false |
|---|
SetAllowRecentAlliesSeeLocation
SetAllowRecentAlliesSeeLocation(allowRecentAlliesSeeLocation)
Arguments
allowRecentAlliesSeeLocation | bool |
|---|
SetAutoDeclineGuildInvites
SetAutoDeclineGuildInvites([allow])
Arguments
allow | bool default false |
|---|
SetAutoDeclineNeighborhoodInvites
SetAutoDeclineNeighborhoodInvites([allow])
Arguments
allow | bool default false |
|---|
SetCemeteryPreference
SetCemeteryPreference(cemetaryID)
Arguments
cemetaryID | number |
|---|
SetLootSpecialization
SetLootSpecialization(specializationID)
Arguments
specializationID | number |
|---|
SetTaxiBenchmarkMode
SetTaxiBenchmarkMode([enable])
Arguments
enable | bool default false |
|---|
ShouldDisplayRaidRolesInSocialFrame
result = ShouldDisplayRaidRolesInSocialFrame()
Returns
result | bool |
|---|
ShouldDisplayStoryModeTooltipInSocialFrame
result = ShouldDisplayStoryModeTooltipInSocialFrame()
Returns
result | bool |
|---|
ShouldShowIslandsWeeklyPOI
result = ShouldShowIslandsWeeklyPOI()
Returns
result | bool |
|---|
ShouldShowSpecialSplashScreen
result = ShouldShowSpecialSplashScreen()
Returns
result | bool |
|---|
ShowCloak
ShowCloak(show)
Arguments
show | bool |
|---|
ShowHelm
ShowHelm(show)
Arguments
show | bool |
|---|
ShowingCloak
result = ShowingCloak()
Returns
result | bool |
|---|
ShowingHelm
result = ShowingHelm()
Returns
result | bool |
|---|
SitStandOrDescendStart
SitStandOrDescendStart()
SplashFrameCanBeShown
result = SplashFrameCanBeShown()
Returns
result | bool |
|---|
StartAttack
StartAttack([name], [exactMatch])
Arguments
name | cstring default "0" | |
|---|---|---|
exactMatch | bool default false |
StopAttack
StopAttack()
Stuck
Stuck()
TimeoutResurrect
TimeoutResurrect()
ToggleSelfHighlight
enabled = ToggleSelfHighlight()
Returns
enabled | bool |
|---|
ToggleSheath
ToggleSheath()
ToggleSit
ToggleSit()
Events
PLAYER_IN_COMBAT_CHANGED
inCombat | bool |
|---|
PLAYER_TARGET_DIED
No payload.
Tables
PlayerAttackPowerInfo structure
mainHandAttackPower | number | |
|---|---|---|
offHandAttackPower | number | |
rangedAttackPower | number | |
baseAttackPower | number | |
baseRangedAttackPower | number |