• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Holy Vindicator

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.
 
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.

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?
 
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.
 
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.

Pretty simple.

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.
 
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...
 
~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)

Change the above to be the following:
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)

Looks like Mathias simply had a moment of dyslexia when he wrote the script. :)
 
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?
 
I don't think that this is possible since I can't save a new thing ID for the original ability.

I explained this above, but I'll try again.

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.
 
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.
 
Fixed in the next update. Thanks fireman644 for reporting it, and thanks ShadowChemosh for tracking down exactly what was wrong.
 
Back
Top