Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Need help with macro-ing AD&D 2E NPC Thief Skills

1700936564

Edited 1700936850
I keep coming back to this every couple years.  I'm trying to crack the code for Hide in Shadows and Move Silently. I'm close, but not exactly right. here's what I have so far for Hide in Shadows. [[5+@{selected|level}*5+[[floor((@{selected|level}-1)/2)*(floor(@{selected|level}**0.5))]]]] I suspect this is much more simple than I think.  I suppose I could graph it and then work backwards... Asking smart people for help seems like a much better option. I'm using the AD&D 2nd Edition Simple Sheet
1700938457

Edited 1700938570
vÍnce
Pro
Sheet Author
Hi Gargamond, applying math to make sense of some of those old 1e/2e tables just ain't worth the squeeze... Would a query with the table data work? [[ ?{Hide in Shadows: Class level?|1,10|2,15|3,20|4,25|5,31|6,37|7,43|8,49|9,56|10,63|11,70|12,77|13,85|14,96|15+,99} ]] You could also add any racial and/or magic modifiers or such within the inline roll as well.
1700939509

Edited 1700939590
Gauss
Forum Champion
You can set this up like so: For Pick Pockets: [[30+{@{level},0}>2*5 + {@{level},0}>3*5 + {@{level},0}>4*5 +.........]] (where .... is for more of {@{level},0}>5*5 etc) How this works:  Level 1: 30 Level 2: {@{level},0}>2*5 results in 0 if not level 2, or 5% for level 2+ Level 3: {@{level},0}>3*5 results in 0 if not level 3, or 5% for level 3+ That will give you raw %, then you'd need to add your racial modifier and any penalties to it.  Finally you'd need to set the limit at 99% like this:  [[{[[penalties + pick pockets racial mod + 30+{@{level},0}>2*5 + {@{level},0}>3*5 + {@{level},0}>4*5 +.........]],99}kl1]]
Gauss said: You can set this up like so: For Pick Pockets: [[30+{@{level},0}>2*5 + {@{level},0}>3*5 + {@{level},0}>4*5 +.........]] (where .... is for more of {@{level},0}>5*5 etc) How this works:  Level 1: 30 Level 2: {@{level},0}>2*5 results in 0 if not level 2, or 5% for level 2+ Level 3: {@{level},0}>3*5 results in 0 if not level 3, or 5% for level 3+ That will give you raw %, then you'd need to add your racial modifier and any penalties to it.  Finally you'd need to set the limit at 99% like this:  [[{[[penalties + pick pockets racial mod + 30+{@{level},0}>2*5 + {@{level},0}>3*5 + {@{level},0}>4*5 +.........]],99}kl1]] Here's what I have been using for Pick Pockets.  It's accurate until that 10% jump at level 11. 25+@{selected|level}*5 But what I'm really after is Hide in Shadows and Move Silently.
1700951324

Edited 1700951531
Gauss
Forum Champion
I was simply providing an example. The setup I suggested will work for any of them.  Here is the example for Hide in Shadows:  [[10+{@{level},0}>2*5 + {@{level},0}>3*5 + {@{level},0}>4*5 + {@{level},0}>5*6 + .........]] To restate what I wrote earlier:  {@{level},0}># 1 *# 2 "@{level}" = the level of the person using this, you can of course do it as @{selected|level} Make sure the attribute is as desired.  ",0" = a number that is guaranteed to not cause a problem with the check.  ># 1 = the check against the level in the chart. Example: 2 *# 2  = the difference between the earlier level and the current level in the chart. Example: for level 2 the difference on Hide in Shadows is 15-10 = 5.  So, if the level is 2 or above it gives:  {@{level},0}>2*5 = {2,0}>2*5 = 1*5 = 5 If the level is below 2 it gives:  {@{level},0}>2*5 = {1,0}>2*5 = 0*5 = 0 You just need to finish the macro (the .... ) with the remaining sections.