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: 226

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) 97.9%, Assassin (Interjection Games) 88%, Fortunate (rebuild of Luckbringer, Rite Publishing) 87.2%, Adept Godling (Super Genius Games) 73.9%, Eldritch Godling (Super Genius Games) 72.9%, Mighty Godling (Super Genius Games) 44.3%, Clever Godling (Super Genius Games) 41.2%, Legendary Cavalier (Legendary Games) 30.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: 830

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: 13,207

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 12:05 AM.


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