radionausea
Well-known member
Hi there, I'm trying to use the editor and failing miserably.
I'm trying to make the feat Deadly Throw from "Psionics Expanded: Find the Mark". It adds dexterity bonus to damage on thrown weapons in place of strength bonus. (While maintaining psionic focus but I'm ignoring that).
I used Dervish Dance as a base as its the only feat I know that adds dex to damage:
and in the Expr-reqs:
Unique id = fDeadthrow
Feat category= psionic
However I'm getting the following error message:
I have never attempted coding of any sort before (html doesn't count) and I have no idea what's wrong, where line 18 is, and would really, really appreciate some pointers!
I'm trying to make the feat Deadly Throw from "Psionics Expanded: Find the Mark". It adds dexterity bonus to damage on thrown weapons in place of strength bonus. (While maintaining psionic focus but I'm ignoring that).
I used Dervish Dance as a base as its the only feat I know that adds dex to damage:
Code:
var bonus as number
bonus = maximum(#attrmod[aDEX] - #attrmod[aSTR], 0)
foreach pick in hero from BaseWep where "IsWeapon.wClass.Thrown"
eachpick.field[wAttBonus].value += bonus
eachpick.field[wDamBonus].value += bonus
nexteach
and in the Expr-reqs:
Code:
#attrvalue[aDEX] >= 15
#hasfeat[fPointBlnk] <> 0
child[Attack].field[tAtkBase].value >= 3
Feat category= psionic
However I'm getting the following error message:
Code:
Hero Lab was forced to stop compilation after the following errors were detected
File: DeadlyThrow.user (line 18) - Thing - Invalid unique id
I have never attempted coding of any sort before (html doesn't count) and I have no idea what's wrong, where line 18 is, and would really, really appreciate some pointers!
