I'm trying to lern how to code a bit, and as a way to do tht I tries to implement the Eidolon Master (found here).
Of course I stumbles almost direct and that is on the first class ability, or rather the calculation part. I want to add one Evolution point every class level of Summoner to the Eidolon.
Using this code:
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
~ If there's no Eidolon, there's nothing we can do
doneif (hero.hasminion[Eidolon] = 0)
hero.minion[Eidolon].child[resRaceCus].field[resMax].value += #levelcount[Summoner]
Nothing happens ... has I misunderstood the #levelcount[Summoner] use? As it works if I put a numerical value there, I guess something is wrong.
Anyone that can point me in the right direction?
Of course I stumbles almost direct and that is on the first class ability, or rather the calculation part. I want to add one Evolution point every class level of Summoner to the Eidolon.
Using this code:
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
~ If there's no Eidolon, there's nothing we can do
doneif (hero.hasminion[Eidolon] = 0)
hero.minion[Eidolon].child[resRaceCus].field[resMax].value += #levelcount[Summoner]
Nothing happens ... has I misunderstood the #levelcount[Summoner] use? As it works if I put a numerical value there, I guess something is wrong.

Anyone that can point me in the right direction?