Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Aril
Senior Member
 
Join Date: Jul 2019
Posts: 142

Old July 12th, 2020, 06:38 PM
I'm trying to create a sorcerer bloodline that basically does the following:

+1 per 2 sorcerer levels to saves
+1 per 2 sorcerer levels deflection bonus to AC
Swift action
Duration 1 round

I see the options for making it last 1 round, and for making it a swift action to activate.

But I can't figure out how to assign a bonus to saves and AC = to half the class level.
Aril is offline   #1 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old July 13th, 2020, 03:57 PM
round(hero.tagcount[Classes.Sorcerer]/2,0,1)
Minous is offline   #2 Reply With Quote
Aril
Senior Member
 
Join Date: Jul 2019
Posts: 142

Old July 14th, 2020, 11:11 AM
Thank you.
Aril is offline   #3 Reply With Quote
Aril
Senior Member
 
Join Date: Jul 2019
Posts: 142

Old September 29th, 2020, 08:23 PM
So, do you think something like this would work for adding the bonuses to saves?

Use this to determine half the sorcerer's level.

field[abValue].value += round(hero.tagcount[Classes.Sorcerer]/2,0,1)

Use this, then, to apply a bonus equal to half sorcerer's level to their saves:

hero.child[svFort].field[BonLuck].value = field[abValue].value +

hero.child[svRef].field[BonLuck].value = field[abValue].value +

hero.child[svWill].field[BonLuck].value = field[abValue].value +

And then this to apply half the sorcerer's level as an enhancement bonus to their AC?

#applybonus[tACMisc, hero.child[ArmorClass], field[abValue].value]
Aril is offline   #4 Reply With Quote
Aril
Senior Member
 
Join Date: Jul 2019
Posts: 142

Old September 29th, 2020, 08:48 PM
Hmm....when trying to set the save bonus, I'm getting an error.

"->Error in right-side expression of assignment"

This was the script I created.

hero.child[svFort].field[BonLuck].value = field[abValue].value +
Aril is offline   #5 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old September 30th, 2020, 02:39 AM
I'd use something like:
Code:
#applybonus[BonLuck, hero.child[vFort], field[abValue].value]
#applybonus[BonLuck, hero.child[vRef], field[abValue].value]
#applybonus[BonLuck, hero.child[vWill], field[abValue].value]

#applybonus[tACMisc, hero.child[ArmorClass], field[abValue].value]
Minous is offline   #6 Reply With Quote
Aril
Senior Member
 
Join Date: Jul 2019
Posts: 142

Old October 1st, 2020, 10:32 PM
moved to separate topic

Last edited by Aril; October 1st, 2020 at 10:34 PM. Reason: Posted in wrong spot
Aril is offline   #7 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old October 10th, 2020, 06:00 AM
Just an FYI the reason for the error was you left a + sign with nothing to add thus the function got confused. In those lines of script just use this example: hero.child[svWill].field[BonLuck].value += field[abValue].value
Keep in mind that the += means it will add to the left side field, where as = means it will override left side field with what is in the right side field.

Forum link for my content work:
Pathfinder Thread
Forum link for SU 5e content work:
5e Steven Universe Thread
This link is for my group, but feel free to play it with:
DMM 5e | "https://www.dropbox.com/s/vsd9w1eodlnwjq0/updatesDMM.xml?dl=1" Copy this link to your update manager to get updates when available.
This adds the Pisky subrace to elves from Berserk! and additional subraces for the Gem Race.
Please post comments in the provided threads above.

Last edited by DeltaMasterMind; October 10th, 2020 at 06:00 AM. Reason: Typo
DeltaMasterMind is offline   #8 Reply With Quote
Reply

Thread Tools
Display Modes

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 01:18 AM.


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