|
1 | 1 | // GroupCheck version 1.2
|
2 |
| -// Last Updated: 2016-12-04 |
| 2 | +// Last Updated: 2016-12-12 |
3 | 3 | // A script to roll checks for many tokens at once with one command.
|
4 | 4 |
|
5 | 5 | var groupCheck = groupCheck || (function() {
|
@@ -156,36 +156,36 @@ var groupCheck = groupCheck || (function() {
|
156 | 156 | 'AC' : { 'name' : 'Armor Class', 'formula' : '%AC%'}
|
157 | 157 | },
|
158 | 158 | '5E-OGL' : {
|
159 |
| - 'Strength Save': { 'name' : 'Strength Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%strength_save_bonus% + %globalsavemod% + %npc%*%npc_str_save%]]' }, |
160 |
| - 'Dexterity Save': { 'name' : 'Dexterity Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%dexterity_save_bonus% + %globalsavemod% + %npc%*%npc_dex_save%]]' }, |
161 |
| - 'Constitution Save': { 'name' : 'Constitution Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%constitution_save_bonus% + %globalsavemod% + %npc%*%npc_con_save%]]' }, |
162 |
| - 'Intelligence Save': { 'name' : 'Intelligence Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%intelligence_save_bonus% + %globalsavemod% + %npc%*%npc_int_save%]]' }, |
163 |
| - 'Wisdom Save': { 'name' : 'Wisdom Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%wisdom_save_bonus% + %globalsavemod% + %npc%*%npc_wis_save%]]' }, |
164 |
| - 'Charisma Save': { 'name' : 'Charisma Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%charisma_save_bonus% + %globalsavemod% + %npc%*%npc_cha_save%]]' }, |
| 159 | + 'Strength Save': { 'name' : 'Strength Saving Throw', 'formula' : '[[d20 + %strength_save_bonus% + %globalsavemod% + %npc_str_save%/%npc_str_save%*(%npc_str_save% - %strength_save_bonus%)]]' }, |
| 160 | + 'Dexterity Save': { 'name' : 'Dexterity Saving Throw', 'formula' : '[[d20 + %dexterity_save_bonus% + %globalsavemod% + %npc_dex_save%/%npc_dex_save%*(%npc_dex_save% - %dexterity_save_bonus%)]]' }, |
| 161 | + 'Constitution Save': { 'name' : 'Constitution Saving Throw', 'formula' : '[[d20 + %constitution_save_bonus% + %globalsavemod% + %npc_con_save%/%npc_con_save%*(%npc_con_save% - %constitution_save_bonus%)]]' }, |
| 162 | + 'Intelligence Save': { 'name' : 'Intelligence Saving Throw', 'formula' : '[[d20 + %intelligence_save_bonus% + %globalsavemod% + %npc_int_save%/%npc_int_save%*(%npc_int_save% - %intelligence_save_bonus%)]]' }, |
| 163 | + 'Wisdom Save': { 'name' : 'Wisdom Saving Throw', 'formula' : '[[d20 + %wisdom_save_bonus% + %globalsavemod% + %npc_wis_save%/%npc_wis_save%*(%npc_wis_save% - %wisdom_save_bonus%)]]' }, |
| 164 | + 'Charisma Save': { 'name' : 'Charisma Saving Throw', 'formula' : '[[d20 + %charisma_save_bonus% + %globalsavemod% + %npc_cha_save%/%npc_cha_save%*(%npc_cha_save% - %charisma_save_bonus%)]]' }, |
165 | 165 | 'Strength Check': { 'name' : 'Strength Check', 'formula' : '[[d20 + %strength_mod%]]' },
|
166 | 166 | 'Dexterity Check': { 'name' : 'Dexterity Check', 'formula' : '[[d20 + %dexterity_mod%]]' },
|
167 | 167 | 'Constitution Check': { 'name' : 'Constitution Check', 'formula' : '[[d20 + %constitution_mod%]]' },
|
168 | 168 | 'Intelligence Check': { 'name' : 'Intelligence Check', 'formula' : '[[d20 + %intelligence_mod%]]' },
|
169 | 169 | 'Wisdom Check': { 'name' : 'Wisdom Check', 'formula' : '[[d20 + %wisdom_mod%]]' },
|
170 | 170 | 'Charisma Check': { 'name' : 'Charisma Check', 'formula' : '[[d20 + %charisma_mod%]]' },
|
171 |
| - 'Acrobatics': { 'name' : 'Dexterity (Acrobatics) Check', 'formula' : '[[d20 + (1-%npc%)*%acrobatics_bonus% + %npc%*%npc_acrobatics%]]' }, |
172 |
| - 'Animal Handling': { 'name' : 'Wisdom (Animal Handling) Check', 'formula' : '[[d20 + (1-%npc%)*%animal_handling_bonus% + %npc%*%npc_animal_handling%]]' }, |
173 |
| - 'Arcana': { 'name' : 'Intelligence (Arcana) Check', 'formula' : '[[d20 + (1-%npc%)*%arcana_bonus% + %npc%*%npc_arcana%]]' }, |
174 |
| - 'Athletics': { 'name' : 'Strength (Athletics) Check', 'formula' : '[[d20 + (1-%npc%)*%athletics_bonus% + %npc%*%npc_athletics%]]' }, |
175 |
| - 'Deception': { 'name' : 'Charisma (Deception) Check', 'formula' : '[[d20 + (1-%npc%)*%deception_bonus% + %npc%*%npc_deception%]]' }, |
176 |
| - 'History': { 'name' : 'Intelligence (History) Check', 'formula' : '[[d20 + (1-%npc%)*%history_bonus% + %npc%*%npc_history%]]' }, |
177 |
| - 'Insight': { 'name' : 'Wisdom (Insight) Check', 'formula' : '[[d20 + (1-%npc%)*%insight_bonus% + %npc%*%npc_insight%]]' }, |
178 |
| - 'Intimidation': { 'name' : 'Charisma (Intimidation) Check', 'formula' : '[[d20 + (1-%npc%)*%intimidation_bonus% + %npc%*%npc_intimidation%]]' }, |
179 |
| - 'Investigation': { 'name' : 'Intelligence (Investigation) Check', 'formula' : '[[d20 + (1-%npc%)*%investigation_bonus% + %npc%*%npc_investigation%]]' }, |
180 |
| - 'Medicine': { 'name' : 'Wisdom (Medicine) Check', 'formula' : '[[d20 + (1-%npc%)*%medicine_bonus% + %npc%*%npc_medicine%]]' }, |
181 |
| - 'Nature': { 'name' : 'Intelligence (Nature) Check', 'formula' : '[[d20 + (1-%npc%)*%nature_bonus% + %npc%*%npc_nature%]]' }, |
182 |
| - 'Perception': { 'name' : 'Wisdom (Perception) Check', 'formula' : '[[d20 + (1-%npc%)*%perception_bonus% + %npc%*%npc_perception%]]' }, |
183 |
| - 'Performance': { 'name' : 'Charisma (Performance) Check', 'formula' : '[[d20 + (1-%npc%)*%performance_bonus% + %npc%*%npc_performance%]]' }, |
184 |
| - 'Persuasion': { 'name' : 'Charisma (Persuasion) Check', 'formula' : '[[d20 + (1-%npc%)*%athletics_bonus% + %npc%*%npc_athletics%]]' }, |
185 |
| - 'Religion': { 'name' : 'Intelligence (Religion) Check', 'formula' : '[[d20 + (1-%npc%)*%religion_bonus% + %npc%*%npc_religion%]]' }, |
186 |
| - 'Sleight of Hand': { 'name' : 'Dexterity (Sleight of Hand) Check', 'formula' : '[[d20 + (1-%npc%)*%sleight_of_hand_bonus% + %npc%*%npc_sleight_of_hand%]]' }, |
187 |
| - 'Stealth': { 'name' : 'Dexterity (Stealth) Check', 'formula' : '[[d20 + (1-%npc%)*%stealth_bonus% + %npc%*%npc_stealth%]]' }, |
188 |
| - 'Survival': { 'name' : 'Wisdom (Survival) Check', 'formula' : '[[d20 + (1-%npc%)*%survival_bonus% + %npc%*%npc_survival%]]' }, |
| 171 | + 'Acrobatics': { 'name' : 'Dexterity (Acrobatics) Check', 'formula' : '[[d20 + %acrobatics_bonus% + %npc_acrobatics%/%npc_acrobatics%*(%npc_acrobatics%-%acrobatics_bonus%)]]' }, |
| 172 | + 'Animal Handling': { 'name' : 'Wisdom (Animal Handling) Check', 'formula' : '[[d20 + %animal_handling_bonus% + %npc_animal_handling%/%npc_animal_handling%*(%npc_animal_handling%-%animal_handling_bonus%)]]' }, |
| 173 | + 'Arcana': { 'name' : 'Intelligence (Arcana) Check', 'formula' : '[[d20 + %arcana_bonus% + %npc_arcana%/%npc_arcana%*(%npc_arcana%-%arcana_bonus%)]]' }, |
| 174 | + 'Athletics': { 'name' : 'Strength (Athletics) Check', 'formula' : '[[d20 + %athletics_bonus% + %npc_athletics%/%npc_athletics%*(%npc_athletics%-%athletics_bonus%)]]' }, |
| 175 | + 'Deception': { 'name' : 'Charisma (Deception) Check', 'formula' : '[[d20 + %deception_bonus% + %npc_deception%/%npc_deception%*(%npc_deception%-%deception_bonus%)]]' }, |
| 176 | + 'History': { 'name' : 'Intelligence (History) Check', 'formula' : '[[d20 + %history_bonus% + %npc_history%/%npc_history%*(%npc_history%-%history_bonus%)]]' }, |
| 177 | + 'Insight': { 'name' : 'Wisdom (Insight) Check', 'formula' : '[[d20 + %insight_bonus% + %npc_insight%/%npc_insight%*(%npc_insight%-%insight_bonus%)]]' }, |
| 178 | + 'Intimidation': { 'name' : 'Charisma (Intimidation) Check', 'formula' : '[[d20 + %intimidation_bonus% + %npc_intimidation%/%npc_intimidation%*(%npc_intimidation%-%intimidation_bonus%)]]' }, |
| 179 | + 'Investigation': { 'name' : 'Intelligence (Investigation) Check', 'formula' : '[[d20 + %investigation_bonus% + %npc_investigation%/%npc_investigation%*(%npc_investigation%-%investigation_bonus%)]]' }, |
| 180 | + 'Medicine': { 'name' : 'Wisdom (Medicine) Check', 'formula' : '[[d20 + %medicine_bonus% + %npc_medicine%/%npc_medicine%*(%npc_medicine%-%medicine_bonus%)]]' }, |
| 181 | + 'Nature': { 'name' : 'Intelligence (Nature) Check', 'formula' : '[[d20 + %nature_bonus% + %npc_nature%/%npc_nature%*(%npc_nature%-%nature_bonus%)]]' }, |
| 182 | + 'Perception': { 'name' : 'Wisdom (Perception) Check', 'formula' : '[[d20 + %perception_bonus% + %npc_perception%/%npc_perception%*(%npc_perception%-%perception_bonus%)]]' }, |
| 183 | + 'Performance': { 'name' : 'Charisma (Performance) Check', 'formula' : '[[d20 + %performance_bonus% + %npc_performance%/%npc_performance%*(%npc_performance%-%performance_bonus%)]]' }, |
| 184 | + 'Persuasion': { 'name' : 'Charisma (Persuasion) Check', 'formula' : '[[d20 + %athletics_bonus% + %npc_athletics%/%npc_athletics%*(%npc_athletics%-%athletics_bonus%)]]' }, |
| 185 | + 'Religion': { 'name' : 'Intelligence (Religion) Check', 'formula' : '[[d20 + %religion_bonus% + %npc_religion%/%npc_religion%*(%npc_religion%-%religion_bonus%)]]' }, |
| 186 | + 'Sleight of Hand': { 'name' : 'Dexterity (Sleight of Hand) Check', 'formula' : '[[d20 + %sleight_of_hand_bonus% + %npc_sleight_of_hand%/%npc_sleight_of_hand%*(%npc_sleight_of_hand%-%sleight_of_hand_bonus%)]]' }, |
| 187 | + 'Stealth': { 'name' : 'Dexterity (Stealth) Check', 'formula' : '[[d20 + %stealth_bonus% + %npc_stealth%/%npc_stealth%*(%npc_stealth%-%stealth_bonus%)]]' }, |
| 188 | + 'Survival': { 'name' : 'Wisdom (Survival) Check', 'formula' : '[[d20 + %survival_bonus% + %npc_survival%/%npc_survival%*(%npc_survival%-%survival_bonus%)]]' }, |
189 | 189 | 'AC' : { 'name' : 'Armor Class', 'formula' : '%AC%' }
|
190 | 190 | },
|
191 | 191 | '3.5' : {
|
|
0 commit comments