Skip to content

INQStarship.js

kyleady edited this page Feb 28, 2017 · 1 revision

Purpose

The INQ Starship Prototype was made to organize all of the details of a starship into an accessible object, such as weapons, speed, maneuverability, void shields, etc

Usage

new INQStarship()

The INQStarship Prototype is currently unable to parse Roll20 character objects.

INQStarship.prototype.bonus(characteristic)

Returns the total Characteristic bonus for the specified stat in the form of an integer.

Bonus = Floor(Characteristic/10) + Unnatural Characteristic

INQStarship.prototype.toCharacterObj(isPlayer)

Uses the details of the INQStarship to make a new Roll20 character.

If isPlayer is true, the notes will be written in the bio. If false, they will be written in the gmnotes. By default isPlayer is false.

Requirements

Clone this wiki locally