Eirik Ratcatcher@legacy41591109 (talk | contribs) No edit summary |
Drdoom5081 (talk | contribs) (Manually migrated from wowwiki) |
||
Line 1: | Line 1: | ||
+ | {{wowapi}} |
||
− | <onlyinclude>{{tooltip |
||
+ | Returns the power level of the specified unit. |
||
− | |float={{#ifeq:{{PAGENAME}}|Mechanical Dragonling|right|left}} |
||
+ | power = UnitPower("unit" [, powerType]); |
||
− | |width=18em |
||
− | |skill=Engineering (200) |
||
− | |sell={{cost||60|}} |
||
− | |icon=INV_Misc_Head_Dragon_01 |
||
− | |quality=Common |
||
− | |bind=BoE |
||
− | |slot=Trinket |
||
− | |itemid=4396 |
||
− | |unique-eq=1 |
||
− | |ilvl=40 |
||
− | |name=Mechanical Dragonling |
||
− | |level=30 |
||
− | |effect=Use: Activates your Mechanical Dragonling to fight for you for 1 min. It requires an hour to cool down before it can be used again.}}</onlyinclude> |
||
+ | ==Arguments== |
||
− | [[image:mech_dragon.jpg|thumb|A mechanical Dragon]] |
||
+ | ;[[API TYPE UnitId|UnitId]] : String - The UnitID of the unit whose power should be returned |
||
− | A [[Mechanical Dragonling]] is a [[trinket]] that summons a mechanical dragonling [[Guardian pet]]. |
||
+ | ;[[powerType]] : Number (optional) - The power type of the unit whose power should be returned |
||
− | It requires engineering skill of at least 200 to use. |
||
− | == |
+ | ==Returns== |
+ | ;power : Number - the unit's current power level. |
||
+ | ==Type== |
||
− | Mechanical Dragonling is created by [[Engineering|engineers]] with a skill of 200. |
||
+ | If Type is omitted or nil, UnitPower returns the current primary type, e.g., energy for a druid in cat form. You can determine the current power type via {{api|UnitPowerType}}. Values for all power types are available in any form. |
||
⚫ | |||
− | The components are: |
||
+ | * [[API UnitPowerMax|UnitPowerMax]] |
||
− | *1 [[Bronze Framework]] |
||
− | *4 [[Iron Strut]] |
||
− | *4 [[Gyrochronatom]] |
||
− | *2 [[Citrine]] |
||
− | *1 [[Fused Wiring]] |
||
− | |||
− | The recipe for this item is taught by {{loot|common|Schematic: Mechanical Dragonling}}. |
||
− | This [[schematic]] is a [[limited sale recipe]] sold by [[Gnaz Blunderflame]] in [[Stranglethorn Vale]]. |
||
− | |||
− | == Notes == |
||
⚫ | |||
− | * [[Mithril Mechanical Dragonling]] |
||
− | * [[Arcanite Mechanical Dragonling]] |
||
− | |||
− | === External links === |
||
− | {{elinks-item|4396}} |
||
− | |||
− | {{EngineeringFooter}} |
||
− | |||
− | [[Category:Engineering Products]] |
||
− | [[Category:Engineering Ingredients]] |
||
− | [[Category:Trinkets]] |
||
− | [[Category:Small Pets]] |
||
− | [[Category:Guardian Pets]] |
||
− | [[Category:Dragon Whelps]] |
Revision as of 19:12, 21 October 2010
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the power level of the specified unit.
power = UnitPower("unit" [, powerType]);
Arguments
- UnitId
- String - The UnitID of the unit whose power should be returned
- powerType
- Number (optional) - The power type of the unit whose power should be returned
Returns
- power
- Number - the unit's current power level.
Type
If Type is omitted or nil, UnitPower returns the current primary type, e.g., energy for a druid in cat form. You can determine the current power type via UnitPowerType. Values for all power types are available in any form.