Junior Member
Join Date: Sep 2010
Posts: 11
|
Anyone have any ideas on how to adjust the bonus from sacred stigmata? It's currently at full level bonus vs. half level bonus which it should be. Thanks.
Sean G. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
If it is a bug in the data sets provided by lonewolf, posting it in the bug thread would be best. Is this a community item?
|
#2 |
Junior Member
Join Date: Sep 2010
Posts: 11
|
It's from the APG data set. I did post it in the bugs section. Just seeing if anyone knew a workaround until it could be corrected. Thanks.
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Quote:
Launch Editor -> File New -> Save as @myfixes.user Open a second copy of HL -> Go to class special tab -> new (copy) Stigmata Look at the settings of every option (including scripts) and copy them into a new (blank) in your @myfixes.user file. When done put Replace Thing Id of the original, save, compile, and reload character. |
|
#4 |
Junior Member
Join Date: Sep 2010
Posts: 11
|
Here's the script.
~only run the rest for the first copy validif (tagis[Helper.FirstCopy] = 0) ~ If we're not shown, just get out now validif (tagis[Helper.ShowSpec] = 0) field[abValue].value += field[xAllLev].value field[abValue2].value += round(field[xAllLev].value/2,0,-1) if (field[xAllLev].value >= 10) then field[livename].text = field[thingname].text & " (Swift) +" & field[abValue].value elseif (field[xAllLev].value >= 6) then field[livename].text = field[thingname].text & " (Move) +" & field[abValue].value else field[livename].text = field[thingname].text & " (Standard) +" & field[abValue].value endif field[abSumm].text = "Inflict " & field[abValue2].value & " HP of bleed damage on yourself to gain a +" & field[abValue].value & " bonus to AC until you end the ability." ~if we're a positive channeler, our bonus is sacred if (hero.tagis[Hero.ChanPos] <> 0) then field[livename].text = "Sacred " & field[livename].text if (field[abilActive].value <> 0) then if (hero.tagis[Custom.Stigmata] <> 0) then @valid = 1 endif perform hero.assign[Custom.Stigmata] #applybonus[BonSacred,hero.child[ArmorClass], field[abValue].value] else @valid = 1 endif ~if we're a negative channeler, our bonus is profane elseif (hero.tagis[Hero.ChanNeg] <> 0) then field[livename].text = "Profane " & field[livename].text if (field[abilActive].value <> 0) then if (hero.tagis[Custom.Stigmata] <> 0) then @valid = 1 endif perform hero.assign[Custom.Stigmata] #applybonus[BonProfane,hero.child[ArmorClass], field[abValue].value] else @valid = 1 endif endif How do I modify that so it shows only half class level instead of full level? Not very code savvy anymore. Long since out of college Pascal+ class... |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Code:
~only run the rest for the first copy validif (tagis[Helper.FirstCopy] = 0) ~ If we're not shown, just get out now validif (tagis[Helper.ShowSpec] = 0) field[abValue2].value += field[xAllLev].value field[abValue].value += round(field[xAllLev].value/2,0,-1) 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. |
|
#6 |
Junior Member
Join Date: Sep 2010
Posts: 11
|
I don't think that this is possible since I can't save a new thing ID for the original ability. It is from a supplement and can't be saved. Therefore, I don't believe that I can replace it with a new ability fix. Any thoughts?
If you know the thing ID of the ability would you share it? |
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Quote:
You need to open up hero lab twice. In one copy of the program, open up the thing you can't save. In the second copy of the program, do a new (blank) item of the same type. Line by line, feature by feature, duplicate the settings until finished. Give the new item a new uniqueid. Identify the unique id of the old by going into a character, turn on debugging, point at it and click to get the uniqueid. Put the unique id of the old thing in the replaceid. Remember that replaceid happens at the compile time, so sources don't matter. |
|
#8 |
Junior Member
Join Date: Sep 2010
Posts: 11
|
Alright done. Now both abilities are showing under the Holy Vindicator tab. How do I get rid of the original? Thanks for all the help.
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
|
#10 |
|
|