Member
Join Date: Jun 2013
Posts: 48
|
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? |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
What phase/priority are you using? If you're using First/100 (the default) I'm pretty sure the #levelcount[] macro can't calculate the level yet.
|
#2 |
Member
Join Date: Jun 2013
Posts: 48
|
Ah! That must be it, haven't got hang of this timing stuff yet!
Thanks for the pointer! |
#3 |
|
|