• 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

Trying to merge items -- unable to save

Kuriin

Active member
Hi all, I am trying to merge two items (Phylactery of Positive Channeling and Headband of Alluring Charisma). I managed to get it to save, however, I receive the benefits without actually equipping the item and when I do equip it, the benefits go away. Does anyone know what is wrong? lol
 
Last edited:
my guess is you have a line that says

doneif (field[gIsEquip].value <> 0)

when it should be

doneif (field[gIsEquip].value = 0)
 
Or that you're testing gIsEquip, and you've left the script's timing at the default timing of First/100, which would mean that the gIsEquip value is always one calculation pass behind what it should be, because you're testing it before some critical modifications have been made.
 
My scripts are:

if (field[gIsEquip].value <> 0) then
foreach pick in hero from Ability where "Helper.ChannelPos"
eachpick.field[abValue2].value += 2
nexteach
endif

if (field[gIsEquip].value <> 0) then
#enhancementbonus[hero.child[aCHA], 2]
endif



-- I just copied from their respective items.

Sorry for the delay in my response. :(
 
Actually if that's what fixed it, with what you pasted, you'll want to check your timing like Mathias said. The way those if statements are done were correct so if they weren't working your timing was off. Set it to Pre-Attribute 5000 or so.
 
Giving this a bump...this unfortunately works in HeroLab but when I print it off, it disappears.

The scripts I have are as follows:

Post Levels 21000

if (field[gIsEquip].value = 0) then
foreach pick in hero from Ability where "Helper.ChannelPos"
eachpick.field[abValue2].value += 2
nexteach
endif


Pre-Attributes 50

~ Items which would add enhancement bonuses to attributes do not do so
~ when we are using the Auto Bonus Progression rules from Pathfinder Unchained.
doneif (hero.tagis[source.PUAutoB?] <> 0)

doneif (field[gIsEquip].value = 0)

#enhancementbonus[hero.child[aCHA], 4]



I don't know if the scripts are wrong or if the timings are wrong. But, I'm having to just pencil in the corrections after I print the character and sometimes I miss one or two things. :( It's not even showing my 2d6 buff from the phylactery.
 
Last edited:
Going to need more information or the actual .user file and .por file to test with. Because nothing I see in those scripts would cause them to not work when printing. :(
 
Attached is my .por file and customhelm.user file. The file is "customhelm" (or whatever it is) and the title of Headband of Alluring Positive Action. Hope you can fix it. ;\
 

Attachments

Attached is my .por file and customhelm.user file. The file is "customhelm" (or whatever it is) and the title of Headband of Alluring Positive Action. Hope you can fix it. ;\
Ok I am missing something. I created a level 1 cleric and added and equipped your magic item. Channel Energy uses went from 3 to 5 and Cha changed from 10 to 14. I then went to print preview and those same values are displayed on the printed character sheet.

On your specific character uses per day goes from 7 to 9. And Cha goes from 19 to 23. Which is exactly what I see on the printed character sheet.

So what "exactly" is not working cause your script as written is working perfectly.... :confused:
 
This script here is backwards:
Code:
if ([B]field[gIsEquip].value = 0[/B]) then
   foreach pick in hero from Ability where "Helper.ChannelPos"
    eachpick.field[abValue2].value += 2
  nexteach
endif
The highlighted code above says "WHEN NOT EQUIPPED" increase the dice of channel energy by 2. :)

You want to say "when we are equipped":
Code:
if ([B]field[gIsEquip].value [COLOR="Red"]<>[/COLOR] 0[/B]) then
   foreach pick in hero from Ability where "Helper.ChannelPos"
    eachpick.field[abValue2].value += 2
  nexteach
endif

Sorry I should have looked at the scripts you posted more closely. :p ;)
 
Back
Top