Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
Anyone in here know Acroscript, or more accurately Adobe Acrobat's version of Javascript?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Madmaxneo" data-source="post: 6372476" data-attributes="member: 6716025"><p>Correction and a little more on the above: The stats range from 01 to 105, going up by 5's up to 100, then by 1 up to 105. There are two numbers that are associated with the stat number, bonus and development points (DP). In the following example the format is "Stat range" : bonus, DP. This is in the script that I have been led top believe will work for this idea. </p><p>[CODE]var stat = {"01-05" : -18, .25, "06-10" : -16, .25, "36-40" : -4, .75, "61-65" : 3, 3, "91-95" : 9, 9, "102" : 12, 12}[/CODE]</p><p>Now my questions:</p><p>1. Can I put this into a custom object in a document level script?</p><p>2. Will this work with two columns to look up?</p><p>3. Do I need top create separate lines for each stat number or can there be ranges like above. Or Can I simply do this:</p><p>[CODE]var stat = {"01" : -18, .25, "06" : -16, .25}[/CODE]</p><p>Where it will automatically apply the numbers between 1 and 6 to the first "01" and so on. Or would it have to look below the number like this:</p><p>[CODE]var stat = {"05" : -18, .25, "10" : -16, .25}[/CODE]</p><p>Where it will automatically apply the numbers equal to and lower than 05 to get that bonus and DP, but will apply the numbers between 6 and 10 to the "10".</p><p></p><p>Bruce</p></blockquote><p></p>
[QUOTE="Madmaxneo, post: 6372476, member: 6716025"] Correction and a little more on the above: The stats range from 01 to 105, going up by 5's up to 100, then by 1 up to 105. There are two numbers that are associated with the stat number, bonus and development points (DP). In the following example the format is "Stat range" : bonus, DP. This is in the script that I have been led top believe will work for this idea. [CODE]var stat = {"01-05" : -18, .25, "06-10" : -16, .25, "36-40" : -4, .75, "61-65" : 3, 3, "91-95" : 9, 9, "102" : 12, 12}[/CODE] Now my questions: 1. Can I put this into a custom object in a document level script? 2. Will this work with two columns to look up? 3. Do I need top create separate lines for each stat number or can there be ranges like above. Or Can I simply do this: [CODE]var stat = {"01" : -18, .25, "06" : -16, .25}[/CODE] Where it will automatically apply the numbers between 1 and 6 to the first "01" and so on. Or would it have to look below the number like this: [CODE]var stat = {"05" : -18, .25, "10" : -16, .25}[/CODE] Where it will automatically apply the numbers equal to and lower than 05 to get that bonus and DP, but will apply the numbers between 6 and 10 to the "10". Bruce [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Anyone in here know Acroscript, or more accurately Adobe Acrobat's version of Javascript?
Top