12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 28 ■ API Categories 1101UnitChannelInfo—Returns in<strong>for</strong>mation about the spell a unit is currentlychannelingUpdateSpells—Requests spellbook in<strong>for</strong>mation from the serverStance/Shapeshift FunctionsCancelShapeshiftForm—Cancels the current shapeshift <strong>for</strong>mCastShapeshiftForm—Casts an ability on the stance/shapeshift barGetNumShapeshiftForms—Returns the number <strong>of</strong> abilities to be presented onthe stance/shapeshift barGetShapeshiftForm—Returns the index <strong>of</strong> the active ability on the stance/shapeshift barGetShapeshiftFormCooldown—Returns cooldown in<strong>for</strong>mation about anability on the stance/shapeshift barGetShapeshiftFormInfo—Returns in<strong>for</strong>mation about an ability on thestance/shapeshift barStat In<strong>for</strong>mation FunctionsGetArmorPenetration—Returns the percentage <strong>of</strong> enemy armor ignored dueto the player’s Armor Penetration RatingGetAttackPowerForStat—Returns the attack power bonus provided by one<strong>of</strong> the player’s basic statisticsGetBlockChance—Returns the player’s percentage chance to block with ashieldGetCombatRating—Returns the value <strong>of</strong> a combat rating <strong>for</strong> the playerGetCombatRatingBonus—Returns the percentage effect <strong>for</strong> the player’s currentvalue <strong>of</strong> a given combat ratingGetCritChance—Returns the player’s melee critical strike chanceGetCritChanceFromAgility—Returns additional critical strike chance providedby AgilityGetDamageBonusStat—Returns the index <strong>of</strong> the basic statistic that providesincreased physical damageGetDodgeChance—Returns the player’s chance to dodge melee attacksGetExpertise—Returns the player’s current expertise valueGetExpertisePercent—Returns the reduction in chance to be dodged orparried conferred by the player’s expertise value

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!