• 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

Psionic Question

RavenX

Well-known member
Mathias or Aaron,

When bootstrapping Psionic powers, is there a tag that can be added to the power that identifies the Manifester level as Half of the Hero's Hit Dice or do I have to set this via a script?
 
Don't believe there is such a tag. The normal ones which set it to full HD or class levels for SLAs should work, but there isn't a precedent for half that I have seen
 
Aaron,

Here is what I had come up with, but it doesn't seem to be working. I just want it to iterate through the bootstrapped psilike abilities and set the caster level on it, but the foreach seems to not be doing what I need it to do. Any ideas?

Final 26000
Code:
  field[abValue].value += herofield[tHitDice].value
  field[abValue].value /= 2
  field[abValue].value = round(field[abValue].value,0,-1)
  field[abValue].value = maximum(field[abValue].value,1)

  foreach bootstrap in this where "Helper.PsiLike"
    eachthing.field[sCL].value += field[abValue].value
    nexteach
 
Well, try adding some debugs inside the foreach to detect what it is iterating through. Make sure it is going where you want, and if it isn't then try adjusting the foreach (perhaps through picks on the hero, marking the things with a Custom tag).
 
Well, try adding some debugs inside the foreach to detect what it is iterating through. Make sure it is going where you want, and if it isn't then try adjusting the foreach (perhaps through picks on the hero, marking the things with a Custom tag).

Ok, I will try that. I may have to do the custom tagging method. I didn't see anything in the hlkitwiki about foreach loops through bootstraps with a pick context.
 
Back
Top