• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Monk AC Bootstrap

Quintain

Well-known member
Can anyone advise on how to bootstrap the Monk AC ability (Wisdom bonus to AC and CMD + 1 per 4 levels) so that classes other than the monk can benefit from this ability?

I've tried duplicating the original ability, but the changes don't seem to apply.

Timing is: Post-Attributes 10000 and After Encumber Final
Script is below:

Code:
      var bonus as number
      bonus = field[xIndex].value - 1
      field[listname].text = "AC Bonus +" & bonus

      ~ Get our encumbrance level - if we're encumbered by that, or if we're
      ~ wearing armor or a shield, we're disabled.
      if (hero.tagis[Encumbered.Light] = 0) then
        perform assign[Helper.SpcDisable]
        done
        endif

      ~ only run the rest for the first copy
      doneif (tagis[Helper.FirstCopy] = 0)

      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)

      ~ Start our bonus off as our wisdom bonus + the count of specials, -1 
      ~ (because our first instance gives a base of +0)
      field[abValue].value += #attrbonus[aWIS] + field[xCount].value - 1

      field[livename].text = "AC Bonus +" & field[abValue].value

      ~ If we're disabled, do nothing
      doneif (tagis[Helper.SpcDisable] <> 0)

      ~ Apply our AC bonus to all our armor scores
      hero.child[ArmorClass].field[Bonus].value+= field[abValue].value
 
Can anyone advise on how to bootstrap the Monk AC ability (Wisdom bonus to AC and CMD + 1 per 4 levels) so that classes other than the monk can benefit from this ability?
Why can't you just bootstrap the Class Special Thing to your new class? I am pretty sure nothing in the script is specific to monks.
 
Why can't you just bootstrap the Class Special Thing to your new class? I am pretty sure nothing in the script is specific to monks.

I tried that. It didn't work. So, as an alternative, I created another class special to try to duplicate it. Not working there either.

What's not working is the +1 to AC/CMD for every 4 levels. It's assigning per the wisdom bonus, not anything else.
 
What's not working is the +1 to AC/CMD for every 4 levels. It's assigning per the wisdom bonus, not anything else.
Did you bootstrap it again at level 4,8,12? Otherwise true it won't do anything as it will only be set to happen once. That is what "field[xCount].value" is doing counting the number of times its active on the hero. If one time you will only be treated as once. :)
 
Back
Top