Template:SkillChances/base: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "<includeonly><!-- --><templatestyles src="Template:SkillChances/styles.css" /><!-- --><div class='sc-box'><!-- --><table class='wikitable sortable table-nobands'> <!--======== HEADER ==========================================================--> <tr> <th>{{Translation|wiki_sc_class|{{{lang}}}}}</th> <th>{{Skill|{{{id}}}|{{{lang}}}|level=1|size=24px}}<br/>{{Translation|wiki_sc_chance|{{{lang}}}}}</th> <th>{{Translation|wiki_s..."
 
No edit summary
 
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><templatestyles src="Template:SkillChances/styles.css" /><!--
--><templatestyles src="Template:SkillChances/styles.css" /><!--
--><div class='sc-box'><!--
    --><table class='sc-box wikitable sortable table-nobands'>
    --><table class='wikitable sortable table-nobands'>
<!--======== HEADER ==========================================================-->
<!--======== HEADER ==========================================================-->
         <tr>
         <tr>
Line 30: Line 29:
{{SkillChances/row|id=magic_dungeon|L={{{lang}}}|P={{{magic_dungeon|}}}}}
{{SkillChances/row|id=magic_dungeon|L={{{lang}}}|P={{{magic_dungeon|}}}}}
     </table><!--
     </table><!--
--></div><!--
--></includeonly><!--
--></includeonly><!--
################################################################################
################################################################################

Latest revision as of 08:29, 27 August 2026


Renders the chances of a specific skill in relation to each hero class.

1. Offense:

Input:

{{SkillChances/base
    | lang = en
    | id = skill_assault
    | might_human = 1.00%,2.00%,3.00%,4.00%
    | magic_human = 1.00%,2.00%,3.00%,4.00%
    | might_undead = 1.00%,2.00%,3.00%,4.00%
    | magic_undead = 1.00%,2.00%,3.00%,4.00%
    | might_nature = 1.00%,2.00%,3.00%,4.00%
    | magic_nature = 1.00%,2.00%,3.00%,4.00%
    | might_demon = 1.00%,2.00%,3.00%,4.00%
    | magic_demon = 1.00%,2.00%,3.00%,4.00%
    | might_unfrozen = 1.00%,2.00%,3.00%,4.00%
    | magic_unfrozen = 1.00%,2.00%,3.00%,4.00%
    | might_dungeon = 1.00%,2.00%,3.00%,4.00%
    | magic_dungeon = 1.00%,2.00%,3.00%,4.00%
}}

Output:

Hero Class Basic Offense
chance at level-up
Every
4th level
Every
5th level
At level
20
Knight 1.00% 2.00% 3.00% 4.00%
Cleric 1.00% 2.00% 3.00% 4.00%
Death Knight 1.00% 2.00% 3.00% 4.00%
Necromancer 1.00% 2.00% 3.00% 4.00%
Warden 1.00% 2.00% 3.00% 4.00%
Druid 1.00% 2.00% 3.00% 4.00%
Enforcer 1.00% 2.00% 3.00% 4.00%
Herald 1.00% 2.00% 3.00% 4.00%
Oathkeeper 1.00% 2.00% 3.00% 4.00%
Riftspeaker 1.00% 2.00% 3.00% 4.00%
Overlord 1.00% 2.00% 3.00% 4.00%
Warlock 1.00% 2.00% 3.00% 4.00%