Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
 
(bot; deploying #data/itemtip)
 
Line 1: Line 1:
  +
{{#data:itemtip
{{wowapi}} __NOTOC__
 
  +
|name=Arrowsong
  +
|quality=epic
  +
|icon=inv_weapon_bow_40
  +
|bind=BoP
  +
|slot=Ranged
  +
|type=Bow
  +
|dmglow=399
  +
|dmghigh=741
  +
|speed=2.80
  +
|agility=31
  +
|stamina=51
  +
|durability=90
  +
|crit=20
  +
|hit=16
  +
|level=80
  +
|ilvl=213
  +
|sellprice=161331
  +
|itemid=40265}}
   
==Initialization==
+
== Source ==
  +
This item drops from [[Patchwerk]] in the 25-man version of [[Naxxramas]].
A one-time call to [[API SetMapToCurrentZone|SetMapToCurrentZone]]() is needed to return the correct values.
 
   
  +
== External links ==
==Usage==
 
  +
<!-- Read http://www.wowpedia.org/Wowpedia:External_links before posting your links here.
Returns the position of a unit on the current map
 
  +
Links that do not conform to the rules will be DELETED.
 
  +
Repeat violations may result in a BAN.
posX, posY = GetPlayerMapPosition("unit");
 
  +
Have a nice day. :) -->
 
  +
{{Elinks-item|40265}}
== Parameters ==
 
  +
[[Category:World of Warcraft epic bows]]
=== Arguments ===
 
  +
[[Category:Naxxramas items]]
 
:;unit : String - The [[unitId]] for which the position is returned. Does not work with all unit types. Works with <tt>"player"</tt>, <tt>"party''N''"</tt> or <tt>"raid''N''"</tt> as unit type. In particular, it does not work on pets. This was to disable range-checking mods.
 
 
=== Returns ===
 
 
:posX, posY
 
:;posX : Number - X value of the unit position (a proportion between 0 and 1, relative to WorldMapDetailFrame)
 
:;posY : Number - Y value of the unit position (a proportion between 0 and 1, relative to WorldMapDetailFrame)
 
 
: If both posX and posY are exactly 0, the position is unknown, unknowable, or not valid for the current map, i.e.
 
:* The player is inside an instance: the game will never return coordinates inside an instance. (CHANGED AS OF 3.0.1 - coordinates are returned within instances) (CHANGED again AS OF 3.0.3 - coordinates are no longer returned inside instances) (CHANGED again. In 3.1.1 (possibly earlier) coordinates are being returned in instances.)
 
:* The map hasn't been updated yet; either open the map or use [[API SetMapToCurrentZone|SetMapToCurrentZone]]() after entering a new zone
 
:* An unsupported [[unitId]] was given.
 
:* You're actually at 0,0 in a given map, which although its unlikely, its perfectly possible and legal.
 
 
== Example ==
 
local posX, posY = GetPlayerMapPosition("player");
 
 
=== Result ===
 
0.43320921063423, 0.69365233182907
 

Revision as of 21:44, 21 February 2011

Inv weapon bow 40

Source

This item drops from Patchwerk in the 25-man version of Naxxramas.

External links