Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Raegar
Junior Member
 
Join Date: May 2013
Posts: 11

Old February 25th, 2019, 11:11 PM
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?
Raegar is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 26th, 2019, 11:24 AM
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.
ShadowChemosh is offline   #2 Reply With Quote
Raegar
Junior Member
 
Join Date: May 2013
Posts: 11

Old February 26th, 2019, 11:45 AM
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
Raegar is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 26th, 2019, 01:57 PM
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.
ShadowChemosh is offline   #4 Reply With Quote
Raegar
Junior Member
 
Join Date: May 2013
Posts: 11

Old February 26th, 2019, 06:57 PM
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!
Raegar is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 26th, 2019, 09:00 PM
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]
That should trick the iShadowWeapon into treating your rogue levels as fighter levels causing the weapon to level up.

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.
ShadowChemosh is offline   #6 Reply With Quote
Raegar
Junior Member
 
Join Date: May 2013
Posts: 11

Old February 26th, 2019, 09:28 PM
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?
Raegar is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 26th, 2019, 10:44 PM
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.
ShadowChemosh is offline   #8 Reply With Quote
Raegar
Junior Member
 
Join Date: May 2013
Posts: 11

Old February 26th, 2019, 10:55 PM
Sent. Thanks again!
Raegar is offline   #9 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 26th, 2019, 11:15 PM
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.
ShadowChemosh is offline   #10 Reply With Quote
Reply


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 11:15 PM.


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