Thread: Question
View Single Post
OldDNDer
Member
 
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42

Old September 13th, 2018, 08:49 AM
Okay, so my next question is how can I add an initiative bonus at certain levels? For example, if I want a +1 bonus at level 2, then +2 at level 4 how would go about that? This is for a Class Special. Here is what I have so far:

Code:
if (herofield[????].value >= 2) then
hero.child[Initiative].field[BonSacred].value = maximum(hero.child[Initiative].field[BonSacred].value, 1)
endif
if (herofield[????].value >= 4) then
hero.child[Initiative].field[BonSacred].value = maximum(hero.child[Initiative].field[BonSacred].value, 2)
endif
The problem is where I have the ????. I cannot seem to get the code to recognize the Class. I keep getting the error "Non-existent field 'ccDLCrwnKn' used by script. I have tried Knight of the Crown, Knight Of The Crown, and cHelpKCR but keep getting the same result.
OldDNDer is offline   #16 Reply With Quote