Editing Template talk:Hero

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
s_hota_mp input is doubling itself at hero pages.--[[User:GroundhogYear|GroundhogYear]] ([[User talk:GroundhogYear|talk]]) 00:19, 1 April 2020 (UTC)
s_hota_mp input is doubling itself at hero pages.--[[User:GroundhogYear|GroundhogYear]] ([[User talk:GroundhogYear|talk]]) 00:19, 1 April 2020 (UTC)
: Fixed.
: Fixed.
:: maybe there is a sense to use s_hota_mp/s_hota2_mp when min, max and hota movepoints are the same--[[User:GroundhogYear|GroundhogYear]] ([[User talk:GroundhogYear|talk]]) 01:37, 1 April 2020 (UTC)
Is there some way to make the "starting spell" thing optional or something (I assume there is, because there can be people with only one starting skill, but I wouldn't know how to do it)?  Because most might heroes don't have a starting spell at all, so "starting spell" isn't applicable to them. [[User:Ibraesil|Ibraesil]] ([[User talk:Ibraesil|talk]]) 00:42, 13 February 2016 (CET)
Is there some way to make the "starting spell" thing optional or something (I assume there is, because there can be people with only one starting skill, but I wouldn't know how to do it)?  Because most might heroes don't have a starting spell at all, so "starting spell" isn't applicable to them. [[User:Ibraesil|Ibraesil]] ([[User talk:Ibraesil|talk]]) 00:42, 13 February 2016 (CET)


Line 16: Line 14:


** I added the variables chance_1, chance_2, and chance_3. ―[[user:imahero|imahero]] 02:48, 14 May 2018 (CEST)
** I added the variables chance_1, chance_2, and chance_3. ―[[user:imahero|imahero]] 02:48, 14 May 2018 (CEST)
== Starting troops probabilities ==
wanted to check our current 75/25 probabilities for the second/third stacks and got these results:
{| border
!+ colspan=5| 120 prison generations per hero type, SoD + HD mode</br>war machine counts as a second stack
|-
! Stacks || Ballista heroes || Tent heroes || Regular heroes || Total
|-
| 1 || 8 (6,7%) || 9 (7,5%) || 13 (10,8%) || 30 (8,3%)
|-
| 1, 2 || 83 (69,2%) || 82 (68,3%) || 82 (68,3%) || 247 (68,6%)
|-
| 1, 3 || 4 (3,3%) || 3 (2,5%) || 2 (1,7%) || 9 (2,5%)
|-
| 1, 2, 3 || 25 (20,8%) || 26 (21,7%) || 23 (19,2%) || 74 (20,6%)
|}
since the numbers were added by Kapteeni ([[https://heroes.thelazy.net/index.php?title=Template:Hero&direction=next&oldid=27002]]), we cannot ask about sources
war machine probability was added later and is just a copy of the second stack's, i think
'tribute to strategists' says about 9/69/22 percents for heroes with 1/2/3 stacks, talking nothing about difference between 1-2 and 1-3 generations.
'fizmig' gives the same 9/69/22 but notes that 69 is a probability for both 1-2 and 1-3, not explaining the sub-probabilities though. this looks problematic personally for me, cause 69 is the only stable number from the tests and it tells about 1-2 generations only.
ofc, 1000 generations could give more precise data, but the process is too much fun, and will have not enough probative power anyway.
so im dividing the 'tribute's 22% into 20% for the 1-2-3 and 2% for 1-3 generations
resulting changes will look like:
75% > 89% (1,2 + 1,2,3)</br>
25% > 22% (1,3 + 1,2,3)
waiting for the Wise One with the source numbers from the game code --[[User:GroundhogYear|GroundhogYear]] ([[User talk:GroundhogYear|talk]]) 13:11, 22 March 2021 (UTC)
:The .exe file holds these values for the second and third stack probability: the offset 0x0C949E = 0x58 (88 in decimal) and the offset 0x0C9520 = 0x19 (25 in decimal). So, the chances for the second and the third ones are 88% and 25%  respectively --[[User:Mortarial|Mortarial]] ([[User talk:Mortarial|talk]]) 16:57, 22 March 2021 (UTC)
== Hero portrait size ==
Changed it to 58px wide aka default size to stop unwanted blurriness. Perhaps in the future, a border can be made or coded around the image if it feels too small, but for now at least they're no longer blurry. [[File:Hero Cosmos small.gif|link=special:contributions/phasma|→ Phasma]] 18:09, 31 May 2023 (UTC)
: nah, still blurry, its just not big enough to notice now. 
: [[File: Hero Adelaide.png|58px]] <span style="image-rendering: pixelated;">[[File: Hero Adelaide.png|58px]]</span>
: [[File: Hero Adelaide.png|82px]] <span style="image-rendering: pixelated;">[[File: Hero Adelaide.png|82px]]</span><br />
: but maybe we should stick to blurriness, since a true pixel tends to hurt little children's eyes--[[User:GroundhogYear|GroundhogYear]] ([[User talk:GroundhogYear|talk]]) 06:50, 1 June 2023 (UTC)
== Problem with the "s_link" value ==
There is a problem with this link - It only affects the spell that is displayed in the table on the left but it doesn't affect the article text. For example (possibly the ONLY example), on the page of Adrienne the Witch: [[Adrienne]]. You can see that the link to the inferno spell works fine on the table to the left but the text on the article itself says "starts with a spell book and the spell Inferno" and the link to "inferno" is incorrect there. I don't know how to fix this. --[[Special:Contributions/141.226.14.115|141.226.14.115]] 06:49, 24 November 2023 (UTC)
: :) [[File:Hero Stormblessed small.gif|→ima|link=user:imahero]] 18:26, 24 November 2023 (UTC)
Thank you for fixing the problem, Imahero. --[[Special:Contributions/141.226.162.200|141.226.162.200]] 02:31, 1 December 2023 (UTC)
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)