Template talk:Hero infobox

Health Regeneration
I'm thinking Base Hitpoint Regeneration should be listed in the infoboxes. Although not a listed stat on the Playdota pages, it is a stat that I think is significant enough to mention in the infobox. I didn't edit it in myself because I'm not sure how to preserve the translation coding. Func door 04:11, 30 August 2011 (CDT)
 * Sure, it's definetly an important stat, and I agree, when creating/modifying templates translation should be preserved or created if there isn't. Also this may be a bit offtopic but, should we put the stats from Playdota while we wait for the beta to start? ChocolateWaffle 06:37, 30 August 2011 (CDT)

Adding information
When changing the infobox to show additional information, consider these questions: would this information change an encounter with this hero? Is this something I might need to quickly reference? Does this fit better in the article than in the infobox? Does the information fit in the infobox at all? -Lancey 11:30, 20 September 2011 (CDT)

Proposed parameter name changes
I propose to change the name of the following parameters: I'll wait for several hours before doing this, so any comments in favor or opposed are appreciated. If there are any other parameters you think could be renamed, suggest those too. The chief reason for doing this is the horribly-named "main", but as long as we're changing that one, a bot can do some others at the same time. --Kroocsiogsi 18:19, 5 May 2012 (UTC)
 * "move speed" -> "movement speed"
 * "main" -> "primary attribute"
 * "team" -> "faction"
 * "attack speed" -> "BAT"
 * Sounds good! The only one that seems odd is BAT since it'd be the only acronym, but it's more accurate than attack speed and "base attack time" is probably too long so I'm fine with it. --Pigbuster 18:27, 5 May 2012 (UTC)
 * Yeah, Nickoladze mentioned the same issue. --Kroocsiogsi 19:06, 5 May 2012 (UTC)

Stats slider
Is it possible to have a hero infobox stats slider like Strife.

Health regen infos are missing
Since many heroes have varying base health regen, I think they should be added into the info boxes aswell (for unit and hero info box). Bu3ny (talk) 11:42, 4 November 2014 (UTC)

Witch Doctor level 16 damage
Not sure if this belongs here or the Witch Doctor page, but Witch Doctor's hero infobox is showing his level 16 damage as "96-82". His max damage should be 10 more than his min damage, not 14 less, so obviously something's wrong with the damage calculation on this template for him. Anyone want to take a crack at finding the bug? --98.221.77.150 13:42, 29 May 2015 (UTC)


 * Tiny typo on int hero's lvl 16 dmg calculation. Should be fixed now. Bu3ny (talk) 20:36, 29 May 2015 (UTC)

Usinc trunc in the formulas results in wrong numbers
Appereantly, trunc cuts off decimals in all numbers, and not just in the result. This leads to the infobox displaying wrong numbers.

For example, the mana calculation formula looks like this

If we apply this on e.g. Storm Spirit, who has 23 int and 2.6 int game, it calculates this

Without cutting off the demicals, the exact result would be 1370.2 and with cutting, it should be 1370. This is what the infobox is expected to display.

But instead, it already cuts off the decimals of the result of 2.6*24, changing 62,4 into 62, so it calculates (20+23+62)*13, which results in 1365 and it displays 1365 in the infobox.

So instead of truncating the final result, it truncates all interim results within the formula as well. So for every hero, the hp/mana display in the infobox is wrong on lvl 16 and 25.

How can we make it so it only truncates the final result? Bu3ny (talk) 12:48, 15 June 2015 (UTC)


 * Nevermind, solved it. Moving the bracket from before to after trunc fixed it. Bu3ny (talk) 13:43, 15 June 2015 (UTC)

Wrong Stat Calculation
Some stats are being calculated wrong. I checked some heroes on a sheet and they are all off by some value.

For example, the damages (min and max) at levels 16 and 25 are off by exact 2 and 20, respectively.

But there's some discrepancy on other stats aswell: HP, Mana, Regens, att/sec, armor.

When i checked the template page I saw this: http://dota2.gamepedia.com/Template:Hero_infobox A hero with 0 base str and 0 str gain, magically gains 0,07 hp regen/s when he reaches lvl 16 and more 0,54 hp regen/s when he reaches lvl 25. He also gains HP, Mana, armor, among other things...

I think this template should be checked again....

PS: I don't know how to do it, or I'd do it myself.


 * The template includes, one level on lvl 16 and max level on 25 (and in case of invoker, it includes his orbs). Bu3ny (talk) 17:21, 30 November 2015 (UTC)

SMW rework incoming
Sneak peak here: http://pastebin.com/cb7pW38J

Please let me know if you prefer "attack speed" or "base attack time". ~(Currently not logged in) User:Molldust


 * Should be base attack time.  Bu3ny  (talk) 19:29, 17 March 2016 (UTC)

Problem
Plz also add to the base attack damage ( ‒ ), bugged in zh-hans --Dotalim0204 (talk) 15:01, 18 June 2016 (UTC)

Spell dmg
Maybe we can add a "+" sign at there --Dotalim0204 (talk) 12:37, 1 July 2016 (UTC)


 * What for? The table shows the total spell damage value, not additional value. And there is already little room.  Bu3ny  (talk) 17:19, 1 July 2016 (UTC)