Sanity Points
Ok, going to need some help with this:http://www.d20srd.org/srd/variant/campaigns/sanity.htm
I made a tracker, NP, but now I need a script for "A character’s starting Sanity equals his Wisdom score multiplied by 5." |
I would try this as an eval script sometime in the Finals Phase:
var sanity as number sanity = hero.child[aWIS].field[aFinalVal].value * 5 Then set the value of your tracker or whatever to be equal to "sanity". |
Thank you very much!!! Here is the script and it works great:
~ We get Wisdom score multiplied by 5, so calculate ~ that number. var sp as number sp = hero.child[aWIS].field[aFinalVal].value * 5 sp = round(sp, 0, -1) ~ Add to our total charges. field[trkMax].value += sp |
Cool ok, now I made an Adjustment that: "You gain one Rank of the Skill: Knowledge (forbidden lore).
Each rank you gain in this skill permanently reduces your maximum Sanity by 1 point: The more you know about the horrible truths underlying reality, the less capable you are of leading a normal life." The scipt for reducing the Sanity works great, but the script to increase the skill doesn't, any ideas? ~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) ~ Add to Knowledge: Forbidden Lore #trkmax[skshForLor] += field[pAdjust].value |
#skillbonus[] for a skill's bonus - #trkmax[] is the maximum number of charges a thing has.
|
Cool that works great, thank you!
Ok, I want to see if I can get the skill to reduce the Tracker, here is the script, any ideas? ~ reduces to Sanity Points #trkmax[trkshSanit] -= field[pSklPoints].value |
~ reduces to Sanity Points
#skillbonus[skshForLor] -= field.trkmax[trkshSanit].value IDK, any thoughts? |
from a third thing:
#trkmax[trkshSanit] -= #skillranks[skshForLor] from the tracker: field[trkMax].value -= #skillranks[skshForLor] from the skill: #trkmax[trkshSanit] -= field[kUserRanks].value |
Cool! Thanks yall!!
|
I am try to see if I can get the user to pick either Int, Wis, and/or Cha, (The Pathfinder way)
here is the script, but with no luck: if (field[usrChosen1].ischosen <> 0) then var sp as number sp = [usrChosen1].field[aFinalVal].value * 5 sp = round(sp, 0, -1) Any Ideas? |
All times are GMT -8. The time now is 03:55 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.