-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFeyFireBackstab.js
More file actions
19 lines (18 loc) · 1.02 KB
/
FeyFireBackstab.js
File metadata and controls
19 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Usage: /:FeyFireBackstab
* copy this macro and rename it to match other attacks, then reference it in an OtF like this: [/:attackname]
* then fill in the values below to match the name of the attack, the animations, and outcomes.
*/
console.log(`---------------------- Start FeyFireBackstab ----------------------`);
// OtF action setup:
let AttackTitle ='FeyFire BackStab'; // Attack Name, i.e. [R:Vic*Fey*Dagger*Swung]
let AttackName ='Exq*Fey*Dagger*Backstab*Vitals*Chinks'; // Ranged Attack Name, i.e. [R:Vic*Fey*Dagger*Swung]
let extraEffort = `+0 Regular Attack *Cost 0FP`;
let kbm = 1;
let animSet = 'FeyFireSlash';
let attackSkill = 'Knife';
let trapTagOpt = '';
let followOn = '[1d burn]'; // follow-on damage]';
let OtF = `/r [/:GenericMeleeAttack title="${AttackTitle}" attack=${AttackName} kbm=${kbm} anim=${animSet} skill=${attackSkill} trap=${trapTagOpt} fon="${followOn}" effort="${extraEffort}"]`;
console.log(OtF);
GURPS.executeOTF(OtF);
console.log(`---------------------- End FeyFireBackstab ----------------------`);