Junior Member
Join Date: Oct 2012
Location: Maine
Posts: 20
|
No, sorry. Same error related to the right-side of the expression.
|
#11 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Why is attrbonus[aCHA] on the next line down and indented? it should be immedietly right of +=
The reason you're getting the error is because the program is going "add.... what? What? OMG I DON'T UNDERSTAND! WHAT I AM SUPPOSED TO ADD, I NEED SOMETHING TO THE RIGHT OF +=, PLEASE JUST END IT! PUT ME OUT OF MY MISERY!" Because computers are total drama queens like that. |
#12 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
also it should be:
ssEnchant not wsEnchant |
#13 |
Member
Join Date: Sep 2012
Posts: 57
|
Sorry, I didn't refresh this post before I submitted to see that indeed Aaron and AndrewD2 had already given you the fix... But here it is, I just finished testing it and it is working as intended so long as it is one complete string of code.
Code:
Post-attributes; priority: 10000 hero.child[ssEnchant].field[schDC].value += #attrbonus[aCHA] Last edited by Anpumes; March 25th, 2014 at 11:24 AM. |
#14 |
Junior Member
Join Date: Oct 2012
Location: Maine
Posts: 20
|
Awesome! Thanks! I had a few other things to manipulate in the process as well, but this was the part that was really giving me a headache.
All of you rock! |
#15 |
|
|