Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [h:cboSkillList="Acrobatics, Athletics, Blend, Bluff, Crafting, Disguise, Haggle, Impress, Intimidate, Investigate, Medicine, Notice, Prestidigitation, Resolve, Ride, Search, Sense Motive, Sneak, Survival, Tactics"]
- [h:cboAtrList="STR, DEX, CON, INT, WIS, CHA"]
- [h:boolStatus=input(
- "strSkill|"+cboSkillList+"|Skill|LIST|SELECT=0 VALUE=STRING",
- "strGovAtr|"+cboAtrList+"|Attribute|LIST|SELECT=0 VALUE=STRING")]
- [h,if(strGovAtr == "STR"): skillMod = Str + CompBonus]
- [h,if(strGovAtr == "DEX"): skillMod = Dex + CompBonus]
- [h,if(strGovAtr == "CON"): skillMod = Con + CompBonus]
- [h,if(strGovAtr == "INT"): skillMod = Int + CompBonus]
- [h,if(strGovAtr == "WIS"): skillMod = Wis + CompBonus]
- [h,if(strGovAtr == "CHA"): skillMod = Cha + CompBonus]
- [h: intRoll = 1d20]
- [h: intTotal = intRoll + skillMod]
- [h: strOutput = strSkill + ": " + intRoll + " + " + skillMod + " = " + intTotal]
- [r: strOutput]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement