Conquest of Elysium 5

Conquest of Elysium 5

Firescion 17 Oct, 2021 @ 1:52pm
Ritual Modding Level restriction q
Hi all, been playing CoE since 3 and finally started to get into modding in a serious way.

So my question is, is there a way to tie mastery to normal XP level? Doing a refurbish of a favorite mod of mine from CoE 3 (the Dynast, watch this space for when I finish ironing out all the bugs) and the main gimmick is you hire heros and level them up to better versions at the appropriate XP level.

Original author's solution was to tie it to 'shrinkhp' so when the unit levels up and gets more HP from level up it makes the mastery cheaper (you CAN just buy level ups but it gets prohibitively expensive, which I like).

I *think* i can see what was done with the shrink/grow hp commands and can make it work but I was wondering if there is a more modern/elegant solution that isnt breakable by ANY item with an HP boost.