Wikia

WoWWiki

API UnitAttackBothHands

Talk0
98,473pages on
this wiki
Revision as of 09:54, September 4, 2007 by WoWWiki-Suran (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

Returns information about the unit's melee attacks.

mainBase, mainMod, offBase, offMod = UnitAttackBothHands(unit);

ParametersEdit

ArgumentsEdit

unit 
String - The UnitId to get information from. (Verified for "player" and "target")

ReturnsEdit

mainBase 
Number - The unit's base main hand weapon skill (not rating).
mainMod 
Number - Any modifier to the unit's main hand weapon skill (not rating).
offBase 
Number - The unit's base offhand weapon skill (not rating)(equal to unarmed weapon skill if unit doesn't dual wield).
offMod 
Number - Any modifier to the unit's offhand weapon skill (not rating).
Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki