Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Schedim
Member
 
Join Date: Jun 2013
Posts: 48

Old June 2nd, 2014, 05:47 AM
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?
Schedim is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 2nd, 2014, 06:25 AM
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.
AndrewD2 is offline   #2 Reply With Quote
Schedim
Member
 
Join Date: Jun 2013
Posts: 48

Old June 2nd, 2014, 09:56 PM
Ah! That must be it, haven't got hang of this timing stuff yet!

Thanks for the pointer!
Schedim is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:43 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.