Skip to content

INQVehicle.js

kyleady edited this page Mar 1, 2017 · 1 revision

Purpose

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

Usage

new INQVehicle()

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

INQVehicle.prototype.bonus(characteristic)

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

Bonus = Floor(Characteristic/10) + Unnatural Characteristic

INQVehicle.prototype.toCharacterObj(isPlayer)

Uses the details of the INQVehicle 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