Member
Join Date: Aug 2014
Posts: 44
|
Hello,
In the following script : #situational[hero.childfound[ArmorClass],"+ wisdom modifier in deflection bonus",field[thingname].text] I would like to see the exact bonus, instead of "+ wisdom modifier" Is is possible to add the value of the wisdom modifier directly into my string? I tried something like : #situational[hero.childfound[ArmorClass], "+ hero.child[aWIS].field[aBonus].value in deflection bonus", field[thingname].text] But this does not work indeed! Thank you |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
First, you appear to just be adding your wisdom mod to a deflection bonus in which case you would do something like
Code:
field[abValue].value += #attrbonus[aWIS] #applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value Code:
field[abValue].value += #attrbonus[aWIS] #situational[hero.child[ArmorClass], signed(field[abValue].value) & " in deflection bonus", field[thingname].text] timing also needs to be Post-Attributes Last edited by AndrewD2; September 9th, 2014 at 07:05 PM. |
#2 |
Member
Join Date: Aug 2014
Posts: 44
|
Thx, this works perfectly!
|
#3 |
|
|