Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 199

Old July 5th, 2020, 08:06 PM
Here's the feat I'm working on:
When you are mounted on your dragon steed, you gain a +1 bonus to attack rolls. This bonus does not stack with Weapon Focus. You may use this feat in place of Weapon Focus as a prerequisite for other feats, and treat your dragonrider level as fighter levels for feat prerequisites. However, any feat you qualify for in this way may only be used while you are mounted on your dragon steed.
<First 500>
Code:
~ If we're disabled, do nothing
      doneif (tagis[Helper.FtDisable] <> 0)

~ if we're not mounted on our dragon, get out now.
    doneif (hero.childfound[pstMounted].field[pIsOn].value = 0)

~ this feat doesn't stack with Weapon Focus, so don't add a bonus if the hero has it
     if (hero.tagis[HasFeat.fWepFoc] <> 0) then
     field[abValue].value += 0
     else
     field[abValue].value += 1
     endif

     hero.childfound[Attack].field[Bonus].value += field[abValue].value
But the bonus from Weapon Focus is still adding, so I'm not disabling it correctly. Can anyone suggest an alternate approach? Thanks!

Projects: Legendary Rogue (Legendary Games) 94%, Assassin (Interjection Games) 79.4%, Eldritch Godling (Super Genius Games) 49.2%, Mighty Godling (Super Genius Games) 33.3%, Clever Godling (Super Genius Games) 28.7%, Adept Godling (Super Genius Games) 25.6%, Legendary Cavalier (Legendary Games) 17.2%, Channeler (rebuild of Divine Channeler, Rite Publishing) 11.9%

Message me for a list of completed projects.
Visit my blog! https://gauntletsofblogrepower.blogspot.com/
Bob G is offline   #1 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 761

Old July 6th, 2020, 03:52 AM
Its probably a timing issue
Minous is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,781

Old July 6th, 2020, 08:08 AM
Rule of thumb - always have a good reason for it if you ever want to have a script that is in the first phage, or a script whose priority is not a multiple of 1000 (our standard is 10000). We have run into so many problems over the years by not being careful, and letting scripts get too early, which causes trouble when we try to create bootstrap conditions.
Mathias is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

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 01:38 AM.


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