Template:Spell probability table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:


{{sptheader}}
{{sptheader}}
{{sptrow| Bless                | Water | 1 |41 |23 |23 |14 | 0 |14 |14 |23 |23 |41 |14 }}
{{sptrow| Bless                | Water | 1 | 41 | 23 | 23 |  0 |  0 | 14 | 14 | 23 | 23 | 41 | 14 }}
{{sptrow| Bloodlust            | Fire  | 1 |  0 |  0 |  0 | 41 | 23 | 23 | 41 | 23 | 23 | 23 | 23 }}
{{sptrow| Cure                  | Water | 1 | 41 | 41 | 23 | 23 |  0 | 23 | 23 | 41 | 23 | 23 | 23 }}
{{sptrow| Curse                | Fire  | 1 |  0 |  0 | 14 | 23 | 41 | 23 |  0 |  0 |  0 |  0 |  0 }}
{{sptrow| Dispel                | Water | 1 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 }}
{{sptrow| Haste                | Air  | 1 | 23 | 41 | 23 | 23 | 23 | 41 | 23 | 41 | 41 | 41 | 41 }}
{{sptrow| Magic Arrow          | All  | 1 | 83 | 83 | 83 | 83 | 83 | 83 | 83 | 83 | 83 | 83 | 83 }}
{{sptrow| Protection from Fire  | Fire  | 1 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 }}
{{sptrow| Protection from Water | Water | 1 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 }}
{{sptrow| Shield                | Earth | 1 | 41 | 14 | 23 | 14 | 41 | 23 | 23 | 23 | 23 | 14 | 23 }}
{{sptrow| Slow                  | Earth | 1 | 23 | 41 | 41 | 41 | 23 | 23 | 23 | 23 | 41 | 23 | 23 }}
{{sptrow| Stone Skin            | Earth | 1 | 23 | 23 | 41 | 23 | 41 | 23 | 41 | 23 | 23 | 23 | 41 }}
{{sptrow| Summon Boat          | Water | 1 | 14 | 23 | 23 | 23 | 14 | 23 | 23 | 14 | 14 | 23 | 23 }}
{{sptrow| View Air              | Air  | 1 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 }}
{{sptrow| View Earth            | Earth | 1 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 | 14 }}
{{sptrow| Blind                | Fire  | 2 | 15 | 22 |  8 | 40 | 15 | 15 | 15 | 22 | 28 |  0 | 28 }}
{{sptrow| Death Ripple          | Earth | 2 |  0 |  0 |  0 |  0 | 94 |  0 |  0 |  0 |  0 |  0 |  0 }}
{{sptrow| Disguise              | Air  | 2 |  8 |  8 |  8 | 15 |  8 |  8 |  8 |  0 |  8 |  8 |  8 }}
{{sptrow| Disrupting Ray        | Air  | 2 | 22 | 15 | 22 | 40 | 15 | 22 | 22 | 22 | 28 | 15 | 15 }}
{{sptrow| Fire Wall            | Fire  | 2 | 15 | 15 | 15 | 40 | 15 | 15 | 15 | 15 | 28 | 15 | 15 }}
{{sptrow| Fortune              | Air  | 2 | 15 | 22 | 15 | 15 |  8 |  8 | 15 | 15 |  8 | 15 |  8 }}
{{sptrow| Ice Bolt              | Water | 2 | 94 | 94 | 22 |  0 | 22 | 22 | 15 | 94 | 68 | 94 | 15 }}
{{sptrow| Lightning Bolt        | Air  | 2 | 15 | 15 | 94 | 59 | 22 | 94 | 94 | 15 | 68 | 15 | 94 }}
{{sptrow| Precision            | Air  | 2 | 22 | 22 | 15 | 28 |  8 | 22 | 15 | 15 |  8 | 15 | 22 }}
{{sptrow| Protection from Air  | Air  | 2 |  8 |  8 |  8 | 15 |  8 |  8 |  8 |  8 |  8 |  8 |  8 }}
{{sptrow| Quicksand            | Earth | 2 | 15 | 15 | 22 | 15 | 15 | 15 | 22 | 22 | 15 | 15 | 15 }}
{{sptrow| Remove Obstacle      | Water | 2 | 15 | 15 | 22 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 15 }}
{{sptrow| Scuttle Boat          | Water | 2 | 22 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 28 | 15 }}
{{sptrow| Visions              | All  | 2 |  8 |  8 |  8 | 15 |  8 |  8 |  8 |  8 |  8 |  8 |  8 }}
{{sptrow| Weakness              | Water | 2 |  8 |  8 |  8 | 28 | 15 | 15 | 15 | 15 | 15 | 28 | 15 }}
{{sptrow| Air Shield            | Air  | 3 | 12 | 22 | 22 |  6 | 12 | 12 | 22 | 12 | 12 |  6 | 22 }}
{{sptrow| Animate Dead          | Earth | 3 |  0 |  0 |  0 |  0 | 41 |  0 |  0 |  0 |  0 |  0 |  0 }}
{{sptrow| Anti-Magic            | Earth | 3 | 32 | 22 | 22 | 12 | 22 | 22 | 32 | 27 | 32 | 27 | 22 }}
{{sptrow| Destroy Undead        | Air  | 3 | 32 | 22 | 22 |  6 |  0 | 12 | 12 |  6 | 12 |  6 | 12 }}
{{sptrow| Earthquake            | Earth | 3 | 12 | 22 | 12 | 17 | 12 | 12 | 12 | 88 | 12 | 22 | 22 }}
{{sptrow| Fireball              | Fire  | 3 | 22 | 22 | 22 | 88 | 32 | 41 | 32 |  6 | 32 |  6 | 32 }}
{{sptrow| Force Field          | Earth | 3 | 12 | 12 | 22 |  6 | 22 | 22 | 12 | 12 | 22 | 12 | 22 }}
{{sptrow| Forgetfulness        | Water | 3 | 22 | 22 | 12 | 12 | 12 | 12 | 12 | 12 | 22 | 22 | 12 }}
{{sptrow| Frost Ring            | Water | 3 | 41 | 41 | 41 |  0 | 32 | 32 | 32 | 12 | 32 | 66 | 32 }}
{{sptrow| Hypnotize            | Air  | 3 | 12 | 12 | 22 | 17 |  0 | 22 | 12 | 12 | 32 | 12 | 12 }}
{{sptrow| Land Mine            | Fire  | 3 | 22 | 22 | 22 | 17 | 22 | 32 | 22 |  6 | 12 | 12 | 22 }}
{{sptrow| Mirth                | Water | 3 | 12 | 12 | 12 |  6 | 12 | 12 | 32 |  6 | 12 | 22 | 12 }}
{{sptrow| Misfortune            | Fire  | 3 | 12 | 12 | 12 | 17 | 22 | 12 | 12 |  6 | 12 | 12 | 17 }}
{{sptrow| Protection from Earth | Earth | 3 | 12 | 12 | 12 |  6 | 12 | 12 | 12 |  0 | 12 | 12 | 12 }}
{{sptrow| Teleport              | Water | 3 | 22 | 22 | 22 | 22 | 22 | 22 | 22 | 27 | 22 | 27 | 27 }}
{{sptrow| Armageddon            | Fire  | 4 |  0 |  0 |  0 | 10 | 10 | 19 |  - |  - |  0 |  0 |  0 }}
{{sptrow| Berserk              | Fire  | 4 | 10 | 10 | 10 | 10 | 19 | 10 |  - |  - | 10 | 10 | 10 }}
{{sptrow| Chain Lightning      | Air  | 4 | 19 | 19 | 19 | 19 | 19 | 19 |  - |  - | 19 | 19 | 19 }}
{{sptrow| Clone                | Water | 4 | 10 | 10 | 19 | 10 | 10 | 10 |  - |  - | 19 | 19 | 10 }}
{{sptrow| Counterstrike        | Air  | 4 | 10 | 19 | 10 | 10 | 10 | 10 |  - |  - | 10 | 10 | 10 }}
{{sptrow| Fire Shield          | Fire  | 4 | 10 | 10 | 10 | 10 | 10 | 10 |  - |  - | 10 | 10 | 10 }}
{{sptrow| Frenzy                | Fire  | 4 | 10 | 10 | 10 | 10 | 10 | 10 |  - |  - | 10 | 10 | 10 }}
{{sptrow| Inferno              | Fire  | 4 | 10 | 10 | 10 | 19 | 10 | 10 |  - |  - | 19 | 10 | 19 }}
{{sptrow| Meteor Shower        | Earth | 4 | 19 | 19 | 19 | 19 | 19 | 19 |  - |  - | 19 | 19 | 19 }}
{{sptrow| Prayer                | Water | 4 | 19 | 10 | 10 |  0 |  0 |  0 |  - |  - | 10 | 19 | 10 }}
{{sptrow| Resurrection          | Earth | 4 | 19 | 19 | 19 | 19 | 19 | 19 |  - |  - | 10 | 10 | 19 }}
{{sptrow| Slayer                | Fire  | 4 | 10 | 10 | 10 | 10 | 10 | 10 |  - |  - | 10 | 10 | 10 }}
{{sptrow| Sorrow                | Earth | 4 | 10 | 10 | 10 | 10 | 10 | 10 |  - |  - | 10 | 10 | 10 }}
{{sptrow| Town Portal          | Earth | 4 | 19 | 19 | 19 | 19 | 19 | 19 |  - |  - | 19 | 19 | 19 }}
{{sptrow| Water Walk            | Water | 4 | 19 | 19 | 19 | 19 | 19 | 19 |  - |  - | 19 | 19 | 19 }}
{{sptrow| Summon Air Elemental  | Air  | 5 |  - |  0 | 14 |  0 | 16 |  0 |  - |  - | 12 |  - | 16 }}
{{sptrow| Dimension Door        | Air  | 5 |  - | 20 | 14 | 16 | 16 | 16 |  - |  - | 13 |  - | 16 }}
{{sptrow| Summon Earth Elemental| Earth | 5 |  - | 16 | 14 | 16 | 16 | 12 |  - |  - | 12 |  - | 16 }}
{{sptrow| Summon Fire Elemental | Fire  | 5 |  - |  0 |  0 | 16 |  0 | 12 |  - |  - | 12 |  - |  0 }}
{{sptrow| Fly                  | Air  | 5 |  - | 16 | 16 | 16 | 16 | 12 |  - |  - | 13 |  - | 20 }}
{{sptrow| Implosion            | Earth | 5 |  - | 16 | 14 | 16 | 20 | 12 |  - |  - | 13 |  - | 16 }}
{{sptrow| Magic Mirror          | Air  | 5 |  - | 16 | 14 |  0 |  0 | 12 |  - |  - | 13 |  - | 16 }}
{{sptrow| Sacrifice            | Fire  | 5 |  - |  0 |  0 | 20 | 16 | 12 |  - |  - |  0 |  - |  0 }}
{{sptrow| Summon Water Elemental| Water | 5 |  - | 16 | 14 |  0 |  0 | 12 |  - |  - | 12 |  - |  0 }}
 
