Template:UnitAbility: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "<includeonly><!-- -->{{#switch: {{{id}}} <!--==== CREATURE ===========================================================--> | construct | demon | dragon | embodiment | living | magic_creature | undead = {{#cargo_query: tables = Translation = T | where = T.target_id = "{{{id}}}" AND T.language = "{{{lang}}}" AND T.type = 'creature_type' | fields = CONCAT("{{{lang}}}") = lang, CONCAT('creature_type') = type, T.target_id = icon,..."
 
No edit summary
Line 100: Line 100:
             T.name = title,
             T.name = title,
             T.description = description,
             T.description = description,
             CONCAT('Positive effect') = category,
             A.active_type = category,
            A.info_description = info_description,
             A.cd = cooldown,
             A.cd = cooldown,
             A.energy_level = focus,
             A.energy_level = focus,

Revision as of 08:58, 31 July 2026

Renders one generic/passive/active ability for a unit.

1. Creature type:

Input: {{UnitAbility | lang=en | id=dragon}}

Output:

Creature Type
Dragon
A powerful ancient creature, often intelligent and imbued with wondrous magic.
0 to 5Morale range
0 to 3Luck range
YesFallen Dragons can be raised as Undead after battle.


2. Attack type:

Input: {{UnitAbility | lang=en | id=melee_attack}}

Output:

Attack Type
Melee Attack
Can only attack adjacent enemies. Provokes counterattacks.


3. Movement type:

Input: {{UnitAbility | lang=en | id=fly}}

Output:

Movement Type
Flying
Movement ignores obstacles and traps.


4. Passive ability:

Input: {{UnitAbility | lang=en | id=black_dragon_upg_alt_passive_1}}

Output:

Passive Ability
Dominating Presence
All adjacent enemies always deal minimum Damage.


5. Alternative attack:

Input: {{UnitAbility | lang=en | id=black_dragon_upg_alt_1}}

Output:

Alternative Attack
Fighting Style: Sulfurous Assault
Performs a Cone Strike, dealing –50% Damage to each target.
Does not spend Focus Charges.


6. Active ability:

Input: {{UnitAbility | lang=en | id=black_dragon_2}}

Output:

Active Ability
Inner Flame
Positive effect
Cost: 3 Focus ChargesCooldown: 3 roundsTier III
Until the end of the next round, deals [ 30 × amount of units ] Magic Damage when attacked in Melee.
Does not end the turn.


7. Japanese:

Input: {{UnitAbility | lang=ja | id=dragon}}

Output:

Creature Type💬
ドラゴン
強大な力を持つ古代の生物。高い知性を持ち、驚くべき魔力を宿している。
0~5士気
0~3幸運
Yes💬倒れたドラゴンは、戦闘後にアンデッドとして蘇生できる。