Template:UnitAbility: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 81: | Line 81: | ||
P.name_sid = icon, | P.name_sid = icon, | ||
T.name = title, | T.name = title, | ||
T.description = description | T.description = description, | ||
P.excaption_in_tooltip = immunities, | |||
CONCAT("{{{rank|}}}") = rank, | |||
CONCAT("{{{rank_explanation|}}}") = rank_explanation | |||
| format = template | | format = template | ||
| template = UnitAbility/base | | template = UnitAbility/base | ||
| Line 102: | Line 105: | ||
A.active_type = category, | A.active_type = category, | ||
A.info_description = info_description, | A.info_description = info_description, | ||
A.excaption_in_tooltip = immunities, | |||
A.cd = cooldown, | A.cd = cooldown, | ||
A.energy_level = focus, | A.energy_level = focus, | ||
A.rank = tier | A.rank = tier, | ||
CONCAT("{{{rank|}}}") = rank, | |||
CONCAT("{{{rank_explanation|}}}") = rank_explanation | |||
| format = template | | format = template | ||
| template = UnitAbility/base | | template = UnitAbility/base | ||
| Line 180: | Line 186: | ||
==8. Ability with immunities:== | |||
{{Color|yellow|Input:}} | |||
<code><nowiki>{{UnitAbility | lang=en | id=vampire_upg_passive_1}}</nowiki></code> | |||
{{Color|lime|Output:}} | |||
{{UnitAbility | lang=en | id=vampire_upg_passive_1}} | |||
__NOTOC__ | |||
</noinclude> | </noinclude> | ||
Latest revision as of 06:39, 6 September 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.
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💬倒れたドラゴンは、戦闘後にアンデッドとして蘇生できる。
8. Ability with immunities:
Input:
{{UnitAbility | lang=en | id=vampire_upg_passive_1}}
Output:
Passive Ability
Vampirism
Each attack restores 50% of Damage dealt as HP to this creature. This can revive fallen units.
Does not affect Undead, Embodiments, or Constructs.
Does not affect Undead, Embodiments, or Constructs.