|}
|}



Revision as of 15:21, 3 October 2024

Spell probabilities

NOTE: In these tables:
1) Good/Evil/Neutral factions have been colored as sometimes spells are available based on alignment.
2) A "-" means a Mage Guild of that level is not available in this town.

Mage Guild Probabilities

The values in this table are the probabilities of a spell appearing in a given mage guild. These values are not in the game files.

Details

  • The formula for % chance for a spell to appear in a given mage guild is close to 1-(1-(x/100))y, where x is the value in the Spell Slot Probabilities table and y is the # of spell slots for the spell level (e.g. 5 for level 1, 2 for level 4, +1 if the town is a Tower containing a library).
    • For Example: Magic Arrow has a 30% chance of appearing in a given level 1 spell slot (of which there are 5), so the chance to appear in a given mage guild is 1-(1-30/100)5=1-(0.7)5=1-0.16807 = ~83%
  • BUT - this formula assumes that a spell could show up multiple times in a level which it can't. If a different spell is chosen for the first available slot, then the formula for the second available slot would be 1-(1-(x/(100-z))), where z is the value in this table of the chosen spell.
  • Every subsequently chosen other spell would modify the formula for the probability of the next slot (e.g. 1-(1-(x/(100-z1-z2-z3...)))
  • If a spell could appear multiple times, the formula for every slot would be 1-(1-(x/100)).

NOTE: The values in this table are based on the rough, simplistic formula. The real values will be slightly higher. If someone wants to calculate the real values and edit this table, go for it!

School Level














  Bless Water 1 41 23 23 0 0 14 14 23 23 41 14
  Bloodlust Fire 1 0 0 0 41 23 23 41 23 23 23 23
  Cure Water 1 41 41 23 23 0 23 23 41 23 23 23
  Curse Fire 1 0 0 14 23 41 23 0 0 0 0 0
  Dispel Water 1 41 41 41 41 41 41 41 41 41 41 41
  Haste Air 1 23 41 23 23 23 41 23 41 41 41 41
  Magic Arrow All 1 83 83 83 83 83 83 83 83 83 83 83
  Protection from Fire Fire 1 14 14 14 14 14 14 14 14 14 14 14
  Protection from Water Water 1 14 14 14 14 14 14 14 14 14 14 14
  Shield Earth 1 41 14 23 14 41 23 23 23 23 14 23
  Slow Earth 1 23 41 41 41 23 23 23 23 41 23 23
  Stone Skin Earth 1 23 23 41 23 41 23 41 23 23 23 41
  Summon Boat Water 1 14 23 23 23 14 23 23 14 14 23 23
  View Air Air 1 14 14 14 14 14 14 14 14 14 14 14
  View Earth Earth 1 14 14 14 14 14 14 14 14 14 14 14
  Blind Fire 2 15 22 8 40 15 15 15 22 28 0 28
  Death Ripple Earth 2 0 0 0 0 94 0 0 0 0 0 0
  Disguise Air 2 8 8 8 15 8 8 8 0 8 8 8
  Disrupting Ray Air 2 22 15 22 40 15 22 22 22 28 15 15
  Fire Wall Fire 2 15 15 15 40 15 15 15 15 28 15 15
  Fortune Air 2 15 22 15 15 8 8 15 15 8 15 8
  Ice Bolt Water 2 94 94 22 0 22 22 15 94 68 94 15
  Lightning Bolt Air 2 15 15 94 59 22 94 94 15 68 15 94
  Precision Air 2 22 22 15 28 8 22 15 15 8 15 22
  Protection from Air Air 2 8 8 8 15 8 8 8 8 8 8 8
  Quicksand Earth 2 15 15 22 15 15 15 22 22 15 15 15
  Remove Obstacle Water 2 15 15 22 15 15 15 15 15 15 15 15
  Scuttle Boat Water 2 22 15 15 15 15 15 15 15 15 28 15
  Visions All 2 8 8 8 15 8 8 8 8 8 8 8
  Weakness Water 2 8 8 8 28 15 15 15 15 15 28 15
  Air Shield Air 3 12 22 22 6 12 12 22 12 12 6 22
  Animate Dead Earth 3 0 0 0 0 41 0 0 0 0 0 0
  Anti-Magic Earth 3 32 22 22 12 22 22 32 27 32 27 22
  Destroy Undead Air 3 32 22 22 6 0 12 12 6 12 6 12
  Earthquake Earth 3 12 22 12 17 12 12 12 88 12 22 22
  Fireball Fire 3 22 22 22 88 32 41 32 6 32 6 32
  Force Field Earth 3 12 12 22 6 22 22 12 12 22 12 22
  Forgetfulness Water 3 22 22 12 12 12 12 12 12 22 22 12
  Frost Ring Water 3 41 41 41 0 32 32 32 12 32 66 32
  Hypnotize Air 3 12 12 22 17 0 22 12 12 32 12 12
  Land Mine Fire 3 22 22 22 17 22 32 22 6 12 12 22
  Mirth Water 3 12 12 12 6 12 12 32 6 12 22 12
  Misfortune Fire 3 12 12 12 17 22 12 12 6 12 12 17
  Protection from Earth Earth 3 12 12 12 6 12 12 12 0 12 12 12
  Teleport Water 3 22 22 22 22 22 22 22 27 22 27 27
  Armageddon Fire 4 0 0 0 10 10 19 - - 0 0 0
  Berserk Fire 4 10 10 10 10 19 10 - - 10 10 10
  Chain Lightning Air 4 19 19 19 19 19 19 - - 19 19 19
  Clone Water 4 10 10 19 10 10 10 - - 19 19 10
  Counterstrike Air 4 10 19 10 10 10 10 - - 10 10 10
  Fire Shield Fire 4 10 10 10 10 10 10 - - 10 10 10
  Frenzy Fire 4 10 10 10 10 10 10 - - 10 10 10
  Inferno Fire 4 10 10 10 19 10 10 - - 19 10 19
  Meteor Shower Earth 4 19 19 19 19 19 19 - - 19 19 19
  Prayer Water 4 19 10 10 0 0 0 - - 10 19 10
  Resurrection Earth 4 19 19 19 19 19 19 - - 10 10 19
  Slayer Fire 4 10 10 10 10 10 10 - - 10 10 10
  Sorrow Earth 4 10 10 10 10 10 10 - - 10 10 10
  Town Portal Earth 4 19 19 19 19 19 19 - - 19 19 19
  Water Walk Water 4 19 19 19 19 19 19 - - 19 19 19
  Summon Air Elemental Air 5 - 0 14 0 16 0 - - 12 - 16
  Dimension Door Air 5 - 20 14 16 16 16 - - 13 - 16
  Summon Earth Elemental Earth 5 - 16 14 16 16 12 - - 12 - 16
  Summon Fire Elemental Fire 5 - 0 0 16 0 12 - - 12 - 0
  Fly Air 5 - 16 16 16 16 12 - - 13 - 20
  Implosion Earth 5 - 16 14 16 20 12 - - 13 - 16
  Magic Mirror Air 5 - 16 14 0 0 12 - - 13 - 16
  Sacrifice Fire 5 - 0 0 20 16 12 - - 0 - 0
  Summon Water Elemental Water 5 - 16 14 0 0 12 - - 12 - 0

Spell Slot Probabilities

Spell Slot Probabilities

The values in this table are the probabilities of a single spell slot containing the given spell. These values are what is stored in the game files.

School Level














  Bless Water 1 10 5 5 0 0 3 3 5 5 10 3
  Bloodlust Fire 1 0 0 0 10 5 5 10 5 5 5 5
  Cure Water 1 10 10 5 5 0 5 5 10 5 5 5
  Curse Fire 1 0 0 3 5 10 5 0 0 0 0 0
  Dispel Water 1 10 10 10 10 10 10 10 10 10 10 10
  Haste Air 1 5 10 5 5 5 10 5 10 10 10 10
  Magic Arrow All 1 30 30 30 30 30 30 30 30 30 30 30
  Protection from Fire Fire 1 3 3 3 3 3 3 3 3 3 3 3
  Protection from Water Water 1 3 3 3 3 3 3 3 3 3 3 3
  Shield Earth 1 10 3 5 3 10 5 5 5 5 3 5
  Slow Earth 1 5 10 10 10 5 5 5 5 10 5 5
  Stone Skin Earth 1 5 5 10 5 10 5 10 5 5 5 10
  Summon Boat Water 1 3 5 5 5 3 5 5 3 3 5 5
  View Air Air 1 3 3 3 3 3 3 3 3 3 3 3
  View Earth Earth 1 3 3 3 3 3 3 3 3 3 3 3
  Blind Fire 2 4 6 2 12 4 4 4 6 8 0 8
  Death Ripple Earth 2 0 0 0 0 50 0 0 0 0 0 0
  Disguise Air 2 2 2 2 4 2 2 2 0 2 2 2
  Disrupting Ray Air 2 6 4 6 12 4 6 6 6 8 4 4
  Fire Wall Fire 2 4 4 4 12 4 4 4 4 8 4 4
  Fortune Air 2 4 6 4 4 2 2 4 4 2 4 2
  Ice Bolt Water 2 50 50 6 0 6 6 4 50 25 50 4
  Lightning Bolt Air 2 4 4 50 20 6 50 50 4 25 4 50
  Precision Air 2 6 6 4 8 2 6 4 4 2 4 6
  Protection from Air Air 2 2 2 2 4 2 2 2 2 2 2 2
  Quicksand Earth 2 4 4 6 4 4 4 6 6 4 4 4
  Remove Obstacle Water 2 4 4 6 4 4 4 4 4 4 4 4
  Scuttle Boat Water 2 6 4 4 4 4 4 4 4 4 8 4
  Visions All 2 2 2 2 4 2 2 2 2 2 2 2
  Weakness Water 2 2 2 2 8 4 4 4 4 4 8 4
  Air Shield Air 3 4 8 8 2 4 4 8 4 4 2 8
  Animate Dead Earth 3 0 0 0 0 16 0 0 0 0 0 0
  Anti-Magic Earth 3 12 8 8 4 8 8 12 10 12 10 8
  Destroy Undead Air 3 12 8 8 2 0 4 4 2 4 2 4
  Earthquake Earth 3 4 8 4 6 4 4 4 50 4 8 8
  Fireball Fire 3 8 8 8 50 12 16 12 2 12 2 12
  Force Field Earth 3 4 4 8 2 8 8 4 4 8 4 8
  Forgetfulness Water 3 8 8 4 4 4 4 4 4 8 8 4
  Frost Ring Water 3 16 16 16 0 12 12 12 4 12 30 12
  Hypnotize Air 3 4 4 8 6 0 8 4 4 12 4 4
  Land Mine Fire 3 8 8 8 6 8 12 8 2 4 4 8
  Mirth Water 3 4 4 4 2 4 4 12 2 4 8 4
  Misfortune Fire 3 4 4 4 6 8 4 4 2 4 4 6
  Protection from Earth Earth 3 4 4 4 2 4 4 4 0 4 4 4
  Teleport Water 3 8 8 8 8 8 8 8 10 8 10 10
  Armageddon Fire 4 0 0 0 5 5 10 - - 0 0 0
  Berserk Fire 4 5 5 5 5 10 5 - - 5 5 5
  Chain Lightning Air 4 10 10 10 10 10 10 - - 10 10 10
  Clone Water 4 5 5 10 5 5 5 - - 10 10 5
  Counterstrike Air 4 5 10 5 5 5 5 - - 5 5 5
  Fire Shield Fire 4 5 5 5 5 5 5 - - 5 5 5
  Frenzy Fire 4 5 5 5 5 5 5 - - 5 5 5
  Inferno Fire 4 5 5 5 10 5 5 - - 10 5 10
  Meteor Shower Earth 4 10 10 10 10 10 10 - - 10 10 10
  Prayer Water 4 10 5 5 0 0 0 - - 5 10 5
  Resurrection Earth 4 10 10 10 10 10 10 - - 5 5 10
  Slayer Fire 4 5 5 5 5 5 5 - - 5 5 5
  Sorrow Earth 4 5 5 5 5 5 5 - - 5 5 5
  Town Portal Earth 4 10 10 10 10 10 10 - - 10 10 10
  Water Walk Water 4 10 10 10 10 10 10 - - 10 10 10
  Summon Air Elemental Air 5 - 0 14 0 16 0 - - 12 - 16
  Dimension Door Air 5 - 20 14 16 16 16 - - 13 - 16
  Summon Earth Elemental Earth 5 - 16 14 16 16 12 - - 12 - 16
  Summon Fire Elemental Fire 5 - 0 0 16 0 12 - - 12 - 0
  Fly Air 5 - 16 16 16 16 12 - - 13 - 20
  Implosion Earth 5 - 16 14 16 20 12 - - 13 - 16
  Magic Mirror Air 5 - 16 14 0 0 12 - - 13 - 16
  Sacrifice Fire 5 - 0 0 20 16 12 - - 0 - 0
  Summon Water Elemental Water 5 - 16 14 0 0 12 - - 12 - 0