Template talk:Item stat lookup

From Guild Wars 2 Wiki
Jump to navigationJump to search

shortbow + a bunch of other weapon types omitted? -Chieftain AlexUser Chieftain Alex sig.png 15:50, 11 April 2013 (UTC)

Explained in the code comments - a lot of items share lookup tables, so I only created 1 table for that set of items. Redirection is handled within the template code, rather than creating a horde of subtemplate redirects. —Dr Ishmael User Dr ishmael Diablo the chicken.png 17:50, 11 April 2013 (UTC)
theres a code leak then, because on Wooden Shortbow, "Shortbows" appears beneath the description. -Chieftain AlexUser Chieftain Alex sig.png 18:55, 11 April 2013 (UTC)
That's my fault--Relyk ~ talk > 19:08, 11 April 2013 (UTC)
yeah i got ninja'ed by your category fix. -Chieftain AlexUser Chieftain Alex sig.png 19:09, 11 April 2013 (UTC)

legendary[edit]

same as exotic, assume add one line above exotic portion of all switch statement.--Relyk ~ talk > 13:13, 17 April 2013 (UTC)

Fixed, simply standardized legendary to exotic in #var:rarity_std. Makes it much easier to adapt when they implement ascended weapons - only have to change that 1 line instead of updating every lookup table. This was something I had meant to do but forgot. I also need to work on ascended attributes, and figure out how to deal with the "inherent upgrades" on ascended items. —Dr Ishmael User Dr ishmael Diablo the chicken.png 13:42, 17 April 2013 (UTC)

Magic Find[edit]

It appears this template is currently outputting a single value for magic find based on item type, level, and quality? I don't think it works that way; for example, if I'm not mistaken, a rare level 50 amulet can give either a 1% bonus to magic find (if it's made from sunstone) or a 2% bonus to magic find (if it's made from snowflakes); I can't verify in-game at the moment, but the numbers on gw2spidy seem to back this up.

I think we need a major/minor distinction like we have for other attributes. --Felbryn 23:01, 17 April 2013 (UTC)

MF is almost too much of a bother, because GW2DB doesn't recognize it as a "real" attribute, which makes it very annoying to find everything that affects it. If you can compile that list of everything MF-related for me, go ahead. —Dr Ishmael User Dr ishmael Diablo the chicken.png 02:47, 18 April 2013 (UTC)
Query for equipment and upgrade components?--Relyk ~ talk > 02:53, 18 April 2013 (UTC)
If our datastore weren't borked up (for some reason it can't retain the attribute data for specific pages), and if I were confident that everything existed on the wiki, that would be great. —Dr Ishmael User Dr ishmael Diablo the chicken.png 03:58, 18 April 2013 (UTC)
Okay, I finally got around to compiling this data tonight, looking at Pillaging, Explorer's, Traveler's, Wayfarer's, and Snowflake items on the TP. All armor, weapons, and trinkets except Snowflake trinkets have exactly the same numbers: 1% for Pillaging (up to level 50), 3% for Explorer's/Traveler's/Wayfarer's (level 60 and above), regardless of item type or quality. You could still call that major/minor, sure, but there's no overlap to worry about, so it doesn't matter.
Snowflake trinkets are just special snowflakes, forgive the pun. Snowflake Platinum Amulet gw2db and [[Opal Platinum Amulet (rare)]] gw2db are both rare L65 amulets, both of which should have MF as a major attribute, but they have different MF values. We'll just have to deal with Snowflake items explicitly. —Dr Ishmael User Dr ishmael Diablo the chicken.png 03:29, 24 April 2013 (UTC)
What makes you think Snowflake Platinum Amulet should have MF as a major attribute? I have Snowflake listed as MF-minor in the Item nomenclature triple attribute table (with the major attribute being boon duration). Admittedly, that's specifically and only because it grants less MF than opal, but that seems like a pretty good reason to me. There are no other "minor" MF bonuses in that level range to compare it to, so for all we know the snowflake MF progression is perfectly normal for having MF as a minor attribute.
(Conversely, for double-attribute prefixes, I have snowflake as MF-major and Pillaging as MF-minor—but that one's fairly clear-cut, since Pillaging clearly has power as a major and 2-attribute snowflake clearly has healing as a minor.) --Felbryn 05:03, 24 April 2013 (UTC)
Snowflake Platinum Amulet is dual-attribute, not triple. And the value for Healing Power matches the minor attribute value for level 65 rare amulets, so MF must be the major attribute there.
The level 75 rare Snowflake Mithril Amulet is also only dual-attribute, but there's no level 75 rare Opal amulet to compare to (the rare Opal Mithril Amulet is level 80), so I didn't mention that at first. However, amulets and one-handed weapons share the same attribute scaling, so just compare the Snowflake Mithril Amulet gw2db to e.g. Rampager's Axe of Hobbling gw2db . +51 is obviously the minor attribute on the axe, and the amulet has +51 HP, so again the MF must be the major attribute. But having 2% at level 75 doesn't fit at all with the 3% that fine and exotic items have at level 75, or that rare Exp/Trav/Wayf items have at levels 74 and 79. —Dr Ishmael User Dr ishmael Diablo the chicken.png 13:01, 24 April 2013 (UTC)
Oh, I didn't realize snowflake continued using the dual-attribute version beyond the level that everything else does. In that case, all bets are off.
Of course, one interpretation of that is that it actually is using the triple-attribute prefix, but that boon duration has a value of 0% until you get to level 80 and hence isn't displayed. Which seems to be consistent with Giver's armor also being dual-attribute until level 80 but Giver's weapons becoming triple-attribute at the normal point.
But at this point, considering the other balance issues and the fact that the duration bonuses didn't actually work until months after they were added, I guess I'm just going to say that ArenaNet dropped the ball with the wintersday prefixes (probably added by the event team instead of the normal content development team or something). --Felbryn 16:41, 24 April 2013 (UTC)

Upgrades[edit]

Is there any reason this can't be extended to work for suffixes as well? I believe you only need two more categories (jewel and universal upgrade). --Felbryn 23:02, 17 April 2013 (UTC)

They don't follow the type-rarity-level standard, for one thing. Level 50 masterwork shards have the same stat numbers as level 50 fine seals, and the level 50 masterwork ornate jewels have higher stats. Instead, all base items (gemstones and universal upgrades) share stat progression, while single-gem jewels (1 gem + 1 filigree) have a different progression (including the Exquisite level 80 exotic jewels), and all five-gem jewels share a third progression (the Embellished rare jewels). —Dr Ishmael User Dr ishmael Diablo the chicken.png 00:13, 18 April 2013 (UTC)

Archived from Template talk:Item stat lookup/magic find/weapon[edit]

Per this (Pillaging Steel Axe), I believe that masterwork req 50 may be +2 instead of +1 as listed on this template. obviously needs checking :) -Chieftain AlexUser Chieftain Alex sig.png 22:36, 23 April 2013 (UTC)

