I'll start off with my code:
Final/10000
This class ability improves on a racial ability the character options from an R Cust Special choice at creation. So I created an if statement that checks for the special. I have the special chosen, but I still don't enter the if statement when the condition is true. I figured #hasability would be the right macro, but maybe I'm going to have to use something else?
Any ideas guys?
Andrew
Final/10000
Code:
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)
debug "Before if statement"
if (#hasability[rcSanPulSo] <> 0) then
debug "In if statement"
field[abValue].value += 10
field[livename].text = "Fast Movement: +" & field[abValue].value
field[abSumm].text = "+" & field[abValue].value & " feet to speed, unless heavily loaded."
~ If we fail the test for being speedy, get out
if (hero.tagis[Encumbered.Light] + hero.tagis[Encumbered.Medium] = 0) then
perform assign[Helper.SpcDisable]
done
endif
~ We passed, so add to our base speed.
hero.child[Speed].field[tSpeed].value += field[abValue].value
endif
debug "Out of if statement"
This class ability improves on a racial ability the character options from an R Cust Special choice at creation. So I created an if statement that checks for the special. I have the special chosen, but I still don't enter the if statement when the condition is true. I figured #hasability would be the right macro, but maybe I'm going to have to use something else?
Any ideas guys?
Andrew