Junior Member
Join Date: May 2013
Posts: 11
|
I'm trying to build a rogue archetype that uses the Fighter Gloomblade shadow weapon ability. I have a custom archetype and class special working, but the class special bootstrap points to "iShadowWeapon".
I'm assuming the iShadowWeapon looks at Classes.Fighter and scales the weapon based on that. If I could change that to Classes.RogueUnc I think I would be set. Anyone know where this thing is? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
That is setup as a Magic Custom Weapon and no such editor tab exists for it. Meaning you can't currently view it or modify it using the editor....
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. |
#2 |
Junior Member
Join Date: May 2013
Posts: 11
|
Is there any way to right an eval script that changes the fighter level?
EDIT: Could I do something like this? Code:
if (#hasarchetype[arRogGloombladeRogue] <> 0) then effectlev += #levelcount[Fighter] endif Last edited by Raegar; February 26th, 2019 at 11:57 AM. Reason: code formating |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
effectlev is a local variable to the Pick meaning only if you modify the script directly could you change that value. You can't directly modify the Pick from the outside using another script in this case...
Only way I can think of to hack this is to place LvCountAs.Fighter tags onto the hero at First/599 equal to the number of levels of Unchained Rogue you have. Then at First/601 delete them from the hero. But that will allow the iShadowWeapon at First/600 to return a effectlev value equal to your Unchained Rogue levels. It should all work in theory.... 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. |
#4 |
Junior Member
Join Date: May 2013
Posts: 11
|
Would this be an Eval Script on the Shadow Weapon ability? Sorry, still pretty new to this.
Thank you for your help by the way, I really appreciate it! |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Place a two new evail scripts on to the Shadow Weapon ability. I assumed you copied it to make your own version? If so you add these two scripts at these specific timing on to your Shadow Weapon class ability.
1st script is set to run at First/599: Code:
var iX as number ~ Loop a 1 to class level and assign ~ Tags to the hero equal to our level for iX = 1 to root.linkage[varies].field[cTotalLev].value perform hero.assign[LvCountAs.Fighter] next 2nd script is set to run at First/601: Code:
~ Remove the temporarily added fighter tags perform hero.delete[LvCountAs.Fighter] 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 26th, 2019 at 11:11 PM. |
#6 |
Junior Member
Join Date: May 2013
Posts: 11
|
Yea, I made a copy of the Gloomblade fighter and did what I could to pull things over 1-for-1 where possible.
It didn't compile the first time I tried it. After changing "nexteach" to "next" it compiled, but at levels 3 and 6 etc. there was still no change in the enhancement bonus of the weapon. I tried changing the priority on the first one to 299 since maybe it needed to come before the bootstrap for iShadowWeapon (which was set to 300), but still no dice. Any ideas? |
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Can you email me the .user file please. Be easier if I can try it out and add some debug statements.
Email is my forum user id at yahoo dot com. 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. |
#8 |
Junior Member
Join Date: May 2013
Posts: 11
|
Sent. Thanks again!
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Thanks for the file....
Ok I found my issue... I forgot this ability was bootstrapped to the archetype and not directly to the class. So in the for loop section where I had root.field[cTotalLev].value it needed to be root.linkage[varies].field[cTotalLev].value. This means we transition to the root or the archetype and then from the archetype we follow the linkage to the class. Then once on the class I get the classes level so that I loop the correct number of times. 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. |
#10 |
|
|