It's 1% for all L50 weapons, masterwork and rare, verified on TP. —Dr Ishmael User Dr ishmael Diablo the chicken.png 22:42, 23 April 2013 (UTC)
I think dr ishmael grabbed all the stats from the TP or at least something better than gw2db.--Relyk ~ talk > 22:46, 23 April 2013 (UTC)
Actually, I grabbed most attributes from gw2db - all the ones they list properly, they got correct. But the way they list MF and Boon/Condition Duration is odd (and you can't filter for them), so I double-checked them on the TP. However, I also checked the TP again before responding to Alex here. —Dr Ishmael User Dr ishmael Diablo the chicken.png 23:51, 23 April 2013 (UTC)

"Wanted" Templates[edit]

According to Special:WantedTemplates the following variants are missing:

  • [[Template:Item stat lookup/minor attribute/]]‏‎ (48 links)
  • [[Template:Item stat lookup/major attribute/]]‏‎ (48 links)
  • [[Template:Item stat lookup/max strength/]]‏‎ (1 link)
  • [[Template:Item stat lookup/min strength/‏‎]] (1 link)
  • [[Template:Item stat lookup/minor attribute/speargun‏‎]] (1 link)
  • [[Template:Item stat lookup/defense/‏‎]] (1 link)
  • [[Template:Item stat lookup/defense/helm]]‏‎ (1 link)
  • [[Template:Item stat lookup/defense/medium x]]‏‎ (1 link)
  • [[Template:Item stat lookup/major attribute/speargun]]‏‎ (1 link)

What's the best way to handle this? ~ 1Maven (talk) 19:09, 21 June 2015 (UTC)

/speargun was just PvP Makeshift Harpoon Gun with the wrong weapon type given.
/medium x was just some dude with his sandbox.
/helm is because the type isn't given (which is correct) on Cistern Aquabreather, the other /(empty) options are similar problems from FM table.
/major minor is due to some item not providing any parameters at all.
tl;dr don't worry about special:wantedtemplates, sometimes it pops up and can be ignored. -Chieftain AlexUser Chieftain Alex sig.png 20:10, 21 June 2015 (UTC)

updating for Game updates/2015-06-23[edit]

I've updated all the major/minor/celestial subtemplates with values from the API. Unfortunately, there were quite a few combinations that did not show up in the API for various reasons. I moved them to an HTML comment at the end of each template in hopes that I or someone else can look at them later and figure out where they came from, whether they need to be updated, and what the new values are. —Dr Ishmael User Dr ishmael Diablo the chicken.png 20:09, 30 June 2015 (UTC)

updating for Heart of Thorns - quad attributes[edit]

I've got everything I can from the API.

  • I'm pretty sure there are no rare armors with 4A, so I left that branch out of the armor lookups.
  • I can't find any ascended 4A accessories.
  • I can't find any 4A back items; they'd probably have selectable stats anyway.

Dr Ishmael User Dr ishmael Diablo the chicken.png 17:10, 31 October 2015 (UTC)

There are ascended 4-stat amulets available from achievements for each Heart of Thorns act. I tried to add a list of selectable stats for the Mordrem Loop but the template is providing incorrect numbers. — Cyrus York (talk) 17:58, 10 November 2015 (UTC)
Ascended stats for ascended accessories are given by the prefix "at ..." - using this gives the correct values.
(the ascended prefixes have the jewel bonuses included, the increase for which is calculated by {{Prefix attributes}}). -Chieftain AlexUser Chieftain Alex sig.png 18:18, 10 November 2015 (UTC)