Skip to content

ManualHitsConversion.js

kyleady edited this page Jan 28, 2017 · 1 revision

Purpose

Before I used TheAttack and its predecessors, I created these API Commands to convert the Hits saved by the DamageCatcher.js into hits for Single, Semi Auto, and Full Auto attacks.

When the DamageCatcher.js saves the successes from a WS, BS, or Wp check, it records the negative of the successes within Hits.

Usage

!Semi (GM only)

If the Hits variable is negative, this API Command converts the number of successes into a positive number divided by two, rounding down plus one.

!Full (GM only)

If the Hits variable is negative, this API Command converts the number of successes into a positive number plus one.

Requirements

The Damage Variables listed in Damage must exist somewhere in the campaign.

Clone this wiki locally