From 29ccb48bb855092893abf17a6811064839d98307 Mon Sep 17 00:00:00 2001 From: Leyline <68477978+Ley-line@users.noreply.github.com> Date: Sat, 31 Jul 2021 18:57:19 +0200 Subject: [PATCH] Heroes now have a 'loyal' trait --- utils/tot_utils.cfg | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/utils/tot_utils.cfg b/utils/tot_utils.cfg index cf07c99..dff4ba2 100644 --- a/utils/tot_utils.cfg +++ b/utils/tot_utils.cfg @@ -254,6 +254,9 @@ x,y={X},{Y} facing=ne {IS_HERO} + [modifications] + {TRAIT_LOYAL} + [/modifications] [/unit] #enddef @@ -268,6 +271,7 @@ {IS_HERO} [modifications] {TRAIT_QUICK} + {TRAIT_LOYAL} [/modifications] [/unit] #enddef @@ -279,6 +283,9 @@ id=MalinGhost side={SIDE} x,y={X},{Y} + [modifications] + {TRAIT_LOYAL} + [/modifications] {IS_HERO} [/unit] #enddef @@ -742,6 +749,47 @@ [/modifications] #enddef +#define TOT_BOSS_STRONG_LOYAL + [modifications] + [object] +#ifdef EASY + [effect] + apply_to=hitpoints + increase_total=25% + [/effect] + [effect] + apply_to=attack + increase_damage=15% + [/effect] +#endif + +#ifdef NORMAL + [effect] + apply_to=hitpoints + increase_total=50% + [/effect] + [effect] + apply_to=attack + increase_damage=30% + [/effect] +#endif + +#ifdef HARD + [effect] + apply_to=hitpoints + increase_total=75% + [/effect] + [effect] + apply_to=attack + increase_damage=45% + [/effect] +#endif + [/object] + {TRAIT_LOYAL} + [/modifications] + {IS_LOYAL} +#enddef + #define PLACE_ITEM X Y PATH [item] x,y={X},{Y}