Junior Member
Join Date: Jul 2023
Posts: 22
|
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 |
#1 |
|
|