User talk:Legate: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Bugs page ==
== Thank you ==
I added the bugs page you wanted. Can you help me update it with the remaining bugs we already have a record of? --[[User:Csaros|Csaros]] ([[User talk:Csaros|talk]]) 18:10, 25 January 2024 (UTC)
* Nice, I'll add to that page as I come across issues. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 18:22, 25 January 2024 (UTC)


==Factory Spell chances==
Thank you for help with the Map Editor formatting. - [[User:Csaros|Csaros]] ([[User talk:Csaros|talk]])
For the Factory spell chances, I also found the real numbers (off the top of my head I believe level 1 spells had a sum of 37 chances). Do you want me to write it down somewhere? --[[User:Csaros|Csaros]] ([[User talk:Csaros|talk]]) 21:33, 25 January 2024 (UTC)
* Sure, feel free to dump them here. I might be inclined to write a program later to figure them out for real, but it would be nice to not have to do that :) --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 21:35, 25 January 2024 (UTC)
* I calculated the values using some simple statistics. Level 1: 37 slots, 1 slot corresponds to 2.703% chance. Level 2: Exactly 50 slots, each corresponds to 2% chance. Level 3: Again, 50 slots, 2% each. Note that no spell has a 2% chance on this level. Level 4: 20 slots, 5% each. Level 5: 25 slots, 4% each.
** You lost me. Slot? Is that the number of spells at that level? Or just the lowest common denominator for spells and each spell would take a few slots? The main problem complicating the math is the no replacement (i.e. you can't get magic arrow twice in a level 1 mage guild).
*** If I understand the spell system in Heroes III correctly, it works as follows: You have X slots (say, cells), with X different for each level. F.e. Factory has 37 slots for spells of level 1. Now some of them are filled with "magic arrow" id, some with "cure" id, etc. Then, the game randomly chooses out of all slots, ignoring those that match an already appearing spell. If this is how it works, I understand the Documentation of HotA percentage chance to reflect just this spell appearing in 1 slot. In that case, it would be 1/37 chance of appearing in 1 slot for spells with 1 id in all slots, 2/37 for spells that have their id in two slots... That's why the percentages always add up to 100. They only refer to 1 slot. This is all, provided I understand the system. Again, the percentages we have refer to a spell appearing in 1 slot then. Edit: I'll raise you. I believe all spell probabilities we have overall refer to 1 slot chance (see how they add up to 100% for each level, where they shouldn't if it's a chance of a spell appearing AT ALL). --[[User:Csaros|Csaros]] ([[User talk:Csaros|talk]]) 19:58, 26 January 2024 (UTC)
*** My understanding is that the mage guild page just normalizes the percentage for appearing as the 1st spell in a given level. For example, Magic arrow has a 30 on that page (which would mean it appears 11/37 slots ~= 29.73% which rounds to 30). The complication arises in calculating the chance for magic arrow to appear at all in a Factory level 1 mage guild (which is the value shown on the individual spell pages), not just as the first spell at that level. For that, I believe the math (for a level 1 spell) would be 1 - (chance of NOT appearing as the 1st spell)*(chance of NOT appearing as the 2nd spell)*(chance of NOT appearing as the 3rd spell)*(chance of NOT appearing as the 4th spell)*(chance of NOT appearing as the 5th spell) = 1 - (11/37)*(11/(37-(# of slots used by whatever spell did get selected for the 1st slot))*(11/(37-(1st selection spell slots)-(2nd selection spell slots))*(11/(37-(1st slots)-(2nd slots)-(3rd slots))*(11/(37-(1st slots)-(2nd slots)-(3rd slots)-(4th slots)). Since many of the spells have a different # of spell slots, we would have to calculate all the possible permutations of different spells getting chosen and put them together.
**** It's probably worth noting somewhere that all this math goes out the window once a level creator starts banning spells (as that would reduce the total # of slots of a given level).
 
== Thank you ==


Thank you for all the feedback and ideas and help with the new main page! I think it's done now, unless you have any other ideas or tweaks? I'll also leave the question up on Discord for people to chime in if they want to and perhaps change it within a week. [[File:Hero Cosmos small.gif|link=special:contributions/phasma|→ Phasma]] 17:25, 26 January 2024 (UTC)
Nice work on Hero specialty‎‎! Now it looks more organized and clearer. --[[User:Sanust|Sanust]] ([[User talk:Sanust|talk]]) 04:41, 8 February 2024 (UTC)

Latest revision as of 04:42, 8 February 2024

Thank you[edit]

Thank you for help with the Map Editor formatting. - Csaros (talk)

Nice work on Hero specialty‎‎! Now it looks more organized and clearer. --Sanust (talk) 04:41, 8 February 2024 (UTC)