Variables: explained! (Heroes 7)
This quick video will show you how to use variables in Heroes VII editor to show unit's stats, abilities, damage and more.
Here is a list of all most used variables:
DAMAGE:
---------------
%d.max - maximum damage
%d.min - minimum damage
%special - damage from special coding effects
STATS:
-----------
%stat - stat
RESISTS:
--------------
%res - resistance
ICONS:
-----------
%icon_mana - mana icon
%icon_attack - attack icon
%icon_defense - defense icon
%icon_morale - morale icon
%icon_luck - luck icon
%icon_initiative - initiative icon
%icon_range - range icon
%icon_health - HP icon
%icon_fire - fire magic icon
%icon_earth - earth magic icon
%icon_water - water magic icon
%icon_air - air magic icon
%icon_light - light magic icon
%icon_dark - dark magic icon
%d.icon - damage type icon
%stat.icon - stat type icon
DURATION:
------------------
%durnow - actual duration (changes every turn)
%durini - initial duration (never changes)
NAMES:
-------------
%spell - name of a spell/ability
%buff - name of a buff
MISC:
---------
\n - new line