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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TheNewProgrammer
Junior Member
 
Join Date: Jul 2023
Posts: 22

Old July 18th, 2023, 06:30 PM
hello,

I am making a custom sorcerer bloodline using the HLC editor. I am attempting to make a custom Item power that causes the weapon to use cha for attack and damage. I found this thread http://forums.wolflair.com/showthread.php?t=56620

and this line "perform parent.assign[DamageOpt.aCHA]"

I got as far as this with my knowledge
"perform parent.assign[DamageOpt.aCHA]

perform parent.field[dmrBonus].value -= hero.child[aStr].field[aModBonus].value

perform parent.field[dmrBonus].value += hero.child[aCha].field[aModBonus].value"

This is supposed to use cha instead of strength, reduce the to hit by the str and then increase it by cha.

It gives the error "syntax error in "eval" script for thing "SBWeaponEnch"(its id) on line 3 -> error in expression."

does anyone know the correct syntax?

also, does anyone know how to make It say cha instead of str? the end users (other than me) will complain otherwise.

thanks
TheNewProgrammer is offline   #1 Reply With Quote
 


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 05:29 PM.


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