Senior Member
Join Date: Oct 2016
Posts: 621
|
Would it be possible to limit to 1 attack like heavy crossbows, and then add the Helper.ExtraHigh to it similar to speed ability, and write a script to give both attacks a -2 penalty?
|
#11 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
|
#12 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Did you look at the rapid fire feat script logic?
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#13 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
That's what I was thinking, now to just limit it to one attack
|
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Helper.SingleAtt is the tag to force a single attack.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#15 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
this is my script for this thus far but it is not pushing extra high
Post-Attr/10000 Code:
if (field[xAllLev].value >= 14) then foreach pick in hero from BaseWep where "wCategory.Melee?" perform eachpick.pushtags[Helper.ExtraHigh] ~ Give a penalty to the melee attacks. eachpick.field[atmPenalty].value -= field[abValue5].value nexteach endif |
#16 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Yes. Push tags copies TAGS from the current Pick to the eachpick. So if your Pick does not have the tag "Helper.ExtraHigh" nothing is going to happen.
Instead use "assign" to assign a tag to the specific pick. I would advise avoid using pustags/pulltags until you get a better handle on them. Until then use only delete/assign for tags. Also you have "wCategory.Melee?" as a wild card search? I don't recall their being different Melee types. A "?" in a search expression means wild card. Meaning 'wCategory.?' for search for picks with any category. In this case you don't need a wild card tag search. Please remove the "?". Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. Last edited by ShadowChemosh; February 8th, 2018 at 11:23 AM. |
#17 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Thanks SC that did it, working perfectly now
|
#18 |
|
|