• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Add Intelligence Mod to Initiative

JolarEQ

Well-known member
I'm currently creating the Inspiring Commander Cavalier archetype in the editor, which is slightly ambitious for me as I really don't know what I'm doing in the editor. ;) So far, everything is going well, nothing too screwy that I need to worry about. However, one of the abilities, Rapid Tactician, adds the Int mod to initiative, along with the Dex mod. How would I go about adding this to the Class Special Ability I created? I know how to add a static number to the Initiative, but not an ability mod.

Thanks in advance!!
 
It's a pretty easy one, copy the timing from Improved Initiative and then use the #attrbonus[aINT] macro to set the value of abValue

Will look something like this:
Final/9500

Code:
      field[abValue].value += #attrbonus[aINT]

      ~ If we're disabled, do nothing
     doneif (tagis[Helper.SpcDisable] <> 0)
     
      ~if we're not shown, do nothing 
      doneif (tagis[Helper.ShowSpec] <> 1)

     ~only add for the first copy
     doneif (tagis[Helper.FirstCopy] = 0)
      
      hero.child[Initiative].field[Bonus].value += field[abValue].value
 
Last edited:
Ahh, thanks. I kinda got it to work. Since the Rapid Tactician ability increases as the cavalier levels, I have multiple copies of it, so it keeps adding the Int mod to the initiative as the cavalier levels. While I'm sure the cavalier would love that to happen, it's obviously not right. Is this something I would have to add separately as a second class special, and then hide it somehow?
 
Ah well then you need a: doneif (tagis[Helper.FirstCopy] = 0) in there I added it in to my code above. That will make it only run once.
 
Awesome, thanks! That was the last little bit I needed to get the archetype done!

When I have enough time to sit and play around, I'm going to look through the tutorials and such for using the editor. I have some background in coding, but it's been a while. Recently all I really do is code macros in MapTool, but I have past experience in other languages, so I have a feeling I'll be able to pick it up kinda quickly, but at the moment I'm so strapped for time I can't dedicate much time to figuring it out.

Thanks again for the help, I really appreciate it!
 
Awesome, thanks! That was the last little bit I needed to get the archetype done!

When I have enough time to sit and play around, I'm going to look through the tutorials and such for using the editor. I have some background in coding, but it's been a while. Recently all I really do is code macros in MapTool, but I have past experience in other languages, so I have a feeling I'll be able to pick it up kinda quickly, but at the moment I'm so strapped for time I can't dedicate much time to figuring it out.

Thanks again for the help, I really appreciate it!

Would you mind sharing this? I got part way through building a copy this afternoon before searching to see if it had already been made
 
I just found this archetype and had to pick it up. Now I'm looking for the HL files for it. If you can share your progress that would be great!
 
Funny enough I didn't realize back in November that this was on my to-do list for Rite Publishing, all goes well expect to see it available with the Feb release
 
Heh, ok! I don't know how I missed this popping up before. Brolthemighty PM'd me for a copy so I sent it to him, but I wasn't getting any notifications about responses on this thread, which was odd.
 
Back
Top