Skip to content

INQTest.js

kyleady edited this page Jan 28, 2018 · 1 revision

Purpose

A single class for handling all of the Skill and Characteristic tests that must be made during a Dark Heresy Campaign. The INQTest is displayed as a default Roll20 template. The test can be rolled before displaying, or you can display without rolling and a D100 will be used.

Usage

new INQTest(options)

When creating a test, you can optionally specify any of the following

  • options.skill - The name of the skill to be tested. This includes the group. It can also accept a characteristic name. See INQTest.js.setSkill.js and INQTest.js.setSubgroup.js for more details.
  • options.characteristic - The name of the characteristic being used. See INQTest.js.setCharacteristic.js for more details.
  • options.modifier - An array of objects. Each object should have a Name and Value property. See INQTest.js.addModifier.js for more details.
  • options.inqcharacter - An INQCharacter object. This is the character making the test.

Methods

  • INQTest.js.addModifier.js
  • INQTest.js.characteristics.js
  • INQTest.js.display.js
  • INQTest.js.getSkillModifier.js
  • INQTest.js.getStats.js
  • INQTest.js.roll.js
  • INQTest.js.setCharacteristic.js
  • INQTest.js.setSkill.js
  • INQTest.js.setSubgroup.js
  • INQTest.js.skills.js

Clone this wiki locally