diff --git a/Warhammer 4e Character Sheet/README.md b/Warhammer 4e Character Sheet/README.md index e8c2919c6d6..f27d1ea467f 100644 --- a/Warhammer 4e Character Sheet/README.md +++ b/Warhammer 4e Character Sheet/README.md @@ -82,6 +82,19 @@ Note conditions are not intended for out of combat situations, GM simply makes t ///// ============ Change Log ============ ///// +Dec 12th 2024 v1.74 + +- New Dwarf Player's Guide Talents, to support the new Dwarf career's. Talents with direct roll modifier are integrated, but some of the indirect ones are manually applied by the GM/players. Including new attack mode Whirlwind of Death. These Talents are intended for Dwarfs only, but sheet will allow any race to use them (at GM discretion). +- New Grudges, option to switch between Goals or Grudges recording on the Background Tab. Dwarf Race PCs automatically switch to Grudges, but can be changed back manually if desired. +- New Characteristics Auto Roller for new characters, for every officially supported Race. This will only show if Starting WeaponSkill and Fellowship are empty, like at PC creation. +- All talent based situational SL modifiers (Grey ones) now have mouse over labels with their RAW test text added. To aid GM/player to determine if they should be added to the roll. +- Reworked the Weapon Quality configuration boxes, added more linear layout and alphabetized. New added are, Entangle to Melee weapon Qualities. And Crewed and Salvo to Ranged weapon Qualities. +- Magic/Melee/Range Quickbar rework, new pop out buttons under the Combat Actions section. Declared Attack Options, e.g. Charge/Defensive/Called Shot/Frenzy/DW/Disarm etc, have all been moved to Declare Attack Options. Players must click these to enable talents add automatically to the Roll outcome. This simulates how Talent based Special Action options have to be called before attacking. +- Dual Wield is no longer a situational bonus, its now been moved in the Declared Attack Options section of the Melee Quickbar. Brining all these types of special attack actions into one place. +- Distracted now correctly applies to all test rolls. +- Warpstone Quality changed to the EiS version. + + Oct 9th 2024 v1.73a - Optimized sheet code and the reduced overall size by ~5% diff --git a/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.css b/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.css index 4d9e16fd005..c0c6c09bec0 100644 --- a/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.css +++ b/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.css @@ -1106,7 +1106,10 @@ display:flex; } .sheet-seperator-cap::first-letter { - color: black; + font-size: 1.4em; + margin-left: 5px; +} +.sheet-seperator-cap2::first-letter { font-size: 1.4em; margin-left: 5px; } @@ -2493,6 +2496,11 @@ span.sheet-spacer, display: block; margin-top: 10px; } +span.sheet-spacer-ml, +.sheet-rolltemplate-whfrp2e span.sheet-spacer-ml { + display: block; + margin-top: 17px; +} .sheet-spacer-xl, .sheet-rolltemplate-whfrp2e span.sheet-spacer-xl { display: block; @@ -2707,7 +2715,6 @@ input[disabled].sheet-passive-skill-score { [class^="sheet-col"], .sheet-rolltemplate-whfrp2e [class^="sheet-col"] { display: inline-block; - *display: inline; /* IE < 8: fake inline-block */ zoom: 1; letter-spacing: normal; word-spacing: normal; @@ -3178,8 +3185,6 @@ input[disabled].sheet-passive-skill-score { .sheet-row, .sheet-rolltemplate-whfrp2e .sheet-row { letter-spacing: -0.31em; /* Webkit: collapse white-space between units */ - *letter-spacing: normal; /* reset IE < 8 */ - *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */ } .sheet-opera-only :-o-prefocus, .sheet-row, @@ -5460,7 +5465,6 @@ input[disabled].sheet-passive-skill-score { .sheet-row-r, .sheet-rolltemplate-whfrp2e .sheet-row-r { letter-spacing: -0.31em; - *letter-spacing: normal; word-spacing: -0.43em; } .sheet-opera-only :-o-prefocus, .sheet-row-r, diff --git a/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.html b/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.html index 9600e54862c..7ddc1fce612 100644 --- a/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.html +++ b/Warhammer 4e Character Sheet/Warhammer 4e Character Sheet.html @@ -7,7 +7,7 @@ -
+
@@ -403,18 +403,18 @@
- Carries - Enc: + Carries + Enc:
- Current + Current
- Max + Max
@@ -1034,6 +1034,8 @@ +
+
@@ -1875,7 +1886,7 @@
-
@@ -1898,23 +1909,23 @@
- Charge -
- +
-
- +
+
-
+
+ +
2v1 @@ -1970,30 +1981,50 @@
- Defensive -
- +
- +
-
- +
+
+
+
+ +
+
-
+
+ Charge +
+
+ +
+
+ +
+
+ Defensive +
+
+ +
+
+
+
Called Shot
@@ -2002,7 +2033,7 @@
-
+
StStun
@@ -2011,65 +2042,92 @@
-
+
Feint
- + +
+
+ Drilled +
+
+ +
+
+ +
+
+ Dual Wield +
+
+ +
+
+
-
+
Frenzy
- -
-
- Drilled + +
+
+ Underminer
- +
- -
-
- Beat Blade + +
+
+ Infight
- +
-
-
- Break & Enter +
+
+ Melee when breaking inanimate objects +
+
+ +
+
+ +
+
+ Beat Blade
- +
-
-
+
+
Disarm
- +
-
- Infight +
+ Whirlwind of Death
- +
@@ -2093,14 +2151,15 @@
-
- +
+
- -
+
+ +
Aim @@ -2130,7 +2189,8 @@
@@ -2176,7 +2236,10 @@ -
+
+
+ +
Fast Shot @@ -3100,52 +3163,56 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
@@ -3153,57 +3220,57 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
@@ -3286,52 +3353,56 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
@@ -3339,57 +3410,57 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
@@ -3472,52 +3543,56 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
@@ -3525,57 +3600,57 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
@@ -3649,44 +3724,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -3696,28 +3785,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -3795,74 +3921,126 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
+
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -5093,52 +5271,56 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
@@ -5146,57 +5328,57 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
@@ -5279,52 +5461,56 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
@@ -5332,57 +5518,57 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
@@ -5463,52 +5649,56 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
@@ -5516,57 +5706,57 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
@@ -5640,44 +5830,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -5687,28 +5891,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -5786,44 +6027,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -5833,28 +6088,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -7072,116 +7364,117 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
-
-
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
-
@@ -7263,116 +7556,117 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
-
-
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
-
@@ -7455,116 +7749,117 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
-
-
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
- +
+
-
- +
+
-
- +
+
-
- +
+
-
- +
+
- -
- +
+
-
- +
+
-
- +
+
-
@@ -7638,44 +7933,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -7685,28 +7994,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -7714,9 +8060,7 @@
- -
@@ -7726,7 +8070,6 @@
-
@@ -7787,44 +8130,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -7834,28 +8191,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -9098,116 +9492,117 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
-
-
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
-
@@ -9289,116 +9684,117 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
-
-
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
-
@@ -9481,116 +9877,117 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
- -
-
-
+
+ +
+
+ +
+
+ +
+
+ +
+
-
+
- +
- +
- -
-
- +
- -
-
- +
-
-
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
-
- +
+
-
- +
+
-
- + +
+
-
- +
+
-
+
-
+
-
- +
+
-
- +
+
- -
- +
+
-
+
-
+
+ +
+
-
@@ -9664,44 +10061,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -9711,28 +10122,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -9740,9 +10188,7 @@
- -
@@ -9752,7 +10198,6 @@
-
@@ -9813,44 +10258,58 @@
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -9860,28 +10319,65 @@
+
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
-
- -
-
- +
+
-
- +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -10575,6 +11071,12 @@
CHARACTERISTICS + + +
+ +
+
@@ -10626,7 +11128,8 @@
-
+
+
@@ -11627,7 +12130,7 @@
- +
@@ -11721,7 +12224,7 @@
- +
@@ -11815,7 +12318,7 @@
- +
@@ -11907,7 +12410,7 @@
- +
@@ -11999,7 +12502,7 @@
- +
@@ -12093,7 +12596,7 @@
- +
@@ -12371,7 +12874,7 @@
- +
@@ -12462,7 +12965,7 @@
- +
@@ -12559,7 +13062,7 @@
- +
@@ -12747,7 +13250,7 @@
- +
@@ -12839,7 +13342,7 @@
- +
@@ -12931,7 +13434,7 @@
- +
@@ -13023,7 +13526,7 @@
- +
@@ -13115,7 +13618,7 @@
- +
@@ -14063,7 +14566,7 @@
- +
@@ -14223,7 +14726,7 @@
- Perceptionb + Perceptionb
- +
@@ -14532,7 +15035,7 @@
- +
@@ -14600,7 +15103,7 @@
- Stealthb + Stealthb
- +
@@ -15048,7 +15551,7 @@
- +
@@ -15284,7 +15787,7 @@
- +
@@ -15384,7 +15887,7 @@
- +
@@ -15484,7 +15987,7 @@
- +
@@ -15584,7 +16087,7 @@
- +
@@ -15684,7 +16187,7 @@
- +
@@ -15784,7 +16287,7 @@
- +
@@ -15884,7 +16387,7 @@
- +
@@ -15984,7 +16487,7 @@
- +
@@ -16083,7 +16586,7 @@
- +
@@ -16183,7 +16686,7 @@
- +
@@ -16283,7 +16786,7 @@
- +
@@ -16382,7 +16885,7 @@
- +
@@ -16481,7 +16984,7 @@
- +
@@ -18628,6 +19131,100 @@
+
+
+
+
+
+ +
+
+ Runesmithing +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + + +
+ + +
+
+
Roll Outcome
+
Text to display
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
@@ -19074,7 +19671,7 @@
- +
@@ -19169,7 +19766,7 @@
- +
@@ -19366,8 +19963,11 @@
+
+
+ +
-
@@ -21446,10 +22046,171 @@
-
- +
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+ +
+
@@ -21633,6 +22394,27 @@ j
+ +
+
+ +
+
+ Ancestral Grudge +
+
+ +
+
+ + +
+
+ +
+ + * +
@@ -21943,6 +22725,26 @@ j
+ +
+
+ +
+
+ Bludgeoner +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -22419,7 +23221,7 @@
- * + j
@@ -22445,7 +23247,7 @@
- * + j
@@ -22471,7 +23273,7 @@
- * + j
@@ -22557,6 +23359,26 @@ j
+ +
+
+ +
+
+ Demolisher +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -22682,6 +23504,26 @@ *
+ +
+
+ +
+
+ Dragon Belcher +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -22766,6 +23608,26 @@ j
+ +
+
+ +
+
+ Entrenchment +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -23194,6 +24056,27 @@ j
+ +
+
+ +
+
+ Forgefire +
+
+ / +
+
+ + +
+
+ +
+ + * +
@@ -23257,6 +24140,27 @@ j
+ +
+
+ +
+
+ Glorious Demise +
+
+ / +
+
+ + +
+
+ +
+ + * +
@@ -23320,6 +24224,26 @@ j
+ +
+
+ +
+
+ Harpooner +
+
+ +
+
+ + +
+
+ +
+ * +
@@ -23705,6 +24629,26 @@ *
+ +
+
+ +
+
+ Kingsguard +
+
+ / +
+
+ + +
+
+ +
+ * +
@@ -23788,6 +24732,46 @@ j
+ +
+
+ +
+
+ Liquid Fortification +
+
+ +
+
+ + +
+
+ +
+ j +
+ +
+
+ +
+
+ Long Memory +
+
+ +
+
+ + +
+
+ +
+ * +
@@ -23851,6 +24835,26 @@ *
+ +
+
+ +
+
+ Magic Defiance +
+
+ / +
+
+ + +
+
+ +
+ * +
@@ -23977,6 +24981,26 @@ *
+ +
+
+ +
+
+ Master Rune Magic +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -24001,7 +25025,7 @@
- * + j
@@ -24027,7 +25051,7 @@
- * + j
@@ -24053,7 +25077,27 @@
- * + j +
+ +
+
+ +
+
+ Maverick +
+
+ +
+
+ + +
+
+ +
+ j
@@ -24718,6 +25762,26 @@ j
+ +
+
+ +
+
+ Rune Magic +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -25027,6 +26091,26 @@ j
+ +
+
+ +
+
+ Short Fuse +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -25744,6 +26828,26 @@ j
+ +
+
+ +
+
+ Tireless +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -25891,6 +26995,26 @@ j
+ +
+
+ +
+
+ Underminer +
+
+ +
+
+ + +
+
+ +
+ j +
@@ -26080,6 +27204,26 @@ *
+ +
+
+ +
+
+ Whirlwind of Death +
+
+ / +
+
+ + +
+
+ +
+ j +
@@ -26298,12 +27442,20 @@
+
- GOALS + GOALS / + GRUDGES +
+ +
+ GOALS / + GRUDGES
+
@@ -26326,6 +27478,25 @@
+ +
+
+
+ Grudges +
+
+
+
+ Blood Grudges +
+
+
+
+ Resolved Grudges +
+
+
+
@@ -26348,6 +27519,24 @@
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -26510,28 +27699,29 @@
-
+
+
-
WS
-
BS
-
S
+
+
+
-
S
+
-
M
-
Dex
-
Int
-
WP
-
Fel
+
+
+
+
+
-
+
-
+
@@ -26581,53 +27771,59 @@
- + + Qualities & Flaws +
-
WS
-
BS
-
S
-
S
-
S
-
S
-
Int
-
WP
-
Fel
-
Dex
+
+
+
+
+
+
+
+
+
+
+
-
+
-
- -
-
- +
+
- +
- +
- +
-
- +
+
- +
-
- +
+ +
+
+ +
+
+
@@ -26637,36 +27833,34 @@
-
WS
-
BS
-
S
-
S
-
S
-
S
-
S
-
S
-
S
- -
S
-
S
-
S
+
+
+ +
+
+
+
+
+
+
+
+
+
-
- -
- +
- +
-
- + +
+
- +
@@ -26675,19 +27869,21 @@
- +
-
- +
+
- -
- +
+
-
+
+ +
+
@@ -26914,98 +28110,61 @@
-
+
+
-
TwoHanded
-
WS
- -
BS
-
S
- -
S
-
S
- -
S
-
S
- -
S
- -
- -
- -
- -
-
M
-
Dex
-
Int
-
WP
-
Fel
+
+
+
+ +
+ +
+
+
+
+
+
+
-
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- +
+
- -
- +
+
- -
+
+
- -
+ +
+
- -
+ +
- -
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -27022,47 +28181,64 @@
+ Qualities & Flaws + +
-
WS
-
BS
-
S
-
Fel
-
S
-
Dex
-
Int
-
S
-
S
+
+
+
+ +
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+ +
+ +
+ +
+
-
- +
+
-
- +
+
-
+
+ +
+
-
- +
+
-
- +
+
- +
@@ -27073,26 +28249,62 @@
-
WS
-
BS
-
Fel
-
S
-
S
-
S
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
- +
- +
- +
- + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+
@@ -28345,7 +29557,7 @@
-
@@ -29534,7 +30746,7 @@
- Current + Current
@@ -30843,16 +32055,16 @@
- Carries: + Carries:
- Max + Max
- Current + Current
@@ -30937,16 +32149,16 @@
- Carries: + Carries:
- Max + Max
- Current + Current
@@ -31031,16 +32243,16 @@
- Carries: + Carries:
- Max + Max
- Current + Current
@@ -31125,16 +32337,16 @@
- Carries: + Carries:
- Max + Max
- Current + Current
@@ -31448,7 +32660,6 @@
- @@ -31456,7 +32667,6 @@ -

@@ -31470,7 +32680,7 @@
@@ -31534,7 +32744,7 @@
{{attacktype}}
{{/parrytest}} {{#spelltest}} -
{{spelltype}} {{#spellrange}} • {{spellrange}}{{/spellrange}}
+
{{spelltype}} {{#spellrange}} • {{spellrange}}{{/spellrange}}
{{#spellingredients}}{{spellingredients}}{{/spellingredients}}
{{#spellduration}}{{spellduration}}{{/spellduration}}{{#spelltarget}} • {{spelltarget}}{{/spelltarget}}
{{/spelltest}} @@ -31819,7 +33029,7 @@
Critical Hit{{RTcrit}}{{#rollTotal() sptal2 0}} t{{RTminor}} {{RTmajor}}{{/rollTotal() sptal2 0}}
{{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
+
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
{{/rollGreater() warpstone 0}} {{#rollGreater() trapblade 0}} @@ -32462,9 +33672,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 10}} {{#rollTotal() test 20}} @@ -32477,9 +33684,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 20}} {{#rollTotal() test 30}} @@ -32492,9 +33696,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 30}} {{#rollTotal() test 40}} @@ -32507,9 +33708,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 40}} {{#rollTotal() test 50}} @@ -32522,9 +33720,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 50}} {{#rollTotal() test 60}} @@ -32537,9 +33732,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 60}} {{#rollTotal() test 70}} @@ -32552,9 +33744,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 70}} {{#rollTotal() test 80}} @@ -32567,9 +33756,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 80}} {{#rollTotal() test 90}} @@ -32582,9 +33768,6 @@ {{#rollGreater() slash 0}}
{{slash}}
{{/rollGreater() slash 0}} - {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
- {{/rollGreater() warpstone 0}}
{{/rollTotal() test 90}} {{/^rollGreater() test target}} @@ -32637,7 +33820,7 @@
{{/rollTotal() test 90}} {{#rollGreater() warpstone 0}} -
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
+
Warpstone Crit: Target rolls (+0) Cool/Endurance Test, if failed they gain 1 corruption.
{{/rollGreater() warpstone 0}} {{/^rollGreater() test target}} {{/rollTotal() rolltype 4}} @@ -32915,10 +34098,12 @@ {{/rollGreater() menacing 0}} {{/^rollGreater() target test}} - - {{#^rollWasFumble() test}} - + + + + + {{#^rollGreater() test target}} {{#rollGreater() precise 0}}
+{{precise}}SL
@@ -32926,6 +34111,9 @@ {{^RTdualwield}}{{#rollGreater() dualwield 0}}
+{{dualwield}}SL
{{/rollGreater() dualwield 0}}{{/RTdualwield}} + {{#RTdualwield}}{{#rollGreater() dualwield 0}} +
+{{dualwield}}SL {{RTdualwield}}
+ {{/rollGreater() dualwield 0}}{{/RTdualwield}} {{#rollGreater() berserkcharge 0}}
+{{berserkcharge}}SL
{{/rollGreater() berserkcharge 0}} @@ -32947,9 +34135,9 @@ {{#rollGreater() carousersl 0}}
+{{carousersl}}SL
{{/rollGreater() carousersl 0}} - {{#rollGreater() craftsman 0}} -
+{{craftsman}}SL
- {{/rollGreater() craftsman 0}} + {{#rollGreater() liquidfortification 0}} +
+{{liquidfortification}}SL
+ {{/rollGreater() liquidfortification 0}} {{#rollGreater() masterandcommander 0}}
+{{masterandcommander}}SL
{{/rollGreater() masterandcommander 0}} @@ -32977,6 +34165,9 @@ {{#rollGreater() bne 0}}{{#rollGreater() breakenter 0}}
+{{breakenter}}SL
{{/rollGreater() breakenter 0}}{{/rollGreater() bne 0}} + {{#rollGreater() hack 0}}{{#rollGreater() demolisher 0}}{{#rollGreater() bne 0}} +
+{{demolisher}}SL
+ {{/rollGreater() bne 0}}{{/rollGreater() demolisher 0}}{{/rollGreater() hack 0}} {{#rollGreater() bookish 0}}
+{{bookish}}SL
{{/rollGreater() bookish 0}} @@ -32995,6 +34186,12 @@ {{#rollGreater() infight 0}}
+{{infight}}SL
{{/rollGreater() infight 0}} + {{#rollGreater() runemagic 0}} +
+{{runemagic}}SL
+ {{/rollGreater() runemagic 0}} + {{#rollGreater() masterrunemagic 0}} +
+{{masterrunemagic}}SL
+ {{/rollGreater() masterrunemagic 0}} {{#rollGreater() orientation 0}}
+{{orientation}}SL
{{/rollGreater() orientation 0}} @@ -33013,6 +34210,9 @@ {{#rollGreater() reversal 0}}
+{{reversal}}SL
{{/rollGreater() reversal 0}} + {{#rollGreater() bludgeoner 0}} +
+{{bludgeoner}}SL
+ {{/rollGreater() bludgeoner 0}} {{#rollGreater() animalaffinity 0}}
+{{animalaffinity}}SL
{{/rollGreater() animalaffinity 0}} @@ -33031,6 +34231,9 @@ {{#rollGreater() trapper 0}}
+{{trapper}}SL
{{/rollGreater() trapper 0}} + {{#rollGreater() underminer 0}} +
+{{underminer}}SL
+ {{/rollGreater() underminer 0}} {{#rollGreater() sptal1 0}}
+{{sptal1}}SL
{{/rollGreater() sptal1 0}} @@ -33317,236 +34520,258 @@
Custom & Situational Bonus:
{{#rollGreater() argumetative 0}} -
+{{argumetative}}SL
+
+{{argumetative}}SL
{{/rollGreater() argumetative 0}} {{#rollGreater() attractive 0}} -
+{{attractive}}SL
+
+{{attractive}}SL
{{/rollGreater() attractive 0}} {{#rollGreater() alleycat 0}} -
+{{alleycat}}SL
+
+{{alleycat}}SL
{{/rollGreater() alleycat 0}} {{#rollGreater() blather 0}} -
+{{blather}}SL
+
+{{blather}}SL
{{/rollGreater() blather 0}} + {{#rollGreater() craftsman1 0}} +
+{{craftsman1}}SL {{craftsman1name}}
+ {{/rollGreater() craftsman1 0}} + {{#rollGreater() craftsman2 0}} +
+{{craftsman2}}SL {{craftsman2name}}
+ {{/rollGreater() craftsman2 0}} + {{#rollGreater() craftsman3 0}} +
+{{craftsman3}}SL {{craftsman3name}}
+ {{/rollGreater() craftsman3 0}} {{#rollGreater() combataware 0}} -
+{{combataware}}SL
+
+{{combataware}}SL
{{/rollGreater() combataware 0}} {{#rollGreater() detectartefact 0}} -
+{{detectartefact}}SL
+
+{{detectartefact}}SL
{{/rollGreater() detectartefact 0}} {{#rollGreater() acute1 0}} -
+{{acute1}}SL {{acute1name}}
+
+{{acute1}}SL {{acute1name}}
{{/rollGreater() acute1 0}} {{#rollGreater() acute2 0}} -
+{{acute2}}SL {{acute2name}}
+
+{{acute2}}SL {{acute2name}}
{{/rollGreater() acute2 0}} {{#rollGreater() beneathnotice 0}} -
+{{beneathnotice}}SL
+
+{{beneathnotice}}SL
{{/rollGreater() beneathnotice 0}} {{#rollGreater() carouser 0}} -
+{{carouser}}SL
+
+{{carouser}}SL
{{/rollGreater() carouser 0}} {{#rollGreater() cattongued 0}} -
+{{cattongued}}SL
+
+{{cattongued}}SL
{{/rollGreater() cattongued 0}} {{#rollGreater() crackthewhip 0}} -
+{{crackthewhip}}SL
+
+{{crackthewhip}}SL
{{/rollGreater() crackthewhip 0}} {{#rollGreater() diceman 0}} -
+{{diceman}}SL
+
+{{diceman}}SL
{{/rollGreater() diceman 0}} {{#rollGreater() enclosedfighter 0}} -
+{{enclosedfighter}}SL
+
+{{enclosedfighter}}SL
{{/rollGreater() enclosedfighter 0}} + {{#rollGreater() entrenchment 0}} +
+{{entrenchment}}SL
+ {{/rollGreater() entrenchment 0}} {{#rollGreater() etiquette1 0}} -
+{{etiquette1}}SL {{etiquette1name}}
+
+{{etiquette1}}SL {{etiquette1name}}
{{/rollGreater() etiquette1 0}} {{#rollGreater() etiquette2 0}} -
+{{etiquette2}}SL {{etiquette2name}}
+
+{{etiquette2}}SL > {{etiquette2name}}
{{/rollGreater() etiquette2 0}} {{#rollGreater() etiquette3 0}} -
+{{etiquette3}}SL {{etiquette3name}}
+
+{{etiquette3}}SL > {{etiquette3name}}
{{/rollGreater() etiquette3 0}} {{#rollGreater() etiquette4 0}} -
+{{etiquette4}}SL {{etiquette4name}}
+
+{{etiquette4}}SL > {{etiquette4name}}
{{/rollGreater() etiquette4 0}} {{#rollGreater() etiquette5 0}} -
+{{etiquette5}}SL {{etiquette5name}}
+
+{{etiquette5}}SL > {{etiquette5name}}
{{/rollGreater() etiquette5 0}} {{#rollGreater() etiquette6 0}} -
+{{etiquette6}}SL {{etiquette6name}}
+
+{{etiquette6}}SL > {{etiquette6name}}
{{/rollGreater() etiquette6 0}} {{#rollGreater() impzeal 0}} -
+{{impzeal}}SL
+
+{{impzeal}}SL
{{/rollGreater() impzeal 0}} {{#rollGreater() fasthands 0}} -
+{{fasthands}}SL
+
+{{fasthands}}SL
{{/rollGreater() fasthands 0}} {{#rollGreater() gregarious 0}} -
+{{gregarious}}SL
+
+{{gregarious}}SL
{{/rollGreater() gregarious 0}} {{#rollGreater() holyvisions 0}} -
+{{holyvisions}}SL
+
+{{holyvisions}}SL
{{/rollGreater() holyvisions 0}} {{#rollGreater() ironwill 0}} -
+{{ironwill}}SL
+
+{{ironwill}}SL
{{/rollGreater() ironwill 0}} {{#rollGreater() ironjaw 0}} -
+{{ironjaw}}SL
+
+{{ironjaw}}SL
{{/rollGreater() ironjaw 0}} {{#rollGreater() inspiring 0}} -
+{{inspiring}}SL
+
+{{inspiring}}SL
{{/rollGreater() inspiring 0}} {{#rollGreater() magicalsense 0}} -
+{{magicsense}}SL
+
+{{magicsense}}SL
{{/rollGreater() magicalsense 0}} + {{#rollGreater() mastertradesman1 0}} +
+{{mastertradesman1}}SL {{mastertradesman1name}}
+ {{/rollGreater() mastertradesman1 0}} + {{#rollGreater() mastertradesman2 0}} +
+{{mastertradesman2}}SL {{mastertradesman2name}}
+ {{/rollGreater() mastertradesman2 0}} + {{#rollGreater() mastertradesman3 0}} +
+{{mastertradesman3}}SL {{mastertradesman3name}}
+ {{/rollGreater() mastertradesman3 0}} {{#rollGreater() lipreading 0}} -
+{{lipreading}}SL
+
+{{lipreading}}SL
{{/rollGreater() lipreading 0}} + {{#rollGreater() longmemory 0}} +
+{{longmemory}}SL
+ {{/rollGreater() longmemory 0}} {{#rollGreater() nightvision 0}} -
+{{nightvision}}SL
+
+{{nightvision}}SL
{{/rollGreater() nightvision 0}} {{#rollGreater() nobleblood 0}} -
+{{nobleblood}}SL
+
+{{nobleblood}}SL
{{/rollGreater() nobleblood 0}} {{#rollGreater() nosefortrouble 0}} -
+{{nosefortrouble}}SL
+
+{{nosefortrouble}}SL
{{/rollGreater() nosefortrouble 0}} {{#rollGreater() numismatics 0}} -
+{{numismatics}}SL
+
+{{numismatics}}SL
{{/rollGreater() numismatics 0}} {{#rollGreater() oldsalt 0}} -
+{{oldsalt}}SL
+
+{{oldsalt}}SL
{{/rollGreater() oldsalt 0}} {{#rollGreater() pharmacist 0}} -
+{{pharmacist}}SL
+
+{{pharmacist}}SL
{{/rollGreater() pharmacist 0}} {{#rollGreater() panhandle 0}} -
+{{panhandle}}SL
+
+{{panhandle}}SL
{{/rollGreater() panhandle 0}} {{#rollGreater() pilot 0}} -
+{{pilot}}SL
+
+{{pilot}}SL
{{/rollGreater() pilot 0}} + {{#rollGreater() maverick 0}} +
+{{maverick}}SL
+ {{/rollGreater() maverick 0}} + {{#rollGreater() magicdefiance 0}} +
+{{magicdefiance}}SL
+ {{/rollGreater() magicdefiance 0}} {{#rollGreater() resistance1 0}} -
+{{resistance1}}SL {{resistance1name}}
+
+{{resistance1}}SL {{resistance1name}}
{{/rollGreater() resistance1 0}} {{#rollGreater() resistance2 0}} -
+{{resistance2}}SL {{resistance2name}}
+
+{{resistance2}}SL {{resistance2name}}
{{/rollGreater() resistance2 0}} {{#rollGreater() resistance3 0}} -
+{{resistance3}}SL {{resistance3name}}
+
+{{resistance3}}SL {{resistance3name}}
{{/rollGreater() resistance3 0}} {{#rollGreater() sixthsense 0}} -
+{{sixthsense}}SL
+
+{{sixthsense}}SL
{{/rollGreater() sixthsense 0}} {{#rollGreater() seasonedtraveller 0}} -
+{{seasonedtraveller}}SL
+
+{{seasonedtraveller}}SL
{{/rollGreater() seasonedtraveller 0}} {{#rollGreater() speedreader 0}} -
+{{speedreader}}SL
+
+{{speedreader}}SL
{{/rollGreater() speedreader 0}} {{#rollGreater() speedreaderlang 0}} -
+{{speedreaderlang}}SL
+
+{{speedreaderlang}}SL
{{/rollGreater() speedreaderlang 0}} {{#rollGreater() secondsight 0}} -
+{{secondsight}}SL
+
+{{secondsight}}SL
{{/rollGreater() secondsight 0}} {{#rollGreater() stepaside 0}} -
+{{stepaside}}SL
+
+{{stepaside}}SL
{{/rollGreater() stepaside 0}} {{#rollGreater() stouthearted 0}} -
+{{stouthearted}}SL
+
+{{stouthearted}}SL
{{/rollGreater() stouthearted 0}} {{#rollGreater() strider1 0}} -
+{{strider1}}SL {{strider1name}}
+
+{{strider1}}SL {{strider1name}}
{{/rollGreater() strider1 0}} {{#rollGreater() strider2 0}} -
+{{strider2}}SL {{strider2name}}
+
+{{strider2}}SL {{strider2name}}
{{/rollGreater() strider2 0}} {{#rollGreater() strider3 0}} -
+{{strider3}}SL {{strider3name}}
+
+{{strider3}}SL {{strider3name}}
{{/rollGreater() strider3 0}} {{#rollGreater() trapper 0}} -
+{{trapper}}SL
+
+{{trapper}}SL
{{/rollGreater() trapper 0}} {{#rollGreater() tinker 0}} -
+{{tinker}}SL
+
+{{tinker}}SL
{{/rollGreater() tinker 0}} {{#rollGreater() trickriding 0}} -
+{{trickriding}}SL
+
+{{trickriding}}SL >
{{/rollGreater() trickriding 0}} {{#rollGreater() tunnelrat 0}} -
+{{tunnelrat}}SL
+
+{{tunnelrat}}SL
{{/rollGreater() tunnelrat 0}} {{#rollGreater() tenacious 0}} -
+{{tenacious}}SL
+
+{{tenacious}}SL
{{/rollGreater() tenacious 0}} {{#rollGreater() unshakable 0}} -
+{{unshakable}}SL
+
+{{unshakable}}SL
{{/rollGreater() unshakable 0}} {{#rollGreater() warleader 0}} -
+{{warleader}}SL
+
+{{warleader}}SL
{{warleader}}
{{/rollGreater() warleader 0}} {{#rollGreater() waterman 0}} -
+{{waterman}}SL
+
+{{waterman}}SL
{{/rollGreater() waterman 0}} {{#rollGreater() cardsharp 0}} -
+{{cardsharp}}SL
+
+{{cardsharp}}SL
Cardsharp
({{computed::test}}) Unit Die
{{/rollGreater() cardsharp 0}} {{#RTdualwield}}{{#rollGreater() dualwield 0}} -
+{{dualwield}}SL {{RTdualwield}}
+
{{RTdualwield}}
{{/rollGreater() dualwield 0}}{{/RTdualwield}} {{#rollGreater() fielddressing 0}} -
+{{fielddressing}}SL
+
+{{fielddressing}}SL
{{/rollGreater() fielddressing 0}} {{#rollGreater() surgery 0}} -
+{{surgery}}SL
+
+{{surgery}}SL
{{/rollGreater() surgery 0}}
{{/^rollGreater() test target}} - {{#rollGreater() test target}} - {{#RTdualwield}}{{#rollGreater() dualwield 0}} -
-
-
Custom & Situational Bonus:
- -
+{{dualwield}}SL {{RTdualwield}}
-
-
- {{/rollGreater() dualwield 0}}{{/RTdualwield}} - {{/rollGreater() test target}} - - {{/rollGreater() sitmod 0}} {{#rollGreater() sitfail 0}} {{#rollGreater() test target}} +
Custom & Situational Bonus:
{{#rollGreater() alleycat 0}} -
:
+
:
{{/rollGreater() alleycat 0}} {{#rollGreater() gregarious 0}} -
:
+
:
{{/rollGreater() gregarious 0}} {{#rollGreater() menacing 0}}
+{{sitfail}}SL
{{/rollGreater() menacing 0}} {{#rollGreater() pharmacist 0}} -
:
+
:
{{/rollGreater() pharmacist 0}} {{#rollGreater() fielddressing 0}} -
:
+
:
{{/rollGreater() fielddressing 0}} {{#rollGreater() pilot 0}} -
:
+
>:
{{/rollGreater() pilot 0}} + {{#RTdualwield}}{{#rollGreater() dualwield 0}} +
{{RTdualwield}}
+ {{/rollGreater() dualwield 0}}{{/RTdualwield}}
+
{{/rollGreater() test target}} {{/rollGreater() sitfail 0}} @@ -34733,7 +35958,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 10}} {{#rollTotal() test 20}} @@ -34741,7 +35966,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 20}} {{#rollTotal() test 30}} @@ -34749,7 +35974,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 30}} {{#rollTotal() test 40}} @@ -34757,7 +35982,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 40}} {{#rollTotal() test 50}} @@ -34765,7 +35990,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 50}} {{#rollTotal() test 60}} @@ -34773,7 +35998,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 60}} {{#rollTotal() test 70}} @@ -34781,7 +36006,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 70}} {{#rollTotal() test 80}} @@ -34789,7 +36014,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 80}} {{#rollTotal() test 90}} @@ -34797,7 +36022,7 @@
Hit Location
Hit Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() test 90}} @@ -35226,7 +36451,7 @@ {{#rollTotal() test 19}}
Hit Location
-
Hit Right Leg
+
Hit Right Leg
{{/rollTotal() test 19}} {{#rollTotal() test 29}}
@@ -35295,7 +36520,7 @@ {{#rollTotal() hitlocation 1}}
Head
{{#rollGreater() pummel 0}} -
Head hits stun (Opposed Str/End)
+
Head hits stun (Opposed Str/End){{RTpummel}}
{{/rollGreater() pummel 0}} {{/rollTotal() hitlocation 1}} {{#rollTotal() hitlocation 2}} @@ -35360,6 +36585,9 @@ {{/rollGreater() berserkcharge 0}} {{#rollGreater() blast 0}}
Blast: Dmg hits all within {{blast}} yds
+ {{#rollGreater() shortfuse 0}} +
Short Fuse: Additional {{shortfuse}} yds
+ {{/rollGreater() shortfuse 0}} {{/rollGreater() blast 0}} {{#rollLess() sizemod -1}} {{#rollTotal() sizemod -2}}
{{/rollTotal() sizemod -2}} @@ -35412,6 +36640,9 @@ {{#rollGreater() furiousassault 0}} {{#RTfuriousassault}}
{{RTfuriousassault}}
{{/RTfuriousassault}} {{/rollGreater() furiousassault 0}} + {{#rollGreater() warpstone 0}} +
Warpstone Crit: On hit cause exposure to Minor Corruption
+ {{/rollGreater() warpstone 0}} {{#^rollTotal() tiring 0}}
Tiring
{{/^rollTotal() tiring 0}} @@ -35424,12 +36655,16 @@ {{/rollGreater() slow 0}} {{#rollGreater() hack 0}}
Hack: HitLoc Armor Dmg +1
+ {{#rollGreater() demolisher 0}} +
Demolisher: Additional stuns +{{demolisher}}
+ {{#ammo}}
{{/ammo}} + {{/rollGreater() demolisher 0}} {{/rollGreater() hack 0}} {{#rollGreater() wrap 0}}
Wrap: Defender gains -1 SL Mod
{{/rollGreater() wrap 0}} {{#rollGreater() distract 0}} -
Distract: Dmg or push back defender{{computed::slbonus}} yds
+
Distract: Dmg or push backyds
{{/rollGreater() distract 0}} {{#rollGreater() entangle 0}}
Entangle: On Hit +1 Entangled (Str = SB)
@@ -35444,8 +36679,10 @@
ZZAP!: -1 AP & Ignore Metal-AP
{{/rollGreater() zzap 0}} {{#rollGreater() blackpowder 0}} -
Blackpowder:
-
Target +20 Cool test or +1 Broken
+
Target +20 Cool test or +1 Broken
+ {{#rollGreater() dragonbelcher 0}} +
Dragon Belcher: Additional Broken +{{dragonbelcher}}
+ {{/rollGreater() dragonbelcher 0}} {{/rollGreater() blackpowder 0}} {{#rollGreater() undamaging 0}}
Undamaging:
@@ -35524,10 +36761,20 @@
{{/rollGreater() beatblade 0}} + {{#rollGreater() wod 0}} +
+
+
+
+ {{/rollGreater() wod 0}}
{{/attacktest}} + {{#rollGreater() bludgeoner 0}} +
Bludgeoner: Additional stuns +{{bludgeoner}}
+ {{/rollGreater() bludgeoner 0}} + {{#rollGreater() computed::testoutcome 0}}{{#^rollWasFumble() test}} @@ -40531,8 +41778,14 @@ } if(race === 'dwarf') { wounds = (str + tou*2 + wil); - size = 4; - } + size = 4; + setAttrs({ + goals: 1, + }); + } else { + setAttrs({ + goals: 0, + });} if(race === 'norse') { wounds = (str + tou*2 + wil); size = 4; @@ -40621,6 +41874,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -40718,6 +41972,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -40774,6 +42029,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -40852,6 +42108,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -40907,6 +42164,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -41070,6 +42328,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -41214,6 +42473,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -41283,6 +42543,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -41336,6 +42597,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -41388,6 +42650,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -41436,6 +42699,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -41490,7 +42754,7 @@ if (t.repeating_melee_UsedDefense == 1) { setAttrs(output3, {silent: true}); } - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_MeleePummel","repeating_melee_UsedDistract","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_MeleeTiring","repeating_melee_UsedUndamaging","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"],function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntaangle","repeating_melee_MeleePummel","repeating_melee_UsedDistract","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_MeleeTiring","repeating_melee_UsedUndamaging","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"],function(v) { let weapon = v.repeating_melee_MeleeWeapon; setAttrs({ @@ -41516,6 +42780,7 @@ "Used_MeleePenetrating": v.repeating_melee_MeleePenetrating, "Used_MeleeWarpstone": v.repeating_melee_UsedWarpstone, "Used_MeleeZZAP": v.repeating_melee_UsedZZAP, + "Used_MeleeEntangle": v.repeating_melee_UsedEntangle, "Used_MeleePummel": v.repeating_melee_MeleePummel, "Used_MeleeTiring": v.repeating_melee_MeleeTiring, "Used_MeleeWrap": v.repeating_melee_UsedWrap, @@ -41572,6 +42837,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -41628,6 +42894,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -41686,7 +42953,7 @@ setAttrs(output6, {silent: true}); setAttrs(output7, {silent: true}); - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedDistract","repeating_melee_MeleePummel","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_MeleeTiring","repeating_melee_UsedUndamaging","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"],function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntangle","repeating_melee_UsedDistract","repeating_melee_MeleePummel","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_MeleeTiring","repeating_melee_UsedUndamaging","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"],function(v) { let weapon = v.repeating_melee_MeleeWeapon; setAttrs({ "Used_MeleeWeapon": weapon, @@ -41711,6 +42978,7 @@ "Used_MeleePenetrating": v.repeating_melee_MeleePenetrating, "Used_MeleeWarpstone": v.repeating_melee_UsedWarpstone, "Used_MeleeZZAP": v.repeating_melee_UsedZZAP, + "Used_MeleeEntangle": v.repeating_melee_UsedEntangle, "Used_MeleePummel": v.repeating_melee_MeleePummel, "Used_MeleeTiring": v.repeating_melee_MeleeTiring, "Used_MeleeWrap": v.repeating_melee_UsedWrap, @@ -41759,6 +43027,7 @@ "Used_DefensePenetrating": v.repeating_melee_MeleePenetrating, "Used_DefenseWarpstone": v.repeating_melee_UsedWarpstone, "Used_DefenseZZAP": v.repeating_melee_UsedZZAP, + "Used_DefenseEntangle": v.repeating_melee_UsedEntangle, "Used_DefensePummel": v.repeating_melee_MeleePummel, "Used_DefenseTiring": v.repeating_melee_MeleeTiring, "Used_DefenseWrap": v.repeating_melee_UsedWrap, @@ -41846,6 +43115,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -41943,6 +43213,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -42000,6 +43271,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42078,6 +43350,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42133,6 +43406,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42189,6 +43463,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42296,6 +43571,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -42441,6 +43717,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42516,6 +43793,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42569,6 +43847,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -42624,6 +43903,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42672,6 +43952,7 @@ "Used_DefensePenetrating": 0, "Used_DefenseWarpstone": 0, "Used_DefenseZZAP": 0, + "Used_DefenseEntangle": 0, "Used_DefensePummel": 0, "Used_DefenseTiring": 0, "Used_DefenseWrap": 0, @@ -42728,7 +44009,7 @@ setAttrs(output3, {silent: true}); } - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedDistract","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedUndamaging","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntangle","repeating_melee_UsedDistract","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedUndamaging","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { let weapon = v.repeating_melee_MeleeWeapon; console.log(v.repeating_melee_MeleeWeaponSkill); setAttrs({ @@ -42754,6 +44035,7 @@ "Used_DefensePenetrating": v.repeating_melee_MeleePenetrating, "Used_DefenseWarpstone": v.repeating_melee_UsedWarpstone, "Used_DefenseZZAP": v.repeating_melee_UsedZZAP, + "Used_DefenseEntangle": v.repeating_melee_UsedEntangle, "Used_DefensePummel": v.repeating_melee_MeleePummel, "Used_DefenseTiring": v.repeating_melee_MeleeTiring, "Used_DefenseWrap": v.repeating_melee_UsedWrap, @@ -42809,6 +44091,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42865,6 +44148,7 @@ "Used_MeleePenetrating": 0, "Used_MeleeWarpstone": 0, "Used_MeleeZZAP": 0, + "Used_MeleeEntangle": 0, "Used_MeleePummel": 0, "Used_MeleeTiring": 0, "Used_MeleeWrap": 0, @@ -42921,7 +44205,7 @@ setAttrs(output6, {silent: true}); setAttrs(output7, {silent: true}); - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedDistract","repeating_melee_MeleePummel","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"],function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_MeleeImpact","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntangle","repeating_melee_UsedDistract","repeating_melee_MeleePummel","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"],function(v) { let weapon = v.repeating_melee_MeleeWeapon; setAttrs({ "Used_MeleeWeapon": weapon, @@ -42946,6 +44230,7 @@ "Used_MeleePenetrating": v.repeating_melee_MeleePenetrating, "Used_MeleeWarpstone": v.repeating_melee_UsedWarpstone, "Used_MeleeZZAP": v.repeating_melee_UsedZZAP, + "Used_MeleeEntangle": v.repeating_melee_UsedEntangle, "Used_MeleePummel": v.repeating_melee_MeleePummel, "Used_MeleeTiring": v.repeating_melee_MeleeTiring, "Used_MeleeWrap": v.repeating_melee_UsedWrap, @@ -42994,6 +44279,7 @@ "Used_DefensePenetrating": v.repeating_melee_MeleePenetrating, "Used_DefenseWarpstone": v.repeating_melee_UsedWarpstone, "Used_DefenseZZAP": v.repeating_melee_UsedZZAP, + "Used_DefenseEntangle": v.repeating_melee_UsedEntangle, "Used_DefensePummel": v.repeating_melee_MeleePummel, "Used_DefenseTiring": v.repeating_melee_MeleeTiring, "Used_DefenseWrap": v.repeating_melee_UsedWrap, @@ -43026,7 +44312,7 @@ }); } } - + }); }); }); @@ -43034,12 +44320,12 @@ } }); -on('change:repeating_melee:MeleeWeapon_settings_hide change:repeating_melee:MeleeWeapon change:repeating_melee:MeleeWeaponSkill change:repeating_melee:MeleeBonus change:repeating_melee:MeleeStrengthBonus change:repeating_melee:MeleeDamageBonus change:repeating_melee:UsedDmgTaken change:repeating_melee:UsedDurable change:repeating_melee:MeleeReach change:repeating_melee:MeleeQualities change:repeating_melee:MeleeDefensive change:repeating_melee:MeleeImpale change:repeating_melee:OpposedDmg change:repeating_melee:UsedDamaging change:repeating_melee:MeleeFast change:repeating_melee:MeleeSlow change:repeating_melee:MeleeHack change:repeating_melee:MeleePrecise change:repeating_melee:MeleePractical change:repeating_melee:UsedTrapBlade change:repeating_melee:UsedTrip change:repeating_melee:UsedUnbalanced change:repeating_melee:UsedSlash change:repeating_melee:UsedSlashRating change:repeating_melee:UsedWrap change:repeating_melee:MeleeImpact change:repeating_melee:UsedUndamaging change:repeating_melee:MeleePenetrating change:repeating_melee:UsedWarpstone change:repeating_melee:UsedZZAP change:repeating_melee:MeleePummel change:repeating_melee:MeleeTiring change:repeating_melee:UsedDistract change:repeating_melee:UsedTwoHanded change:repeating_melee:UsedShield change:repeating_melee:UsedMagic change:repeating_melee:UsedMagicEffect change:repeating_melee:MeleeWeapon_modtype1 change:repeating_melee:MeleeWeapon_mod1 change:repeating_melee:MeleeWeapon_modtype2 change:repeating_melee:MeleeWeapon_mod2 change:repeating_melee:MeleeWeapon_modtype3 change:repeating_melee:MeleeWeapon_mod3 change:repeating_melee:DefenseWeapon_modtype1 change:repeating_melee:DefenseWeapon_mod1 change:repeating_melee:DefenseWeapon_modtype2 change:repeating_melee:DefenseWeapon_mod2 change:repeating_melee:DefenseWeapon_modtype3 change:repeating_melee:DefenseWeapon_mod3', function(event){ +on('change:repeating_melee:MeleeWeapon_settings_hide change:repeating_melee:MeleeWeapon change:repeating_melee:MeleeWeaponSkill change:repeating_melee:MeleeBonus change:repeating_melee:MeleeStrengthBonus change:repeating_melee:MeleeDamageBonus change:repeating_melee:UsedDmgTaken change:repeating_melee:UsedDurable change:repeating_melee:MeleeReach change:repeating_melee:MeleeQualities change:repeating_melee:MeleeDefensive change:repeating_melee:MeleeImpale change:repeating_melee:OpposedDmg change:repeating_melee:UsedDamaging change:repeating_melee:MeleeFast change:repeating_melee:MeleeSlow change:repeating_melee:MeleeHack change:repeating_melee:MeleePrecise change:repeating_melee:MeleePractical change:repeating_melee:UsedTrapBlade change:repeating_melee:UsedTrip change:repeating_melee:UsedUnbalanced change:repeating_melee:UsedSlash change:repeating_melee:UsedSlashRating change:repeating_melee:UsedWrap change:repeating_melee:MeleeImpact change:repeating_melee:UsedUndamaging change:repeating_melee:MeleePenetrating change:repeating_melee:UsedWarpstone change:repeating_melee:UsedZZAP change:repeating_melee:UsedEntangle change:repeating_melee:MeleePummel change:repeating_melee:MeleeTiring change:repeating_melee:UsedDistract change:repeating_melee:UsedTwoHanded change:repeating_melee:UsedShield change:repeating_melee:UsedMagic change:repeating_melee:UsedMagicEffect change:repeating_melee:MeleeWeapon_modtype1 change:repeating_melee:MeleeWeapon_mod1 change:repeating_melee:MeleeWeapon_modtype2 change:repeating_melee:MeleeWeapon_mod2 change:repeating_melee:MeleeWeapon_modtype3 change:repeating_melee:MeleeWeapon_mod3 change:repeating_melee:DefenseWeapon_modtype1 change:repeating_melee:DefenseWeapon_mod1 change:repeating_melee:DefenseWeapon_modtype2 change:repeating_melee:DefenseWeapon_mod2 change:repeating_melee:DefenseWeapon_modtype3 change:repeating_melee:DefenseWeapon_mod3', function(event){ const playerclickedid = event.sourceAttribute.split('_')[2] || ''; getSectionIDs("repeating_melee", function (ids) { ids.forEach(id => { if(playerclickedid.toLowerCase() == id.toLowerCase()) { - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_UsedWeapon","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_UsedDistract","repeating_melee_MeleeImpact","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_UsedWeapon","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_UsedDistract","repeating_melee_MeleeImpact","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntangle","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { if(v.repeating_melee_UsedWeapon == 1) { setAttrs( @@ -43066,6 +44352,7 @@ "Used_MeleePenetrating": v.repeating_melee_MeleePenetrating, "Used_MeleeWarpstone": v.repeating_melee_UsedWarpstone, "Used_MeleeZZAP": v.repeating_melee_UsedZZAP, + "Used_MeleeEntangle": v.repeating_melee_UsedEntangle, "Used_MeleePummel": v.repeating_melee_MeleePummel, "Used_MeleeTiring": v.repeating_melee_MeleeTiring, "Used_MeleeWrap": v.repeating_melee_UsedWrap, @@ -43101,12 +44388,12 @@ }); }); -on('change:repeating_melee:MeleeWeapon_settings_hide change:repeating_melee:MeleeWeapon change:repeating_melee:MeleeWeaponSkill change:repeating_melee:MeleeBonus change:repeating_melee:MeleeStrengthBonus change:repeating_melee:MeleeDamageBonus change:repeating_melee:UsedDmgTaken change:repeating_melee:UsedDurable change:repeating_melee:MeleeReach change:repeating_melee:MeleeQualities change:repeating_melee:MeleeDefensive change:repeating_melee:MeleeImpale change:repeating_melee:OpposedDmg change:repeating_melee:UsedDamaging change:repeating_melee:MeleeFast change:repeating_melee:MeleeSlow change:repeating_melee:MeleeHack change:repeating_melee:MeleePrecise change:repeating_melee:MeleePractical change:repeating_melee:UsedTrapBlade change:repeating_melee:UsedTrip change:repeating_melee:UsedUnbalanced change:repeating_melee:UsedSlash change:repeating_melee:UsedSlashRating change:repeating_melee:UsedWrap change:repeating_melee:MeleeImpact change:repeating_melee:UsedUndamaging change:repeating_melee:MeleePenetrating change:repeating_melee:UsedWarpstone change:repeating_melee:UsedZZAP change:repeating_melee:MeleePummel change:repeating_melee:MeleeTiring change:repeating_melee:UsedDistract change:repeating_melee:UsedTwoHanded change:repeating_melee:UsedShield change:repeating_melee:UsedMagic change:repeating_melee:UsedMagicEffect change:repeating_melee:MeleeWeapon_modtype1 change:repeating_melee:MeleeWeapon_mod1 change:repeating_melee:MeleeWeapon_modtype2 change:repeating_melee:MeleeWeapon_mod2 change:repeating_melee:MeleeWeapon_modtype3 change:repeating_melee:MeleeWeapon_mod3 change:repeating_melee:DefenseWeapon_modtype1 change:repeating_melee:DefenseWeapon_mod1 change:repeating_melee:DefenseWeapon_modtype2 change:repeating_melee:DefenseWeapon_mod2 change:repeating_melee:DefenseWeapon_modtype3 change:repeating_melee:DefenseWeapon_mod3', function(event){ +on('change:repeating_melee:MeleeWeapon_settings_hide change:repeating_melee:MeleeWeapon change:repeating_melee:MeleeWeaponSkill change:repeating_melee:MeleeBonus change:repeating_melee:MeleeStrengthBonus change:repeating_melee:MeleeDamageBonus change:repeating_melee:UsedDmgTaken change:repeating_melee:UsedDurable change:repeating_melee:MeleeReach change:repeating_melee:MeleeQualities change:repeating_melee:MeleeDefensive change:repeating_melee:MeleeImpale change:repeating_melee:OpposedDmg change:repeating_melee:UsedDamaging change:repeating_melee:MeleeFast change:repeating_melee:MeleeSlow change:repeating_melee:MeleeHack change:repeating_melee:MeleePrecise change:repeating_melee:MeleePractical change:repeating_melee:UsedTrapBlade change:repeating_melee:UsedTrip change:repeating_melee:UsedUnbalanced change:repeating_melee:UsedSlash change:repeating_melee:UsedSlashRating change:repeating_melee:UsedWrap change:repeating_melee:MeleeImpact change:repeating_melee:UsedUndamaging change:repeating_melee:MeleePenetrating change:repeating_melee:UsedWarpstone change:repeating_melee:UsedZZAP change:repeating_melee:UsedEntangle change:repeating_melee:MeleePummel change:repeating_melee:MeleeTiring change:repeating_melee:UsedDistract change:repeating_melee:UsedTwoHanded change:repeating_melee:UsedShield change:repeating_melee:UsedMagic change:repeating_melee:UsedMagicEffect change:repeating_melee:MeleeWeapon_modtype1 change:repeating_melee:MeleeWeapon_mod1 change:repeating_melee:MeleeWeapon_modtype2 change:repeating_melee:MeleeWeapon_mod2 change:repeating_melee:MeleeWeapon_modtype3 change:repeating_melee:MeleeWeapon_mod3 change:repeating_melee:DefenseWeapon_modtype1 change:repeating_melee:DefenseWeapon_mod1 change:repeating_melee:DefenseWeapon_modtype2 change:repeating_melee:DefenseWeapon_mod2 change:repeating_melee:DefenseWeapon_modtype3 change:repeating_melee:DefenseWeapon_mod3', function(event){ const playerclickedid = event.sourceAttribute.split('_')[2] || ''; getSectionIDs("repeating_melee", function (ids) { ids.forEach(id => { if(playerclickedid.toLowerCase() == id.toLowerCase()) { - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_UsedDefense","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_UsedDistract","repeating_melee_MeleeImpact","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_UsedDefense","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_UsedDistract","repeating_melee_MeleeImpact","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntangle","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { if(v.repeating_melee_UsedDefense == 1) { setAttrs( @@ -43133,6 +44420,7 @@ "Used_DefensePenetrating": v.repeating_melee_MeleePenetrating, "Used_DefenseWarpstone": v.repeating_melee_UsedWarpstone, "Used_DefenseZZAP": v.repeating_melee_UsedZZAP, + "Used_DefenseEntangle": v.repeating_melee_UsedEntangle, "Used_DefensePummel": v.repeating_melee_MeleePummel, "Used_DefenseTiring": v.repeating_melee_MeleeTiring, "Used_DefenseWrap": v.repeating_melee_UsedWrap, @@ -43171,7 +44459,7 @@ if (event.sourceType === 'sheetworker') return; getSectionIDs("repeating_melee", function (ids) { ids.forEach(id => { - getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_UsedDefense","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_UsedDistract","repeating_melee_MeleeImpact","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { + getAttrs(["repeating_melee_MeleeWeapon","repeating_melee_MeleeWeaponSkill","repeating_melee_MeleeBonus","repeating_melee_MeleeStrengthBonus","repeating_melee_MeleeDamageBonus","repeating_melee_UsedDmgTaken","repeating_melee_UsedDurable","repeating_melee_MeleeReach","repeating_melee_MeleeQualities","repeating_melee_MeleeDefensive","repeating_melee_MeleeImpale","repeating_melee_UsedDefense","repeating_melee_OpposedDmg","repeating_melee_UsedDamaging","repeating_melee_MeleeFast","repeating_melee_MeleeSlow","repeating_melee_MeleeHack","repeating_melee_MeleePrecise","repeating_melee_MeleePractical","repeating_melee_UsedDistract","repeating_melee_MeleeImpact","repeating_melee_UsedWrap","repeating_melee_UsedTrapBlade","repeating_melee_UsedTrip","repeating_melee_UsedUnbalanced","repeating_melee_UsedSlash","repeating_melee_UsedSlashRating","repeating_melee_UsedUndamaging","repeating_melee_MeleePenetrating","repeating_melee_UsedWarpstone","repeating_melee_UsedZZAP","repeating_melee_UsedEntangle","repeating_melee_MeleePummel","repeating_melee_MeleeTiring","repeating_melee_UsedTwoHanded","repeating_melee_UsedShield","repeating_melee_UsedMagic","repeating_melee_UsedMagicEffect","repeating_melee_MeleeWeapon_modtype1","repeating_melee_MeleeWeapon_mod1","repeating_melee_MeleeWeapon_modtype2","repeating_melee_MeleeWeapon_mod2","repeating_melee_MeleeWeapon_modtype3","repeating_melee_MeleeWeapon_mod3","repeating_melee_DefenseWeapon_modtype1","repeating_melee_DefenseWeapon_mod1","repeating_melee_DefenseWeapon_modtype2","repeating_melee_DefenseWeapon_mod2","repeating_melee_DefenseWeapon_modtype3","repeating_melee_DefenseWeapon_mod3"], function(v) { if(v.repeating_melee_UsedWeapon == 1) { setAttrs( @@ -43198,6 +44486,7 @@ "Used_MeleePenetrating": v.repeating_melee_MeleePenetrating, "Used_MeleeWarpstone": v.repeating_melee_UsedWarpstone, "Used_MeleeZZAP": v.repeating_melee_UsedZZAP, + "Used_MeleeEntangle": v.repeating_melee_UsedEntangle, "Used_MeleePummel": v.repeating_melee_MeleePummel, "Used_MeleeTiring": v.repeating_melee_MeleeTiring, "Used_MeleeWrap": v.repeating_melee_UsedWrap, @@ -43252,6 +44541,7 @@ "Used_DefensePenetrating": v.repeating_melee_MeleePenetrating, "Used_DefenseWarpstone": v.repeating_melee_UsedWarpstone, "Used_DefenseZZAP": v.repeating_melee_UsedZZAP, + "Used_DefenseEntangle": v.repeating_melee_UsedEntangle, "Used_DefensePummel": v.repeating_melee_MeleePummel, "Used_DefenseTiring": v.repeating_melee_MeleeTiring, "Used_DefenseWrap": v.repeating_melee_UsedWrap, @@ -43629,15 +44919,24 @@ // - on("sheet:opened change:drunk change:blinded change:broken change:deafened change:entangled change:fatigued change:poisoned change:stuned change:distracted change:prone change:armorcoifpenalty change:armorhelmpenalty change:armormailpenalty change:armorplatepenalty change:armorplatelegspenalty change:UsedDefense change:Talent_AmbidextrousLvl change:Used_MeleeTwohanded", function (v) { + on("sheet:opened change:drunk change:blinded change:broken change:deafened change:entangled change:fatigued change:poisoned change:stuned change:distracted change:prone change:armorcoifpenalty change:armorhelmpenalty change:armormailpenalty change:armorplatepenalty change:armorplatelegspenalty change:UsedDefense change:Talent_AmbidextrousLvl change:Talent_TirelessLvl change:Used_MeleeTwohanded", function (v) { if (v.sourceType === 'sheetworker') return; - getAttrs(['Blinded', 'Broken', 'Deafened', 'Drunk', 'Entangled', 'Fatigued', 'Poisoned', 'Stuned', 'Distracted', 'Prone', 'ConditionModEnable', 'armorcoifpenalty', 'armorhelmpenalty', 'armormailpenalty', 'armorplatepenalty', 'armorplatelegspenalty', 'Used_DefenseWeaponSkill', 'Talent_AmbidextrousLvl', 'Used_MeleeTwohanded'], function (v) { + getAttrs(['Blinded', 'Broken', 'Deafened', 'Drunk', 'Entangled', 'Fatigued', 'Poisoned', 'Stuned', 'Distracted', 'Prone', 'ConditionModEnable', 'armorcoifpenalty', 'armorhelmpenalty', 'armormailpenalty', 'armorplatepenalty', 'armorplatelegspenalty', 'Used_DefenseWeaponSkill', 'Talent_AmbidextrousLvl', 'Talent_TirelessLvl', 'Used_MeleeTwohanded', "Talent_UnderminerLvl", "MeleeMode_Underminer"], function (v) { var regex = /PARRY/g; if (v.Used_DefenseWeaponSkill.match(regex)) {parrypen = 0;} else {parrypen = 2;} if (v.Talent_AmbidextrousLvl == 0) {ambipen = 2;} if (v.Talent_AmbidextrousLvl == 1) {ambipen = 1;} if (v.Talent_AmbidextrousLvl == 2) {ambipen = 0;} + + if (v.Talent_UnderminerLvl > 0) { + if (v.Prone > 0) {pout = 1;} else {pout = 0;} + if (pout > 0) {pmod = 0;} else {pmod = 1;}} + + var tiretmp = parseInt(v.Talent_TirelessLvl); + if (tiretmp > 0) {tire = tiretmp + 1;} else {tire = 0;} + if (tire > v.Fatigued) {Fatigued = 0;} else {Fatigued = v.Fatigued - tire;} + var offpen = ambipen; if (v.Used_MeleeTwohanded == 1) {offpen = 0; offpen2 = 0;} else {offpen2 = Math.min(ambipen, parrypen);} @@ -43645,14 +44944,13 @@ let dmod = v.Drunk * toggle; if (dmod > 3) {dmod = 3;} let dmodout = dmod; - let cond = Math.max(v.Broken, v.Fatigued, v.Poisoned, v.Stuned) + dmod + v.Distracted*2; - let condsee = Math.max(v.Blinded, v.Broken, v.Fatigued, v.Poisoned, v.Stuned) + dmod + v.Distracted*2; - let condseehear = Math.max(v.Blinded, v.Deafened, v.Broken, v.Fatigued, v.Poisoned, v.Stuned) + dmod + v.Distracted*2; - let condseemove = Math.max(v.Blinded, v.Broken, v.Entangled, v.Fatigued, v.Poisoned, v.Stuned, v.Prone*2) + dmod + v.Distracted*2; - let condseemoveatk = Math.max(v.Blinded, v.Broken, v.Entangled, v.Fatigued, v.Poisoned, v.Stuned, v.Prone) + dmod + v.Distracted*2; - let condseemovedef = Math.max(v.Blinded, v.Broken, v.Entangled, v.Fatigued, v.Poisoned, v.Stuned, v.Prone*0) + dmod + v.Distracted*2; - let conda = Math.max(v.Blinded, v.Broken, v.Deafened, v.Entangled, v.Fatigued, v.Poisoned, v.Stuned, v.Prone*2) + dmod + v.Distracted*2; - + let cond = Math.max(v.Broken, Fatigued, v.Poisoned, v.Stuned) + dmod + v.Distracted*2; + let condsee = Math.max(v.Blinded, v.Broken, Fatigued, v.Poisoned, v.Stuned) + dmod + v.Distracted*2; + let condseehear = Math.max(v.Blinded, v.Deafened, v.Broken, Fatigued, v.Poisoned, v.Stuned) + dmod + v.Distracted*2; + let condseemove = Math.max(v.Blinded, v.Broken, v.Entangled, Fatigued, v.Poisoned, v.Stuned, v.Prone*2) + dmod + v.Distracted*2; + let condseemoveatk = Math.max(v.Blinded, v.Broken, v.Entangled, Fatigued, v.Poisoned, v.Stuned, (v.Prone)) + dmod + v.Distracted*2; + let condseemovedef = Math.max(v.Blinded, v.Broken, v.Entangled, Fatigued, v.Poisoned, v.Stuned, v.Prone*0) + dmod + v.Distracted*2; + let conda = Math.max(v.Blinded, v.Broken, v.Deafened, v.Entangled, Fatigued, v.Poisoned, v.Stuned, v.Prone*2) + dmod + v.Distracted*2; let condseehearperc = condseehear; if (condseehearperc > 0) {apen = (v.armorcoifpenalty*1 + v.armorhelmpenalty*1)/10 + condseehearperc - 3; if (apen < 0) {apen = 0;}; condseehearperc -= apen;} else {apen = 0;} @@ -43685,10 +44983,10 @@ let modbr = v.Broken*1; let modd = v.Deafened*1; let mode = v.Entangled*1; - let modf = v.Fatigued*1; + let modf = Fatigued*1; let modpi = v.Poisoned*1; let mods = v.Stuned*1; - let modpr = v.Prone*2; + let modpr = v.Prone*2 ; let moddist = v.Distracted*2; setAttrs({ @@ -43737,19 +45035,20 @@ "StunedDefMod" : apen4 * 10, "ProneMod" : modpr * toggle * 20, "ProneStealthMod" : apen2 * 10, - "ProneAtkMod" : apen3 * 10, - "ProneDefMod" : apen4 * 10, + "ProneAtkMod" : apen3 * pmod * 10, + "ProneDefMod" : apen4 * pmod * 10, "condgen" : cond * 10, "condgen_see" : condsee * 10, "condgen_see_hear" : condseehear * 10, "condgen_see_hear_perception" : condseehearperc * 10, "condgen_see_move" : condseemove * 10, "condgen_see_move_stealth" : condseemovestealth * 10, - "condgen_see_move_atk" : condseemoveatk * 10, - "condgen_see_move_atkoff" : condseemoveatkoff * 10, + "condgen_see_move_atk" : condseemoveatk * pmod * 10, + "condgen_see_move_atkoff" : condseemoveatkoff * pmod * 10, "condgen_see_move_def" : condseemovedef * 10, "condgen_see_move_defoff" : condseemovedefoff * 10, - "condall" : conda * 10 + "condall" : conda * 10, + "MeleeMode_Underminer": pout, }); }); console.log("Conditions change"); @@ -46912,7 +48211,7 @@ // on('clicked:meleeattackmain clicked:furiousassaultmain clicked:meleechargemain clicked:dualwieldmain', (eventInfo) => { - getAttrs(["Advantageinput","LastRollOff","LastCritRoll", "Used_MeleeWeaponSkill", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Frenzy", "MeleeMode_BNE", "MeleeMode_Drilled", "MeleeMode_Disarm", "MeleeMode_Feint", "MeleeMode_Infight", "MeleeMode_Charging", "Used_MeleeBonus", "Used_DefenseBonus", "MeleeMode_STS", "MeleeMode_Aimed", "MeleeMode_Beat", "CritTable", "GroupAdv", "MeleeSizeMod" , "MeleeMainType"], function(v) { + getAttrs(["Advantageinput","LastRollOff","LastCritRoll", "Used_MeleeWeaponSkill", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Underminer", "MeleeMode_DualWield", "MeleeMode_Frenzy", "MeleeMode_WoD", "MeleeMode_VsObject", "MeleeMode_Drilled", "MeleeMode_Disarm", "MeleeMode_Feint", "MeleeMode_Infight", "MeleeMode_Charging", "Used_MeleeBonus", "Used_DefenseBonus", "MeleeMode_STS", "MeleeMode_Aimed", "MeleeMode_Beat", "CritTable", "GroupAdv", "MeleeSizeMod" , "MeleeMainType"], function(v) { prevroll = JSON.stringify(v["LastRollOff"])||0; if (prevroll >= 1 && prevroll <= 9) { @@ -46928,23 +48227,29 @@ if (v.MeleeMainType == 1) { - getAttrs(["Used_MainRangedAmmo","AutoAmmo","RangedMode_Engaged","RangedMode_Moved","Used_OffRangedBonus","RangedMode_Aim","RangedMode_Range", "RangedMode_Called", "RangedMode_Size", "GroupAdv", "Used_MainRangedAccurate", "Talent_DeadeyeShotLvl"], function(v) { + getAttrs(["Used_MainRangedAmmo","AutoAmmo","RangedMode_Engaged","RangedMode_Moved","MeleeMode_DualWield","Used_OffRangedBonus","RangedMode_Aim","RangedMode_Range", "RangedMode_Called", "RangedMode_Size", "GroupAdv", "Used_MainRangedAccurate", "Talent_DeadeyeShotLvl", "Talent_Demolisherlvl", "Talent_DragonBelcherlvl"], function(v) { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_MainRangedPrecise}+@{Used_MainRangedPractical}-@{Used_MainRangedImprecise}+@{RangedMode_FastShot}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusRgd}+@{RangedMode_FastShot}>addsl<]]}} {{sladd=[[0]]}} {{test=[[>test<]]}} {{rangedeng=[[@{RangedMode_Engaged}]]}} {{rangedsize=[[>size<]]}} {{modvalue=[[?{Ranged Attack Modifier|@{Used_RangedBonus}}]]}} {{ammo=[[@{Used_MainRangedAmmo}]]}} {{title=@{Used_MainRangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{RANGED}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Used_MainRangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Ranged Attack Modifier|0} [MOD] ]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_MainRangedDamaging}]]}} {{reach=@{Used_MainWeaponRange}}} {{rolltype=[[@{Used_MainRangedImpale}]]}} {{pummel=[[@{Used_MainRangedPummel}]]}} {{qualities=@{Used_MainRangedQualities}}} {{damage=[[@{Used_MainRangedStrengthBonus}+@{Used_MainRangedDamage}+@{Talent_AccurateShotLvl}-{[[@{Used_MainRangedDmgTaken}-@{Used_MainRangedDurable}]],[[0]]}kh1]]}} {{ammotype=@{Used_MainRangedAmmoType}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_MainRanged_modtype1}]]}} {{mod1=@{Used_MainRanged_mod1}}} {{mod2type=[[@{Used_MainRanged_modtype2}]]}} {{mod2=@{Used_MainRanged_mod2}}} {{mod3type=[[@{Used_MainRanged_modtype3}]]}} {{mod3=@{Used_MainRanged_mod3}}} {{NPC=[[0]]}} {{sitmod=[[@{Talent_DualWielderLvl}]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{precise=[[@{Used_MainRangedPrecise}]]}} {{imprecise=[[@{Used_MainRangedImprecise}]]}} {{blast=[[@{Used_RangedBlast}*@{Used_MainRangedBlastRating}]]}} {{repeater=[[@{Used_MainRangedRepeater}*@{Used_MainRangedRepeaterRating}]]}} {{entangle=[[@{Used_MainRangedEntangle}]]}} {{penetrating=[[@{Used_MainRangedPenetrating}]]}} {{warpstone=[[@{Used_MeleeWarpstone}]]}} {{zzap=[[@{Used_MeleeZZAP}]]}} {{tiring=[[0]]}} {{blackpowder=[[@{Used_MainRangedBlackpowder}]]}} {{practical=[[@{Used_MainRangedPractical}]]}} {{accurate=[[@{Used_MainRangedAccurate}*10]]}} {{hack=[[@{Used_MainRangedHack}]]}} {{dangerous=[[@{Used_MainRangedDangerous}]]}} {{impact=[[@{Used_MainRangedImpact}]]}} {{deadeyeshot=[[@{Talent_DeadeyeShotLvl}]]}} {{fastshot=[[@{RangedMode_FastShot}]]}} {{autoammo=[[@{AutoAmmo}]]}} {{sniper=[[@{Talent_SniperLvl}]]}} {{targetrange=[[@{RangedMode_Range}]]}} {{sureshot=[[@{Talent_SureShotLvl}]]}} {{usedmagic=[[@{Used_MainRangedMagic}]]}} {{usedmagiceffect=@{Used_MainRangedMagicEffect}}} {{dualwield=[[@{Talent_DualWielderLvl}]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_MainRangedPrecise}+@{Used_MainRangedPractical}-@{Used_MainRangedImprecise}+@{RangedMode_FastShot}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusRgd}+@{RangedMode_FastShot}>addsl<]]}} {{sladd=[[0]]}} {{test=[[>test<]]}} {{rangedeng=[[@{RangedMode_Engaged}]]}} {{rangedsize=[[>size<]]}} {{modvalue=[[?{Ranged Attack Modifier|@{Used_RangedBonus}}]]}} {{ammo=[[@{Used_MainRangedAmmo}]]}} {{title=@{Used_MainRangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=>atype<}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Used_MainRangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Ranged Attack Modifier|0} [MOD] ]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_MainRangedDamaging}]]}} {{reach=@{Used_MainWeaponRange}}} {{rolltype=[[@{Used_MainRangedImpale}]]}} {{pummel=[[@{Used_MainRangedPummel}]]}} {{qualities=@{Used_MainRangedQualities}}} {{damage=[[@{Used_MainRangedStrengthBonus}+@{Used_MainRangedDamage}+@{Talent_AccurateShotLvl}-{[[@{Used_MainRangedDmgTaken}-@{Used_MainRangedDurable}]],[[0]]}kh1]]}} {{ammotype=@{Used_MainRangedAmmoType}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_MainRanged_modtype1}]]}} {{mod1=@{Used_MainRanged_mod1}}} {{mod2type=[[@{Used_MainRanged_modtype2}]]}} {{mod2=@{Used_MainRanged_mod2}}} {{mod3type=[[@{Used_MainRanged_modtype3}]]}} {{mod3=@{Used_MainRanged_mod3}}} {{NPC=[[0]]}} {{sitmod=[[0]]}} {{sitfail=[[0>sitfail<]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{precise=[[@{Used_MainRangedPrecise}]]}} {{imprecise=[[@{Used_MainRangedImprecise}]]}} {{blast=[[@{Used_RangedBlast}*@{Used_MainRangedBlastRating}]]}} {{repeater=[[@{Used_MainRangedRepeater}*@{Used_MainRangedRepeaterRating}]]}} {{entangle=[[@{Used_MainRangedEntangle}]]}} {{penetrating=[[@{Used_MainRangedPenetrating}]]}} {{warpstone=[[@{Used_MeleeWarpstone}]]}} {{zzap=[[@{Used_MeleeZZAP}]]}} {{tiring=[[0]]}} {{blackpowder=[[@{Used_MainRangedBlackpowder}]]}} {{practical=[[@{Used_MainRangedPractical}]]}} {{accurate=[[@{Used_MainRangedAccurate}*10]]}} {{hack=[[@{Used_MainRangedHack}]]}} {{dangerous=[[@{Used_MainRangedDangerous}]]}} {{impact=[[@{Used_MainRangedImpact}]]}} {{deadeyeshot=[[@{Talent_DeadeyeShotLvl}]]}} {{fastshot=[[@{RangedMode_FastShot}]]}} {{autoammo=[[@{AutoAmmo}]]}} {{sniper=[[@{Talent_SniperLvl}]]}} {{targetrange=[[@{RangedMode_Range}]]}} {{sureshot=[[@{Talent_SureShotLvl}]]}} {{usedmagic=[[@{Used_MainRangedMagic}]]}} {{usedmagiceffect=@{Used_MainRangedMagicEffect}}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}} {{dragonbelcher=[[@{Talent_DragonBelcherlvl}]]}} {{shortfuse=[[@{Talent_ShortFuselvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; if (v.GroupAdv == 1) {roll += " {{grpadv=[[@{GroupAdv}]]}}";} let rollPart2 = roll; ammopre = v.Used_RangedAmmo; - console.log(trigger); + console.log(trigger); + + addsldf = ''; + sitfail = ''; + atype = '^{RANGED}'; if (trigger === "meleeattackmain") { - rollPart2 += ' {{reroll=@{RT-reroll}meleeattackmain)}} {{RTdualwield=@{RT-dualwieldoff}}}';} - rollPart3 = rollPart2.replaceAll('>addsl<', ''); + rollPart2 += ' {{reroll=@{RT-reroll}meleeattackmain)}} {{RTdualwield=@{RT-dualwieldoff}}}'; + rollPart3 = rollPart2.replaceAll('>addsl<', '>addsldf<');} + console.log(rollPart3); + if (trigger === "dualwieldmain") { - rollPart2 += ""; - rollPart3 = rollPart2.replaceAll('>addsl<', '+@{Talent_DualWielderLvl}'); + rollPart2 += " {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}} {{reroll=@{RT-reroll}dualwieldmain)}}"; + rollPart3 = rollPart2.replaceAll('>addsl<', '+@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}>addsldf<'); if (lastcrit > 0) { rollPart4 = rollPart3.replaceAll('>test<', '?{Use Crit Result|Yes, ' + `${lastcrit}` + '|No, ' + `${rollrev}` + '}'); } else { @@ -46952,6 +48257,11 @@ }} else { rollPart4 = rollPart3.replaceAll('>test<', '@{roll_rule}'); } + console.log("Test"); + console.log(v.MeleeMode_DualWield); + console.log(v.Used_MainRangedAmmo); + + if (v.MeleeMode_DualWield == 1) {rollPart4 += " {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}}"; addsldf += '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; sitfail = '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; atype = '^{DUAL-WIELD-MH}';} if (v.AutoAmmo == 1) { if (trigger == "rangedatkreroll") { @@ -46982,7 +48292,7 @@ if (v.RangedMode_Size == 2) {mod += 40; size = 2;} if (v.RangedMode_Size == 3) {mod += 20; size = 3;} - let rollPart = rollPart4.replaceAll('>hitloc<', hitloc).replaceAll('>size<', size); + let rollPart = rollPart4.replaceAll('>hitloc<', hitloc).replaceAll('>size<', size).replaceAll('>addsldf<', addsldf).replaceAll('>sitfail<', sitfail).replaceAll('>atype<', atype); console.log(rollPart); @@ -47000,7 +48310,7 @@ const slbonusatk = results.results.slbonusatk.result const fastshot = results.results.fastshot.result const rangedsize = results.results.rangedsize.result - if (trigger == "dualwieldoff") {dualwield = results.results.dualwield.result} else {dualwield = 0} + if (v.MeleeMode_DualWield == 1) {dualwield = results.results.dualwield.result} else {if (trigger === "dualwieldmain") {dualwield = results.results.dualwield.result} else {dualwield = 0}} const computed = (Math.floor(target / 10) - Math.floor(test / 10)) ; const computed2 = (((test-1)%10)+1) ; const target20 = target + 20; @@ -47014,23 +48324,28 @@ if ( test <= target ) { var computed4 = slbonusatk + sniperadd - practical - sizemod ;} else { var computed4 = practical - imprecise ;} if ( test <= target ) { var computed5 = slbonusatk + sniperadd - practical - sizemod + SLmod ;} else { var computed5 = practical + SLmod - imprecise ;} - finishRoll( - results.rollId, - { - sl: computed, - test: computed2, - slbonus: computed3, - slbonusatk: computed4, - sladd: computed5, - rangedeng: computed6, - rangedsize: computed7, - } - ); - if (v.AutoAmmo == 1) { - ammopre2 = ammopre - 1; + if (v.AutoAmmo == 1) {ammopre2 = ammopre - 1; if (ammopre2 < 0) {ammo = 0;} else {ammo = ammopre2;} + setAttrs( + { + "Used_OffRangedAmmo": ammo, + }, {silent: true}); + getSectionIDs("repeating_ranged", function (ids) { + ids.forEach(id => { + const output2 = {}; + getAttrs([`repeating_ranged_${id}_UsedRanged`, "repeating_ranged_RangedWeaponName"], function(t) { + if(t[`repeating_ranged_${id}_UsedRanged`] == 1) + { + output2[`repeating_ranged_${id}_RangedAmmo`] = ammo, setAttrs(output2, {silent: true}) + + } + }); + }); + }); + } + modchange = v.Used_RangedBonus*1; if (v.RangedMode_Moved == 1) {modchange += 10;} @@ -47046,33 +48361,34 @@ { "LastRollMain": test, "LastCritRoll": 0, - "Used_OffRangedAmmo": ammo, "RangedMode_FastShot": 0, + "MeleeMode_DualWield": 0, "RangedMode_Moved": 0, "RangedMode_Aim": 0, "RangedMode_Called": 0, "Used_RangedBonus": modchange, }, {silent: true}); + - getSectionIDs("repeating_ranged", function (ids) { - ids.forEach(id => { - const output2 = {}; - getAttrs([`repeating_ranged_${id}_UsedRanged`, "repeating_ranged_RangedWeaponName"], function(t) { - if(t[`repeating_ranged_${id}_UsedRanged`] == 1) - { - output2[`repeating_ranged_${id}_RangedAmmo`] = ammo, setAttrs(output2, {silent: true}) - - } - }); - }); - }); - } + finishRoll( + results.rollId, + { + sl: computed, + test: computed2, + slbonus: computed3, + slbonusatk: computed4, + sladd: computed5, + rangedeng: computed6, + rangedsize: computed7, + } + ); + }); }); } else { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_MeleePrecise}+@{Used_MeleePractical}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusAtkMain}>addsl<]]}} {{sladd=[[0]]}} {{test=[[@{roll_rule}]]}} {{sitmod=[[@{Mainattcustadd}+@{Talent_DualWielderLvl}]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{modvalue=[[?{Opposed Attack Modifier|@{Used_MeleeBonus}}]]}} {{title=@{Used_MeleeWeapon}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{ATTACK}}} {{target=[[>target<]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_MeleeDamaging}]]}} {{reach=@{Used_MeleeReach}}} {{rolltype=[[@{Used_MeleeImpale}]]}} {{qualities=@{Used_MeleeQualities}}} {{damage=[[@{Used_MeleeStrengthBonus}+@{Used_MeleeDamageBonus}+@{Talent_StrikeMightyBlowLvl}>adddmg<-{[[@{Used_MeleeDmgTaken}-@{Used_MeleeDurable}]],[[0]]}kh1]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move_atk}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod} - @{ProneAtkMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_Melee_modtype1}]]}} {{mod1=@{Used_Melee_mod1}}} {{mod2type=[[@{Used_Melee_modtype2}]]}} {{mod2=@{Used_Melee_mod2}}} {{mod3type=[[@{Used_Melee_modtype3}]]}} {{mod3=@{Used_Melee_mod3}}} {{NPC=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{fast=[[@{Used_MeleeFast}]]}} {{slow=[[@{Used_MeleeSlow}]]}} {{hack=[[@{Used_MeleeHack}]]}} {{precise=[[@{Used_MeleePrecise}]]}} {{impact=[[@{Used_MeleeImpact}]]}} {{tiring=[[@{Used_MeleeTiring}]]}} {{penetrating=[[@{Used_MeleePenetrating}]]}} {{warpstone=[[@{Used_MeleeWarpstone}]]}} {{zzap=[[@{Used_MeleeZZAP}]]}} {{pummel=[[@{Used_MeleePummel}]]}} {{practical=[[@{Used_MeleePractical}]]}} {{wrap=[[@{Used_MeleeWrap}]]}} {{trip=[[@{Used_MeleeTrip}]]}} {{slash=[[@{Used_MeleeSlash}*@{Used_MeleeSlashRating}]]}} {{distract=[[@{Used_MeleeDistract}]]}} {{undamaging=[[@{Used_MeleeUndamaging}]]}} {{dualwield=[[@{Talent_DualWielderLvl}]]}} {{battlerage=[[@{Talent_BattleRageLvl}]]}} {{frenzy=[[@{Talent_FrenzyLvl}*@{MeleeMode_Frenzy}]]}} {{slayer=[[@{Talent_SlayerLvl}*@{StrengthBonusStart}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{bne=[[@{MeleeMode_BNE}]]}} {{dis=[[@{MeleeMode_Disarm}]]}} {{inf=[[@{MeleeMode_Infight}]]}} {{usedmagic=[[@{Used_MeleeMagic}]]}} {{usedmagiceffect=@{Used_MeleeMagicEffect}}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_MeleePrecise}+@{Used_MeleePractical}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusAtkMain}>addsl<]]}} {{sladd=[[0]]}} {{test=[[>test<]]}} {{sitmod=[[@{Mainattcustadd}]]}} {{sitfail=[[0>sitfail<]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{modvalue=[[?{Opposed Attack Modifier|@{Used_MeleeBonus}}]]}} {{title=@{Used_MeleeWeapon}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=>atype<}} {{target=[[>target<]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_MeleeDamaging}]]}} {{reach=@{Used_MeleeReach}}} {{rolltype=[[@{Used_MeleeImpale}]]}} {{qualities=@{Used_MeleeQualities}}} {{damage=[[@{Used_MeleeStrengthBonus}+@{Used_MeleeDamageBonus}+@{Talent_StrikeMightyBlowLvl}>adddmg<-{[[@{Used_MeleeDmgTaken}-@{Used_MeleeDurable}]],[[0]]}kh1]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move_atk}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod} - @{ProneAtkMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_Melee_modtype1}]]}} {{mod1=@{Used_Melee_mod1}}} {{mod2type=[[@{Used_Melee_modtype2}]]}} {{mod2=@{Used_Melee_mod2}}} {{mod3type=[[@{Used_Melee_modtype3}]]}} {{mod3=@{Used_Melee_mod3}}} {{NPC=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{fast=[[@{Used_MeleeFast}]]}} {{slow=[[@{Used_MeleeSlow}]]}} {{hack=[[@{Used_MeleeHack}]]}} {{precise=[[@{Used_MeleePrecise}]]}} {{impact=[[@{Used_MeleeImpact}]]}} {{tiring=[[@{Used_MeleeTiring}]]}} {{penetrating=[[@{Used_MeleePenetrating}]]}} {{warpstone=[[@{Used_MeleeWarpstone}]]}} {{zzap=[[@{Used_MeleeZZAP}]]}} {{pummel=[[@{Used_MeleePummel}]]}} {{practical=[[@{Used_MeleePractical}]]}} {{wrap=[[@{Used_MeleeWrap}]]}} {{trip=[[@{Used_MeleeTrip}]]}} {{slash=[[@{Used_MeleeSlash}*@{Used_MeleeSlashRating}]]}} {{distract=[[@{Used_MeleeDistract}]]}} {{undamaging=[[@{Used_MeleeUndamaging}]]}} {{battlerage=[[@{Talent_BattleRageLvl}]]}} {{frenzy=[[@{Talent_FrenzyLvl}*@{MeleeMode_Frenzy}]]}} {{slayer=[[@{Talent_SlayerLvl}*@{StrengthBonusStart}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{bne=[[@{MeleeMode_VsObject}]]}} {{dis=[[@{MeleeMode_Disarm}]]}} {{inf=[[@{MeleeMode_Infight}]]}} {{usedmagic=[[@{Used_MeleeMagic}]]}} {{usedmagiceffect=@{Used_MeleeMagicEffect}}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -47080,15 +48396,24 @@ console.log(trigger); adddmg = ''; + sitfail = ''; + atype = '^{ATTACK}'; if (trigger === "meleeattackmain") {rollEnd = ' {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeAttackMain)}} {{RTdualwield=@{RT-dualwieldoff}}}'; rollPart2 = roll.replaceAll('>addsl<', '>addsldf<'); rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); - if (v.MeleeMode_Infight == "1") {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ')} else {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ')}; + if (v.MeleeMode_Infight == "1") {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ')} else {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ');}; } - if (trigger === "dualwieldmain") {rollEnd = ' {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}}'; - rollPart2 = roll.replaceAll('>addsl<', '>addsldf<'); + if (trigger === "dualwieldmain") {rollEnd = ' {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}} {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}}'; + rollPart2 = roll.replaceAll('>addsl<', '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})>addsldf<'); + rollPart3 = rollPart2.replaceAll('>test<', `${rollrev}`); + if (lastcrit > 0) { + rollPart3 = rollPart2.replaceAll('>test<', '?{Use Crit Result|Yes, ' + `${lastcrit}` + '|No, ' + `${rollrev}` + '}'); + } else { rollPart3 = rollPart2.replaceAll('>test<', `${rollrev}`); + } + rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); + atype = '^{DUAL-WIELD-OH}';} if (v.MeleeMode_Infight == "1") { if (lastcrit > 0) {rollPart4 = rollPart3.replaceAll('>target<', `${lastcrit}`); @@ -47096,7 +48421,7 @@ } else { if (lastcrit > 0) {rollPart4 = rollPart3.replaceAll('>target<', `${lastcrit}`); } else {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ');} - }} + } if (trigger === "meleechargemain") {rollEnd = ' {{charge=true}} {{berserkcharge=[[@{Talent_BerserkChargeLvl}]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeChargeMain)}} {{RTdualwield=@{RT-dualwieldoff}}}]]}}'; rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_BerserkChargeLvl}>addsldf<'); @@ -47109,20 +48434,25 @@ setAttrs({ "Advantageinput": Advadd }, {silent: true}); + atype = '^{CHARGE}'; + } + + if (trigger === "furiousassaultmain") {rollEnd = ' {{berserkcharge=[[0]]}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}FuriousAssaultMain)}} {{RTdualwield=@{RT-dualwieldoff}}}'; + rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_FuriousAssaultLvl}>addsldf<'); + rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); + rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); + atype = "^{FURIOUS-ASSAULT}"; } - if (v.MeleeMode_Charging == 1) {rollEnd = ' {{charge=true}} {{berserkcharge=[[@{Talent_BerserkChargeLvl}]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeChargeMain)}} {{RTdualwield=@{RT-dualwieldoff}}}]]}}'; + if (v.MeleeMode_Charging == "1") {rollEnd = ' {{charge=true}} {{berserkcharge=[[@{Talent_BerserkChargeLvl}]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeChargeMain)}} {{RTdualwield=@{RT-dualwieldoff}}}]]}}'; rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_BerserkChargeLvl}>addsldf<'); rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); - rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); - adddmg = '+@{Talent_ResoluteLvl}'; + rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); + adddmg = '+@{Talent_ResoluteLvl}'; + atype = '^{CHARGE}'; } - if (trigger === "furiousassaultmain") {rollEnd = ' {{berserkcharge=[[0]]}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}FuriousAssaultMain)}} {{RTdualwield=@{RT-dualwieldoff}}}'; - rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_FuriousAssaultLvl}>addsldf<'); - rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); - rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); - if (v.MeleeMode_Infight == "1") {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ')} else {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ')}; + if (v.MeleeMode_Infight == "1") {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ')} else {rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atk}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_MeleeBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); } var regex = /BRAWL/g; @@ -47133,19 +48463,23 @@ rollBrawl = ' {{dirtyfighting=[[0]]}}'; addsldf = '';} + wod = v.MeleeMode_WoD*v.Talent_WhirlwindofDeathLvl; frenzy = v.Talent_FrenzyLvl*v.MeleeMode_Frenzy; battlefrenzy = v.Talent_BattleRageLvl*frenzy; if (battlefrenzy > 0) {addsldf += '+@{Talent_BattleRageLvl}';} - if (v.MeleeMode_BNE == 1) {rollPart4 += " {{breakenter=[[@{Talent_BreakandEnterLvl}]]}}"; addsldf += '+@{Talent_BreakandEnterLvl}'; adddmg += '+@{Talent_BreakandEnterLvl}';} + if (v.MeleeMode_VsObject == 1) {rollPart4 += " {{breakenter=[[@{Talent_BreakandEnterLvl}]]}}"; addsldf += '+@{Talent_BreakandEnterLvl}+@{Talent_DemolisherLvl}'; adddmg += '+@{Talent_BreakandEnterLvl}';} if (v.MeleeMode_Drilled == 1) {rollPart4 += " {{drilled=[[@{Talent_DrilledLvl}]]}}"; addsldf += '+@{Talent_DrilledLvl}';} if (v.MeleeMode_Disarm == 1) {rollPart4 += " {{disarm=[[@{Talent_DisarmLvl}]]}}"; addsldf += '+@{Talent_DisarmLvl}';} if (v.MeleeMode_Feint == 1) {rollPart4 += " {{feint=[[@{Talent_FeintLvl}]]}}"; addsldf += '+@{Talent_FeintLvl}';} if (v.MeleeMode_Infight == 1) {rollPart4 += " {{infight=[[@{Talent_InFighterLvl}]]}}"; addsldf += '+@{Talent_InFighterLvl}';} if (v.MeleeMode_STS == 1) {rollPart4 += " {{striketostun=[[@{Talent_StriketoStunLvl}]]}}"; addsldf += '+@{Talent_StriketoStunLvl}';} if (v.MeleeMode_Beat == 1) {rollPart4 += " {{beatblade=[[@{Talent_BeatBladeLvl}]]}}"; addsldf += '+@{Talent_BeatBladeLvl}';} + if (v.MeleeMode_Underminer == 1) {rollPart4 += " {{underminer=[[@{Talent_UnderminerLvl}]]}}"; addsldf += '+@{Talent_UnderminerLvl}';} + if (v.MeleeMode_DualWield == 1) {rollPart4 += " {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}}"; addsldf += '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; sitfail = '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; atype = '^{DUAL-WIELD-MH}';} if (v.CritTable == 1) {rollPart4 += " {{crittable=[[@{CritTable}]]}}";} if (v.GroupAdv == 1) {rollPart4 += " {{grpadv=[[@{GroupAdv}]]}}";} + if (v.MeleeMode_WoD == 1) {rollPart4 += " {{wod=[[1]]}}";} if (v.MeleeMode_STS == 1) { if (v.MeleeMode_Aimed == 1) {hitloc = "{{hitlocation=[[1]]}}"; rollPart4 += " {{aimed=[[@{MeleeMode_Aimed}]]}}";} else {hitloc = "{{hitlocation=true}}";} @@ -47156,9 +48490,10 @@ if (v.MeleeSizeMod < 0) {rollPart4 += " {{sizemod=[[" + v.MeleeSizeMod + "]]}}";} console.log(hitloc); - rollPart = rollPart4.replaceAll('>addsldf<', addsldf).replaceAll('>adddmg<', adddmg).replaceAll('>hitloc<', hitloc); + rollPart = rollPart4.replaceAll('>addsldf<', addsldf).replaceAll('>adddmg<', adddmg).replaceAll('>hitloc<', hitloc).replaceAll('>sitfail<', sitfail).replaceAll('>atype<', atype); console.log(rollPart); + console.log(rollEnd); startRoll(rollBegins + rollPart + rollBrawl + rollEnd, (results) => { const target = results.results.target.result @@ -47175,14 +48510,16 @@ const SLmod = results.results.SLmod.result if (trigger === "furiousassaultmain") {furiousassault = results.results.furiousassault.result} else {furiousassault = 0} const slbonusatk = results.results.slbonusatk.result - if (trigger == "dualwieldmain") {dualwield = results.results.dualwield.result} else {dualwield = 0;} + if (v.MeleeMode_DualWield == 1) {dualwield = results.results.dualwield.result} else {if (trigger === "dualwieldmain") {dualwield = results.results.dualwield.result} else {dualwield = 0}} if (v.MeleeMode_Drilled == 1) {drilled = results.results.drilled.result} else {drilled = 0;} - if (v.MeleeMode_BNE == 1) {breakenter = results.results.breakenter.result} else {breakenter = 0;} + if (v.MeleeMode_VsObject == 1) {breakenter = results.results.breakenter.result} else {breakenter = 0;} + if (v.MeleeMode_VsObject == 1) {demolisher = results.results.demolisher.result} else {demolisher = 0;} if (v.MeleeMode_Disarm == 1) {disarm = results.results.disarm.result} else {disarm = 0;} if (v.MeleeMode_Feint == 1) {feint = results.results.feint.result} else {feint = 0;} if (v.MeleeMode_Infight == 1) {infight = results.results.infight.result} else {infight = 0;} if (v.MeleeMode_STS == 1) {striketostun = results.results.striketostun.result} else {striketostun = 0;} if (v.MeleeMode_Beat == 1) {beatblade = results.results.beatblade.result} else {beatblade = 0;} + if (v.MeleeMode_Underminer == 1) {underminer = results.results.underminer.result} else {underminer = 0;} const computed = (Math.floor(target / 10) - Math.floor(test / 10)) ; const computed2 = (((test-1)%10)+1) ; @@ -47239,7 +48576,8 @@ } else {output = ""; cscount = 0;} - if (breakenter > 0) {if (v.MeleeMode_BNE == 1) {bneadd = breakenter;} else {bneadd = 0;}} else {bneadd = 0;} + if (breakenter > 0) {if (v.MeleeMode_VsObject == 1) {bneadd = breakenter;} else {bneadd = 0;}} else {bneadd = 0;} + if (demolisher > 0) {if (v.MeleeMode_VsObject == 1) {bneadd += demolisher;} else {bneadd = 0;}} else {bneadd = 0;} if (infight > 0) {if (v.MeleeMode_Infight == 1) {infadd = infight;} else {infadd = 0;}} else {infadd = 0;} if (v.MeleeMode_Charging == 1) {setAttrs({ @@ -47257,41 +48595,21 @@ setAttrs({ "LastRollMain": test, "LastCritRoll": 0, - "MeleeMode_BNE": 0, + "MeleeMode_VsObject": 0, + "MeleeMode_WoD": 0, "MeleeMode_Disarm": 0, + "MeleeMode_Frenzy": 0, "MeleeMode_Feint": 0, "MeleeMode_Charging": 0, + "MeleeMode_DualWield": 0, + "DefenseMode_Defensive": 0, "MeleeMode_Aimed": 0, "MeleeMode_STS": 0, "MeleeMode_Beat": 0, "LastUnitDieMain": computed2 }, {silent: true}); - - console.log("Test 1"); - console.log(cond); - getSectionIDs("repeating_melee", function (ids) { - ids.forEach(id => { - const output = {}; - const output2 = {}; - getAttrs([`repeating_melee_${id}_MeleeBonus`, `repeating_melee_${id}_UsedWeapon`, `repeating_melee_${id}_UsedDefense`], function(t) { - if(t[`repeating_melee_${id}_UsedWeapon`] == 1) - { - console.log("Test 2"); - output[`repeating_melee_${id}_MeleeBonus`] = melmod, setAttrs(output, {silent: false}) - - } - if(t[`repeating_melee_${id}_UsedDefense`] == 1) - { - console.log("Test 3"); - output2[`repeating_melee_${id}_MeleeBonus`] = melmod, setAttrs(output2, {silent: false}) - - } - }); - }); - }); - - if ( test <= target ) { var computed3 = computed + drilled + furiousassault + infadd + disarm + feint + striketostun + beatblade + bneadd + dirtyfighting + bfrenzy + dualwield + precise + SLmod ;} else { var computed3 = computed + practical + SLmod ;} + if ( test <= target ) { var computed3 = computed + drilled + furiousassault + infadd + disarm + feint + striketostun + beatblade + bneadd + dirtyfighting + bfrenzy + dualwield + precise + underminer + SLmod ;} else { var computed3 = computed + practical + SLmod ;} if ( test <= target ) { var computed4 = slbonusatk - practical ;} else { var computed4 = practical ;} if ( test <= target ) { var computed5 = slbonusatk - practical + SLmod ;} else { var computed5 = practical + SLmod ;} @@ -47314,10 +48632,10 @@ }); on('clicked:meleeopposedmain', (eventInfo) => { - getAttrs(["Used_MeleeWeaponSkill", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Frenzy", "MeleeMode_Infight", "MeleeMode_Drilled", "MeleeSizeMod", "GroupAdv"], function(v) { + getAttrs(["Used_MeleeWeaponSkill", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Frenzy", "MeleeMode_Underminer", "MeleeMode_Infight", "MeleeMode_Drilled", "MeleeSizeMod", "GroupAdv"], function(v) { - let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{DefensiveTotal}+@{Used_MeleePractical}+@{Talent_RiposteLvl}+@{Talent_ReversalLvl}+(@{Used_MeleeShield}*@{Talent_ShieldsmanLvl})>addsl< [SL TOTAL]]]}} {{sladd=[[0]]}} {{slbonusdef=[[@{slbonusDefMain}>addsl<]]}} {{target=[[ [[@{condgen_see_move_def}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Defense Modifier|@{Used_MeleeBonusDef}} [MOD] + [[@{Advantage}*10]] [ADV] ]]}} {{modvalue=[[?{Opposed Defense Modifier|@{Used_MeleeBonusDef}}]]}} {{title=@{Used_MeleeWeapon}}} {{character_name=@{character_name}}} {{advantage=[[@{AdvantageDisplay}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move_def}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{attacktype=^{PARRY}}} {{attacktest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{reach=@{Used_MeleeReach}}} {{rolltype=[[@{Used_MeleeImpale}]]}} {{qualities=@{Used_MeleeQualities}}} {{showdmg=[[@{Used_MeleeOpposedDmg}]]}} {{hitlocation=true}} {{sitmod=[[0]]}} {{damage=[[@{Used_MeleeStrengthBonus}+@{Used_MeleeDamageBonus}+@{Talent_StrikeMightyBlowLvl}-{[[@{Used_MeleeDmgTaken}-@{Used_MeleeDurable}]],[[0]]}kh1]]}} {{damaging=[[@{Used_MeleeDamaging}]]}} {{armorqualities=[[@{armorqualities}]]}} {{aq1=[[@{armorimpenetrable}]]}} {{aq2=[[@{armorweakpoints}]]}} {{aq3=[[@{armorpartial}]]}} {{aq4=[[@{armorcustom}]]}} {{aqtxt=@{armorQuality}}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_Melee_def_modtype1}]]}} {{mod1=@{Used_Melee_def_mod1}}} {{mod2type=[[@{Used_Melee_def_modtype2}]]}} {{mod2=@{Used_Melee_def_mod2}}} {{mod3type=[[@{Used_Melee_def_modtype3}]]}} {{mod3=@{Used_Melee_def_mod3}}} {{NPC=[[0]]}} {{reroll=@{RT-reroll}MeleeOpposedMain)}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{RTriposte=@{RT-ripostedmgmain}}} {{fast=[[@{Used_MeleeFast}]]}} {{slow=[[@{Used_MeleeSlow}]]}} {{hack=[[@{Used_MeleeHack}]]}} {{practical=[[@{Used_MeleePractical}]]}} {{shieldsman=[[@{Used_MeleeShield}*@{Talent_ShieldsmanLvl}]]}} {{defensive=[[@{DefensiveTotal}]]}} {{impact=[[@{Used_MeleeImpact}]]}} {{unbalanced=[[@{Used_MeleeUnbalanced}]]}} {{tiring=[[@{Used_MeleeTiring}]]}} {{penetrating=[[@{Used_MeleePenetrating}]]}} {{pummel=[[@{Used_MeleePummel}]]}} {{riposte=[[@{Talent_RiposteLvl}]]}} {{reversal=[[@{Talent_ReversalLvl}]]}} {{trapblade=[[@{Used_MeleeTrapBlade}]]}} {{RTtrapblade=@{RT-trapblade}}} {{battlerage=[[@{Talent_BattleRageLvl}]]}} {{frenzy=[[@{Talent_FrenzyLvl}*@{MeleeMode_Frenzy}]]}} {{usedmagic=[[@{Used_MeleeMagic}]]}} {{usedmagiceffect=@{Used_MeleeMagicEffect}}}'; + let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{DefensiveTotal}+@{Used_MeleePractical}+@{Talent_RiposteLvl}+@{Talent_ReversalLvl}+(@{Used_MeleeShield}*@{Talent_ShieldsmanLvl})>addsl< [SL TOTAL]]]}} {{sladd=[[0]]}} {{slbonusdef=[[@{slbonusDefMain}>addsl<]]}} {{target=[[ [[@{condgen_see_move_def}*-1]] [COND] + [[@{Used_MeleeWeaponSkill}]] [SKILL] + ?{Opposed Defense Modifier|@{Used_MeleeBonusDef}} [MOD] + [[@{Advantage}*10]] [ADV] ]]}} {{modvalue=[[?{Opposed Defense Modifier|@{Used_MeleeBonusDef}}]]}} {{title=@{Used_MeleeWeapon}}} {{character_name=@{character_name}}} {{advantage=[[@{AdvantageDisplay}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move_def}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{attacktype=^{PARRY}}} {{attacktest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{reach=@{Used_MeleeReach}}} {{rolltype=[[@{Used_MeleeImpale}]]}} {{qualities=@{Used_MeleeQualities}}} {{showdmg=[[@{Used_MeleeOpposedDmg}]]}} {{hitlocation=true}} {{sitmod=[[0]]}} {{damage=[[@{Used_MeleeStrengthBonus}+@{Used_MeleeDamageBonus}+@{Talent_StrikeMightyBlowLvl}-{[[@{Used_MeleeDmgTaken}-@{Used_MeleeDurable}]],[[0]]}kh1]]}} {{damaging=[[@{Used_MeleeDamaging}]]}} {{armorqualities=[[@{armorqualities}]]}} {{aq1=[[@{armorimpenetrable}]]}} {{aq2=[[@{armorweakpoints}]]}} {{aq3=[[@{armorpartial}]]}} {{aq4=[[@{armorcustom}]]}} {{aqtxt=@{armorQuality}}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_Melee_def_modtype1}]]}} {{mod1=@{Used_Melee_def_mod1}}} {{mod2type=[[@{Used_Melee_def_modtype2}]]}} {{mod2=@{Used_Melee_def_mod2}}} {{mod3type=[[@{Used_Melee_def_modtype3}]]}} {{mod3=@{Used_Melee_def_mod3}}} {{NPC=[[0]]}} {{reroll=@{RT-reroll}MeleeOpposedMain)}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{RTriposte=@{RT-ripostedmgmain}}} {{fast=[[@{Used_MeleeFast}]]}} {{slow=[[@{Used_MeleeSlow}]]}} {{hack=[[@{Used_MeleeHack}]]}} {{practical=[[@{Used_MeleePractical}]]}} {{shieldsman=[[@{Used_MeleeShield}*@{Talent_ShieldsmanLvl}]]}} {{defensive=[[@{DefensiveTotal}]]}} {{impact=[[@{Used_MeleeImpact}]]}} {{unbalanced=[[@{Used_MeleeUnbalanced}]]}} {{tiring=[[@{Used_MeleeTiring}]]}} {{penetrating=[[@{Used_MeleePenetrating}]]}} {{pummel=[[@{Used_MeleePummel}]]}} {{riposte=[[@{Talent_RiposteLvl}]]}} {{reversal=[[@{Talent_ReversalLvl}]]}} {{trapblade=[[@{Used_MeleeTrapBlade}]]}} {{RTtrapblade=@{RT-trapblade}}} {{battlerage=[[@{Talent_BattleRageLvl}]]}} {{frenzy=[[@{Talent_FrenzyLvl}*@{MeleeMode_Frenzy}]]}} {{usedmagic=[[@{Used_MeleeMagic}]]}} {{usedmagiceffect=@{Used_MeleeMagicEffect}}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -47335,6 +48653,7 @@ battlefrenzy = v.Talent_BattleRageLvl*frenzy; if (battlefrenzy > 0) {addsl += '+@{Talent_BattleRageLvl}';} + if (v.MeleeMode_Underminer == 1) {rollPart2 += " {{underminer=[[@{Talent_UnderminerLvl}]]}}"; addsl += '+@{Talent_UnderminerLvl}';} if (v.MeleeMode_Infight == 1) {rollPart2 += " {{infight=[[@{Talent_InFighterLvl}]]}}"; addsl += '+@{Talent_InFighterLvl}';} if (v.MeleeMode_Drilled == 1) {rollPart2 += " {{drilled=[[@{Talent_DrilledLvl}]]}}"; addsl += '+@{Talent_DrilledLvl}';} if (v.GroupAdv == 1) {rollPart2 += " {{grpadv=[[@{GroupAdv}]]}}";} @@ -47371,6 +48690,7 @@ if (v.MeleeMode_Infight == 1) {infight = results.results.infight.result} else {infight = 0;} if (infight > 0) {if (v.MeleeMode_Infight == 1) {infadd = infight;} else {infadd = 0;}} else {infadd = 0;} if (v.MeleeMode_Drilled == 1) {drilled = results.results.drilled.result} else {drilled = 0;} + if (v.MeleeMode_Underminer == 1) {underminer = results.results.underminer.result} else {underminer = 0;} bfrenzy = battlerage * frenzy; @@ -47379,7 +48699,7 @@ console.log(bfrenzy); console.log(SLmod); - if ( test <= target ) { var computed3 = computed + drilled + infadd + dirtyfighting + bfrenzy + reversal + riposte + defensive + shieldsman + SLmod - unbalanced - smod ;} else { var computed3 = computed + practical + defensive + shieldsman + SLmod - unbalanced - smod ;} + if ( test <= target ) { var computed3 = computed + drilled + infadd + dirtyfighting + bfrenzy + reversal + riposte + defensive + shieldsman + underminer + SLmod - unbalanced - smod ;} else { var computed3 = computed + practical + defensive + shieldsman + SLmod - unbalanced - smod ;} if ( test <= target ) { var computed4 = slbonusdef - practical - unbalanced - smod ;} else { var computed4 = defensive + practical + shieldsman - unbalanced - smod ;} if ( test <= target ) { var computed5 = slbonusdef - practical + SLmod - unbalanced - smod ;} else { var computed5 = defensive + practical + shieldsman + SLmod - unbalanced - smod ;} @@ -47406,7 +48726,7 @@ on('clicked:ripostedmgmain', (eventInfo) => { getAttrs(["LastUnitDieMain","LastRollMainOpp"], function(v) { - let roll = '{{ripostedmg}} {{lastunitdie=@{LastUnitDieMain}}} {{test=[[@{LastRollMainOpp}]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{title=^{RIPOSTE}}} {{character_name=@{character_name}}}{{unconscious=[[@{UnconsciousMod}]]}} {{attacktype=^{DAMAGE}}} {{attacktest=true}} {{rolltype=[[@{Used_MeleeImpale}]]}} {{qualities=@{Used_MeleeQualities}}} {{showdmg=[[1]]}} {{hitlocation=true}} {{damage=[[@{Used_MeleeStrengthBonus}+@{Used_MeleeDamageBonus}+@{Talent_StrikeMightyBlowLvl}-{[[@{Used_MeleeDmgTaken}-@{Used_MeleeDurable}]],[[0]]}kh1]]}} {{damaging=[[@{Used_MeleeDamaging}]]}} {{tiring=[[@{Used_MeleeTiring}]]}} {{NPC=[[0]]}} {{hack=[[@{Used_MeleeHack}]]}} {{defensive=[[@{DefensiveTotal}]]}} {{impact=[[@{Used_MeleeImpact}]]}} {{penetrating=[[@{Used_MeleePenetrating}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{pummel=[[@{Used_MeleePummel}]]}} {{undamaging=[[@{Used_MeleeUndamaging}]]}} {{usedmagic=[[@{Used_MeleeMagic}]]}} {{usedmagiceffect=@{Used_MeleeMagicEffect}}}'; + let roll = '{{ripostedmg}} {{lastunitdie=@{LastUnitDieMain}}} {{test=[[@{LastRollMainOpp}]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{title=^{RIPOSTE}}} {{character_name=@{character_name}}}{{unconscious=[[@{UnconsciousMod}]]}} {{attacktype=^{DAMAGE}}} {{attacktest=true}} {{rolltype=[[@{Used_MeleeImpale}]]}} {{qualities=@{Used_MeleeQualities}}} {{showdmg=[[1]]}} {{hitlocation=true}} {{damage=[[@{Used_MeleeStrengthBonus}+@{Used_MeleeDamageBonus}+@{Talent_StrikeMightyBlowLvl}-{[[@{Used_MeleeDmgTaken}-@{Used_MeleeDurable}]],[[0]]}kh1]]}} {{damaging=[[@{Used_MeleeDamaging}]]}} {{tiring=[[@{Used_MeleeTiring}]]}} {{NPC=[[0]]}} {{hack=[[@{Used_MeleeHack}]]}} {{defensive=[[@{DefensiveTotal}]]}} {{impact=[[@{Used_MeleeImpact}]]}} {{penetrating=[[@{Used_MeleePenetrating}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{pummel=[[@{Used_MeleePummel}]]}} {{undamaging=[[@{Used_MeleeUndamaging}]]}} {{usedmagic=[[@{Used_MeleeMagic}]]}} {{usedmagiceffect=@{Used_MeleeMagicEffect}}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -47485,7 +48805,7 @@ on('clicked:meleeattackoff clicked:meleechargeoff clicked:furiousassaultoff clicked:dualwieldoff', (eventInfo) => { if (eventInfo.sourceType === 'sheetworker') return; - getAttrs(["Used_DefenseWeaponSkill", "Talent_AmbidextrousLvl","Used_MeleeTwohanded","Advantageinput","LastRollMain","LastCritRoll", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Frenzy", "MeleeMode_BNE", "MeleeMode_Infight", "MeleeMode_Drilled", "MeleeMode_Charging", "Used_MeleeBonus", "Used_DefenseBonus", "MeleeMode_STS", "MeleeMode_Aimed", "GroupAdv", "CritTable", "MeleeOffType"], function(values) { + getAttrs(["Used_DefenseWeaponSkill", "Talent_AmbidextrousLvl","Used_MeleeTwohanded","Advantageinput","LastRollMain","LastCritRoll", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Underminer", "MeleeMode_Frenzy", "MeleeMode_VsObject", "MeleeMode_Infight", "MeleeMode_Drilled", "MeleeMode_Charging", "MeleeMode_DualWield", "Used_MeleeBonus", "Used_DefenseBonus", "MeleeMode_STS", "MeleeMode_Aimed", "GroupAdv", "CritTable", "MeleeOffType"], function(values) { prevcrit = JSON.stringify(values["LastCritRoll"])||0; if (prevcrit >= 1 && prevcrit <= 9) { @@ -47516,20 +48836,27 @@ getAttrs(["Used_OffRangedAmmo","AutoAmmo","RangedMode_Engaged","RangedMode_Moved","Used_OffRangedBonus","RangedMode_Aim","RangedMode_Range", "RangedMode_Called", "RangedMode_Size", "GroupAdv", "Used_OffRangedAccurate", "Talent_DeadeyeShotLvl"], function(v) { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_OffRangedPrecise}+@{Used_OffRangedPractical}-@{Used_OffRangedImprecise}+@{RangedMode_FastShot}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusRgd}+@{RangedMode_FastShot}>addsl<]]}} {{sladd=[[0]]}} {{test=[[>test<]]}} {{offpen=[[>ambi<]]}} {{rangedeng=[[@{RangedMode_Engaged}]]}} {{rangedsize=[[>size<]]}} {{modvalue=[[?{Ranged Attack Modifier|@{Used_RangedBonus}}]]}} {{ammo=[[@{Used_OffRangedAmmo}]]}} {{title=@{Used_OffRangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{RANGED}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_OffRangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Ranged Attack Modifier|0} [MOD] ]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_OffRangedDamaging}]]}} {{reach=@{Used_OffWeaponRange}}} {{rolltype=[[@{Used_OffRangedImpale}]]}} {{pummel=[[@{Used_OffRangedPummel}]]}} {{qualities=@{Used_OffRangedQualities}}} {{damage=[[@{Used_OffRangedStrengthBonus}+@{Used_OffRangedDamage}+@{Talent_AccurateShotLvl}-{[[@{Used_OffRangedDmgTaken}-@{Used_OffRangedDurable}]],[[0]]}kh1]]}} {{ammotype=@{Used_OffRangedAmmoType}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_OffRanged_modtype1}]]}} {{mod1=@{Used_OffRanged_mod1}}} {{mod2type=[[@{Used_OffRanged_modtype2}]]}} {{mod2=@{Used_OffRanged_mod2}}} {{mod3type=[[@{Used_OffRanged_modtype3}]]}} {{mod3=@{Used_OffRanged_mod3}}} {{NPC=[[0]]}} {{sitmod=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{precise=[[@{Used_OffRangedPrecise}]]}} {{imprecise=[[@{Used_OffRangedImprecise}]]}} {{blast=[[@{Used_RangedBlast}*@{Used_OffRangedBlastRating}]]}} {{repeater=[[@{Used_OffRangedRepeater}*@{Used_OffRangedRepeaterRating}]]}} {{entangle=[[@{Used_OffRangedEntangle}]]}} {{penetrating=[[@{Used_OffRangedPenetrating}]]}} {{tiring=[[0]]}} {{blackpowder=[[@{Used_OffRangedBlackpowder}]]}} {{practical=[[@{Used_OffRangedPractical}]]}} {{accurate=[[@{Used_OffRangedAccurate}*10]]}} {{hack=[[@{Used_OffRangedHack}]]}} {{dangerous=[[@{Used_OffRangedDangerous}]]}} {{impact=[[@{Used_OffRangedImpact}]]}} {{deadeyeshot=[[@{Talent_DeadeyeShotLvl}]]}} {{fastshot=[[@{RangedMode_FastShot}]]}} {{autoammo=[[@{AutoAmmo}]]}} {{sniper=[[@{Talent_SniperLvl}]]}} {{targetrange=[[@{RangedMode_Range}]]}} {{sureshot=[[@{Talent_SureShotLvl}]]}} {{usedmagic=[[@{Used_OffRangedMagic}]]}} {{usedmagiceffect=@{Used_OffRangedMagicEffect}}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_OffRangedPrecise}+@{Used_OffRangedPractical}-@{Used_OffRangedImprecise}+@{RangedMode_FastShot}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusRgd}+@{RangedMode_FastShot}>addsl<]]}} {{sladd=[[0]]}} {{test=[[>test<]]}} {{offpen=[[>ambi<]]}} {{rangedeng=[[@{RangedMode_Engaged}]]}} {{rangedsize=[[>size<]]}} {{modvalue=[[?{Ranged Attack Modifier|@{Used_RangedBonus}}]]}} {{ammo=[[@{Used_OffRangedAmmo}]]}} {{title=@{Used_OffRangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=>atype<}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_OffRangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Ranged Attack Modifier|0} [MOD] ]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_OffRangedDamaging}]]}} {{reach=@{Used_OffWeaponRange}}} {{rolltype=[[@{Used_OffRangedImpale}]]}} {{pummel=[[@{Used_OffRangedPummel}]]}} {{qualities=@{Used_OffRangedQualities}}} {{damage=[[@{Used_OffRangedStrengthBonus}+@{Used_OffRangedDamage}+@{Talent_AccurateShotLvl}-{[[@{Used_OffRangedDmgTaken}-@{Used_OffRangedDurable}]],[[0]]}kh1]]}} {{ammotype=@{Used_OffRangedAmmoType}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_OffRanged_modtype1}]]}} {{mod1=@{Used_OffRanged_mod1}}} {{mod2type=[[@{Used_OffRanged_modtype2}]]}} {{mod2=@{Used_OffRanged_mod2}}} {{mod3type=[[@{Used_OffRanged_modtype3}]]}} {{mod3=@{Used_OffRanged_mod3}}} {{NPC=[[0]]}} {{sitmod=[[0]]}} {{sitfail=[[0>sitfail<]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{precise=[[@{Used_OffRangedPrecise}]]}} {{imprecise=[[@{Used_OffRangedImprecise}]]}} {{blast=[[@{Used_RangedBlast}*@{Used_OffRangedBlastRating}]]}} {{repeater=[[@{Used_OffRangedRepeater}*@{Used_OffRangedRepeaterRating}]]}} {{entangle=[[@{Used_OffRangedEntangle}]]}} {{penetrating=[[@{Used_OffRangedPenetrating}]]}} {{tiring=[[0]]}} {{blackpowder=[[@{Used_OffRangedBlackpowder}]]}} {{practical=[[@{Used_OffRangedPractical}]]}} {{accurate=[[@{Used_OffRangedAccurate}*10]]}} {{hack=[[@{Used_OffRangedHack}]]}} {{dangerous=[[@{Used_OffRangedDangerous}]]}} {{impact=[[@{Used_OffRangedImpact}]]}} {{deadeyeshot=[[@{Talent_DeadeyeShotLvl}]]}} {{fastshot=[[@{RangedMode_FastShot}]]}} {{autoammo=[[@{AutoAmmo}]]}} {{sniper=[[@{Talent_SniperLvl}]]}} {{targetrange=[[@{RangedMode_Range}]]}} {{sureshot=[[@{Talent_SureShotLvl}]]}} {{usedmagic=[[@{Used_OffRangedMagic}]]}} {{usedmagiceffect=@{Used_OffRangedMagicEffect}}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}} {{dragonbelcher=[[@{Talent_DragonBelcherlvl}]]}} {{shortfuse=[[@{Talent_ShortFuselvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; if (v.GroupAdv == 1) {roll += " {{grpadv=[[@{GroupAdv}]]}}";} let rollPart2 = roll; ammopre = v.Used_RangedAmmo; + + addsldf = ''; + sitfail = ''; + atype = '^{RANGED}'; if (trigger === "meleeattackoff") { - rollPart2 += ' {{reroll=@{RT-reroll}MeleeAttackOff)}} {{RTdualwield=@{RT-dualwieldmain}}} {{dualwield=[[@{Talent_DualWielderLvl}]]}}';} - rollPart3 = rollPart2.replaceAll('>addsl<', ''); + rollPart2 += ' {{reroll=@{RT-reroll}MeleeAttackOff)}}';} + rollPart3 = rollPart2.replaceAll('>addsl<', '>addsldf<'); + if (trigger === "dualwieldoff") { - rollPart2 += " {{dualwield=[[@{Talent_DualWielderLvl}]]}} {{dwuse}}"; - rollPart3 = rollPart2.replaceAll('>addsl<', '+@{Talent_DualWielderLvl}'); + rollPart2 += " {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}} {{RTdualwield=@{RT-dualwieldmain}}} {{dwuse}}"; + rollPart3 = rollPart2.replaceAll('>addsl<', '+@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}>addsldf<'); + sitfail = '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; + atype = '^{DUAL-WIELD-OH}'; if (lastcrit > 0) { rollPart4 = rollPart3.replaceAll('>test<', '?{Use Crit Result|Yes, ' + `${lastcrit}` + '|No, ' + `${rollrev}` + '}'); } else { @@ -47537,6 +48864,7 @@ }} else { rollPart4 = rollPart3.replaceAll('>test<', '@{roll_rule}'); } + if (values.MeleeMode_DualWield == 1) {rollPart4 += " {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}} {{RTdualwield=@{RT-dualwieldmain}}}"; addsldf += '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; sitfail = '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; atype = '^{DUAL-WIELD-OH}';} if (v.AutoAmmo == 1) { if (trigger == "rangedatkreroll") { @@ -47567,7 +48895,7 @@ if (v.RangedMode_Size == 2) {mod += 40; size = 2;} if (v.RangedMode_Size == 3) {mod += 20; size = 3;} - let rollPart = rollPart4.replaceAll('>ambi<', ambipen).replaceAll('>hitloc<', hitloc).replaceAll('>size<', size); + let rollPart = rollPart4.replaceAll('>ambi<', ambipen).replaceAll('>hitloc<', hitloc).replaceAll('>size<', size).replaceAll('>addsldf<', addsldf).replaceAll('>sitfail<', sitfail).replaceAll('>atype<', atype); console.log(rollPart); @@ -47585,7 +48913,7 @@ const slbonusatk = results.results.slbonusatk.result const fastshot = results.results.fastshot.result const rangedsize = results.results.rangedsize.result - if (trigger == "dualwieldoff") {dualwield = results.results.dualwield.result} else {dualwield = 0} + if (values.MeleeMode_DualWield == 1) {dualwield = results.results.dualwield.result} else {if (trigger === "dualwieldoff") {dualwield = results.results.dualwield.result} else {dualwield = 0}} const computed = (Math.floor(target / 10) - Math.floor(test / 10)) ; const computed2 = (((test-1)%10)+1) ; const target20 = target + 20; @@ -47629,7 +48957,7 @@ setAttrs( { - "LastRollMain": test, + "LastRollOff": test, "LastCritRoll": 0, "Used_OffRangedAmmo": ammo, "RangedMode_FastShot": 0, @@ -47657,27 +48985,33 @@ }); } else { - let roll = '{{test=[[>test<]]}} {{sl=[[0]]}} {{slbonus=[[@{Used_DefensePrecise}+@{Used_DefensePractical}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusAtkOff}>addsl<]]}} {{sladd=[[0]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{modvalue=[[?{Opposed Attack Modifier|@{Used_DefenseBonus}}]]}} {{title=@{Used_DefenseWeapon}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{ATTACK}}} {{target=[[>target<]]}} {{offpen=[[>ambi<]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0}]]}} >hitloc< {{reach=@{Used_DefenseReach}}} {{damaging=[[@{Used_DefenseDamaging}]]}} {{rolltype=[[@{Used_DefenseImpale}]]}} {{qualities=@{Used_DefenseQualities}}} {{sitmod=[[0]]}} {{damage=[[@{Used_DefenseStrengthBonus}+@{Used_DefenseDamageBonus}+@{Talent_StrikeMightyBlowLvl}>adddmg<-{[[@{Used_DefenseDmgTaken}-@{Used_DefenseDurable}]],[[0]]}kh1]]}} {{NPC=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move_atkoff}-@{DrunkAtkMod}-@{DistractedAtkMod}]]}} {{drunk=[[@{DrunkAtkMod}]]}} {{fatigued=[[@{FatiguedMod} - @{FatiguedAtkMod}]]}} {{broken=[[@{BrokenMod} - @{BrokenAtkMod}]]}} {{stuned=[[@{StunedMod} - @{StunedAtkMod}]]}} {{distracted=[[@{DistractedMod} - @{DistractedAtkMod}]]}} {{poisoned=[[@{PoisonedMod} - @{PoisonedAtkMod}]]}} {{prone=[[@{ProneMod} - @{ProneAtkMod}]]}} {{fast=[[@{Used_DefenseFast}]]}} {{slow=[[@{Used_DefenseSlow}]]}} {{entangled=[[@{EntangledMod} - @{EntangledAtkMod}]]}} {{blinded=[[@{BlindedMod} - @{BlindedAtkMod}]]}} {{deafened=[[0]]}} {{tiring=[[@{Used_DefenseTiring}]]}} {{penetrating=[[@{Used_DefensePenetrating}]]}} {{pummel=[[@{Used_DefensePummel}]]}} {{hack=[[@{Used_DefenseHack}]]}} {{precise=[[@{Used_DefensePrecise}]]}} {{impact=[[@{Used_DefenseImpact}]]}} {{practical=[[@{Used_DefensePractical}]]}} {{wrap=[[@{Used_DefenseWrap}]]}} {{trip=[[@{Used_DefenseTrip}]]}} {{slash=[[@{Used_DefenseSlash}*@{Used_DefenseSlashRating}]]}} {{distract=[[@{Used_DefenseDistract}]]}} {{undamaging=[[@{Used_DefenseUndamaging}]]}} {{mod1type=[[@{Used_Defense_att_modtype1}]]}} {{mod1=@{Used_Defense_att_mod1}}} {{mod2type=[[@{Used_Defense_att_modtype2}]]}} {{mod2=@{Used_Defense_att_mod2}}} {{mod3type=[[@{Used_Defense_att_modtype3}]]}} {{mod3=@{Used_Defense_att_mod3}}} {{battlerage=[[@{Talent_BattleRageLvl}]]}} {{frenzy=[[@{Talent_FrenzyLvl}*@{MeleeMode_Frenzy}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{bne=[[@{MeleeMode_BNE}]]}} {{inf=[[@{MeleeMode_Infight}]]}} {{usedmagic=[[@{Used_DefenseMagic}]]}} {{usedmagiceffect=@{Used_DefenseMagicEffect}}}'; + let roll = '{{test=[[>test<]]}} {{sl=[[0]]}} {{slbonus=[[@{Used_DefensePrecise}+@{Used_DefensePractical}>addsl< [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusAtkOff}>addsl<]]}} {{sladd=[[0]]}} {{sitmod=[[0]]}} {{sitfail=[[0>sitfail<]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{modvalue=[[?{Opposed Attack Modifier|@{Used_DefenseBonus}}]]}} {{title=@{Used_DefenseWeapon}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=>atype<}} {{target=[[>target<]]}} {{offpen=[[>ambi<]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0}]]}} >hitloc< {{reach=@{Used_DefenseReach}}} {{damaging=[[@{Used_DefenseDamaging}]]}} {{rolltype=[[@{Used_DefenseImpale}]]}} {{qualities=@{Used_DefenseQualities}}} {{damage=[[@{Used_DefenseStrengthBonus}+@{Used_DefenseDamageBonus}+@{Talent_StrikeMightyBlowLvl}>adddmg<-{[[@{Used_DefenseDmgTaken}-@{Used_DefenseDurable}]],[[0]]}kh1]]}} {{NPC=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move_atkoff}-@{DrunkAtkMod}-@{DistractedAtkMod}]]}} {{drunk=[[@{DrunkAtkMod}]]}} {{fatigued=[[@{FatiguedMod} - @{FatiguedAtkMod}]]}} {{broken=[[@{BrokenMod} - @{BrokenAtkMod}]]}} {{stuned=[[@{StunedMod} - @{StunedAtkMod}]]}} {{distracted=[[@{DistractedMod} - @{DistractedAtkMod}]]}} {{poisoned=[[@{PoisonedMod} - @{PoisonedAtkMod}]]}} {{prone=[[@{ProneMod} - @{ProneAtkMod}]]}} {{fast=[[@{Used_DefenseFast}]]}} {{slow=[[@{Used_DefenseSlow}]]}} {{entangled=[[@{EntangledMod} - @{EntangledAtkMod}]]}} {{blinded=[[@{BlindedMod} - @{BlindedAtkMod}]]}} {{deafened=[[0]]}} {{tiring=[[@{Used_DefenseTiring}]]}} {{penetrating=[[@{Used_DefensePenetrating}]]}} {{pummel=[[@{Used_DefensePummel}]]}} {{hack=[[@{Used_DefenseHack}]]}} {{precise=[[@{Used_DefensePrecise}]]}} {{impact=[[@{Used_DefenseImpact}]]}} {{practical=[[@{Used_DefensePractical}]]}} {{wrap=[[@{Used_DefenseWrap}]]}} {{trip=[[@{Used_DefenseTrip}]]}} {{slash=[[@{Used_DefenseSlash}*@{Used_DefenseSlashRating}]]}} {{distract=[[@{Used_DefenseDistract}]]}} {{undamaging=[[@{Used_DefenseUndamaging}]]}} {{mod1type=[[@{Used_Defense_att_modtype1}]]}} {{mod1=@{Used_Defense_att_mod1}}} {{mod2type=[[@{Used_Defense_att_modtype2}]]}} {{mod2=@{Used_Defense_att_mod2}}} {{mod3type=[[@{Used_Defense_att_modtype3}]]}} {{mod3=@{Used_Defense_att_mod3}}} {{battlerage=[[@{Talent_BattleRageLvl}]]}} {{frenzy=[[@{Talent_FrenzyLvl}*@{MeleeMode_Frenzy}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{bne=[[@{MeleeMode_VsObject}]]}} {{inf=[[@{MeleeMode_Infight}]]}} {{usedmagic=[[@{Used_DefenseMagic}]]}} {{usedmagiceffect=@{Used_DefenseMagicEffect}}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e} '; adddmg = ''; + sitfail = ''; + atype = '^{ATTACK}'; - if (trigger === "meleeattackoff") {rollEnd = ' {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultoff}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeAttackOff)}} {{RTdualwield=@{RT-dualwieldmain}}} {{dualwield=[[@{Talent_DualWielderLvl}]]}}'; - rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_DualWielderLvl}>addsldf<'); + if (trigger === "meleeattackoff") {rollEnd = ' {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultoff}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeAttackOff)}}'; + rollPart2 = roll.replaceAll('>addsl<', '>addsldf<'); rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atkoff}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_DefenseWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_DefenseBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); } - if (trigger === "dualwieldoff") {rollEnd = ' {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultoff}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{dualwield=[[@{Talent_DualWielderLvl}]]}} {{dwuse}}'; - rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_DualWielderLvl}>addsldf<'); + + if (trigger === "dualwieldoff") {rollEnd = ' {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}} {{berserkcharge=[[0]]}} {{RTfuriousassault=@{RT-furiousassaultoff}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{dwuse}}'; + rollPart2 = roll.replaceAll('>addsl<', '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})>addsldf<'); if (lastcrit > 0) { rollPart3 = rollPart2.replaceAll('>test<', '?{Use Crit Result|Yes, ' + `${lastcrit}` + '|No, ' + `${rollrev}` + '}'); } else { rollPart3 = rollPart2.replaceAll('>test<', `${rollrev}`); } - rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atkoff}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_DefenseWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_DefenseBonus}} [MOD] + [[@{Advantage}*10]] [ADV] ');} - if (trigger === "meleechargeoff") {rollEnd = ' {{charge=true}} {{berserkcharge=[[@{Talent_BerserkChargeLvl}]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeChargeOff)}} {{RTdualwield=@{RT-dualwieldmain}}} {{dualwield=[[@{Talent_DualWielderLvl}]]}}'; + rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atkoff}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_DefenseWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_DefenseBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); + atype = '^{DUAL-WIELD-OH}'; + } + + if (trigger === "meleechargeoff") {rollEnd = ' {{charge=true}} {{berserkcharge=[[@{Talent_BerserkChargeLvl}]]}} {{RTfuriousassault=@{RT-furiousassaultmain}}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}MeleeChargeOff)}}'; rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_BerserkChargeLvl}>addsldf<'); rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atkoff}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_DefenseWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_DefenseBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); @@ -47687,13 +49021,20 @@ setAttrs({ "Advantageinput": Advadd }, {silent: true}); + atype = '^{CHARGE}'; } - if (trigger === "furiousassaultoff") {rollEnd = ' {{berserkcharge=[[0]]}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}FuriousAssaultOff)}} {{RTdualwield=@{RT-dualwieldmain}}} {{dualwield=[[@{Talent_DualWielderLvl}]]}}'; + + if (trigger === "furiousassaultoff") {rollEnd = ' {{berserkcharge=[[0]]}} {{furiousassault=[[@{Talent_FuriousAssaultLvl}]]}} {{reroll=@{RT-reroll}FuriousAssaultOff)}}'; rollPart2 = roll.replaceAll('>addsl<', '+@{Talent_FuriousAssaultLvl}>addsldf<'); rollPart3 = rollPart2.replaceAll('>test<', '@{roll_rule}'); rollPart4 = rollPart3.replaceAll('>target<', ' [[@{condgen_see_move_atkoff}*-1]] [COND] + [[>ambi<]] [PEN] + [[@{Used_DefenseWeaponSkill}]] [SKILL] + ?{Opposed Attack Modifier|@{Used_DefenseBonus}} [MOD] + [[@{Advantage}*10]] [ADV] '); + atype = '^{FURIOUS-ASSAULT}'; } + if (values.MeleeMode_Charging == 1) { + atype = '^{CHARGE}'; + } + var regex = /BRAWL/g; if (values.Used_DefenseWeaponSkill.match(regex)) {brawl = 1; rollBrawl = ' {{dirtyfighting=[[@{Talent_DirtyFightingLvl}]]}}'; @@ -47705,10 +49046,12 @@ battlefrenzy = values.Talent_BattleRageLvl*(values.Talent_FrenzyLvl*values.MeleeMode_Frenzy); if (battlefrenzy > 0) {addsldf += '+@{Talent_BattleRageLvl}';} - if (values.MeleeMode_BNE == 1) {rollPart4 += " {{breakenter=[[@{Talent_BreakandEnterLvl}]]}}";addsldf += '+@{Talent_BreakandEnterLvl}'; adddmg += '+@{Talent_BreakandEnterLvl}';} + if (values.MeleeMode_VsObject == 1) {rollPart4 += " {{breakenter=[[@{Talent_BreakandEnterLvl}]]}}";addsldf += '+@{Talent_BreakandEnterLvl}'; adddmg += '+@{Talent_BreakandEnterLvl}';} if (values.MeleeMode_Infight == 1) {rollPart4 += " {{infight=[[@{Talent_InFighterLvl}]]}}"; addsldf += '+@{Talent_InFighterLvl}';} if (values.MeleeMode_Drilled == 1) {rollPart4 += " {{drilled=[[@{Talent_DrilledLvl}]]}}"; addsldf += '+@{Talent_DrilledLvl}';} if (values.MeleeMode_STS == 1) {rollPart4 += " {{striketostun=[[@{Talent_StriketoStunLvl}]]}}"; addsldf += '+@{Talent_StriketoStunLvl}';} + if (values.MeleeMode_Underminer == 1) {rollPart4 += " {{underminer=[[@{Talent_UnderminerLvl}]]}}"; addsldf += '+@{Talent_UnderminerLvl}';} + if (values.MeleeMode_DualWield == 1) {rollPart4 += " {{dualwield=[[@{Talent_DualWielderLvl}-@{Used_MeleeTwohanded}]]}} {{RTdualwield=@{RT-dualwieldmain}}}"; addsldf += '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; sitfail = '+(@{Talent_DualWielderLvl}-@{Used_MeleeTwoHanded})'; atype = '^{DUAL-WIELD-OH}';} if (values.GroupAdv == 1) {rollPart4 += " {{grpadv=[[@{GroupAdv}]]}}";} if (values.CritTable == 1) {rollPart4 += " {{crittable=[[@{CritTable}]]}}";} @@ -47718,7 +49061,7 @@ if (values.MeleeMode_Aimed == 1) {hitloc = "{{hitlocation=[[?{Choose a Hit Location|Head,1|Right Arm,2|Left Arm,3|Body,4|Right Leg,5|Left Leg,6}]]}}"; rollPart4 += " {{aimed=[[@{MeleeMode_Aimed}]]}}";} else {hitloc = "{{hitlocation=true}}";} } - let rollPart = rollPart4.replaceAll('>ambi<', ambipen).replaceAll('>addsldf<', addsldf).replaceAll('>adddmg<', adddmg).replaceAll('>hitloc<', hitloc); + let rollPart = rollPart4.replaceAll('>ambi<', ambipen).replaceAll('>addsldf<', addsldf).replaceAll('>adddmg<', adddmg).replaceAll('>hitloc<', hitloc).replaceAll('>sitfail<', sitfail).replaceAll('>atype<', atype); console.log(rollPart); console.log(rollEnd); @@ -47738,12 +49081,12 @@ const slbonus = results.results.slbonus.result const SLmod = results.results.SLmod.result const slbonusatk = results.results.slbonusatk.result - if (trigger == "dualwieldoff") {dualwield = results.results.dualwield.result} else {dualwield = 0} - if (values.MeleeMode_BNE == 1) {breakenter = results.results.breakenter.result} else {breakenter = 0;} + if (values.MeleeMode_DualWield == 1) {dualwield = results.results.dualwield.result} else {if (trigger === "dualwieldoff") {dualwield = results.results.dualwield.result} else {dualwield = 0}} + if (values.MeleeMode_VsObject == 1) {breakenter = results.results.breakenter.result} else {breakenter = 0;} if (values.MeleeMode_Infight == 1) {infight = results.results.infight.result} else {infight = 0;} if (values.MeleeMode_Drilled == 1) {drilled = results.results.drilled.result} else {drilled = 0;} if (values.MeleeMode_STS == 1) {striketostun = results.results.striketostun.result} else {striketostun = 0;} - + if (values.MeleeMode_Underminer == 1) {underminer = results.results.underminer.result} else {underminer = 0;} const computed = (Math.floor(target / 10) - Math.floor(test / 10)) ; const computed2 = (((test-1)%10)+1) ; console.log("Atk Offhand"); @@ -47802,13 +49145,13 @@ } else {output = ""; cscount = 0;} - if (breakenter > 0) {if (values.MeleeMode_BNE == 1) {bneadd = breakenter;} else {bneadd = 0;}} else {bneadd = 0;} + if (breakenter > 0) {if (values.MeleeMode_VsObject == 1) {bneadd = breakenter;} else {bneadd = 0;}} else {bneadd = 0;} if (values.MeleeMode_Infight > 0) {if (values.MeleeMode_Infight == 1) {infadd = infight;} else {infadd = 0;}} else {infadd = 0;} if (values.MeleeMode_Charging == 1) {setAttrs({ "Used_MeleeBonus": values.Used_MeleeBonus - 10, - "Used_MeleeBonus": values.Used_DefenseBonus - 10 - }, {silent: true});} + "Used_DefenseBonus": values.Used_DefenseBonus - 10 + }, {silent: true}); } if (values.MeleeMode_STS == 0) { if (values.MeleeMode_Aimed == 1) {setAttrs({ @@ -47817,37 +49160,24 @@ }, {silent: true});} } setAttrs({ - "LastRollMain": test, + "LastRollOff": test, "LastCritRoll": 0, - "MeleeMode_BNE": 0, + "MeleeMode_VsObject": 0, + "MeleeMode_WoD": 0, "MeleeMode_Disarm": 0, + "MeleeMode_Frenzy": 0, "MeleeMode_Feint": 0, "MeleeMode_Charging": 0, + "MeleeMode_DualWield": 0, + "DefenseMode_Defensive": 0, "MeleeMode_Aimed": 0, "MeleeMode_STS": 0, + "MeleeMode_Beat": 0, "LastUnitDieMain": computed2 }, {silent: true}); - - getSectionIDs("repeating_melee", function (ids) { - ids.forEach(id => { - const output = {}; - const output2 = {}; - getAttrs([`repeating_melee_${id}_MeleeBonus`, `repeating_melee_${id}_UsedWeapon`, `repeating_melee_${id}_MeleeBonus`, `repeating_melee_${id}_UsedDefense`], function(t) { - if(t[`repeating_melee_${id}_UsedWeapon`] == 1) - { - output[`repeating_melee_${id}_MeleeBonus`] = melmod, setAttrs(output, {silent: false}) - - } - if(t[`repeating_melee_${id}_UsedDefense`] == 1) - { - output2[`repeating_melee_${id}_MeleeBonus`] = melmod, setAttrs(output2, {silent: false}) - - } - }); - }); - }); - if ( test <= target ) { var computed3 = computed + drilled + furiousassault + infadd + bneadd + dirtyfighting + striketostun + bfrenzy + precise + dualwield + SLmod ;} else { var computed3 = computed + practical + SLmod ;} + + if ( test <= target ) { var computed3 = computed + drilled + furiousassault + infadd + bneadd + dirtyfighting + striketostun + bfrenzy + precise + dualwield + underminer + SLmod ;} else { var computed3 = computed + practical + SLmod ;} if ( test <= target ) { var computed4 = slbonusatk - practical ;} else { var computed4 = practical ;} if ( test <= target ) { var computed5 = slbonusatk - practical + SLmod ;} else { var computed5 = practical + SLmod ;} @@ -47876,7 +49206,7 @@ on('clicked:meleeopposedoff', (eventInfo) => { if (eventInfo.sourceType === 'sheetworker') return; - getAttrs(["Used_DefenseWeaponSkill","Used_DefenseDefensive","Talent_AmbidextrousLvl","Used_MeleeTwohanded", "Talent_BattleRageLvl", "Talent_FrenzyLvl", "MeleeMode_Frenzy", "MeleeMode_Infight", "MeleeMode_Drilled", "MeleeSizeMod", "GroupAdv"], function(values) { + getAttrs(["Used_DefenseWeaponSkill","Used_DefenseDefensive","Talent_AmbidextrousLvl","Used_MeleeTwohanded", "Talent_BattleRageLvl", "MeleeMode_Underminer", "MeleeMode_Frenzy", "MeleeMode_Frenzy", "MeleeMode_Infight", "MeleeMode_Drilled", "MeleeSizeMod", "GroupAdv"], function(values) { console.log(values.Talent_AmbidextrousLvl); @@ -47905,6 +49235,7 @@ battlefrenzy = values.Talent_BattleRageLvl*(values.Talent_FrenzyLvl*values.MeleeMode_Frenzy); if (battlefrenzy > 0) {addsl += '+@{Talent_BattleRageLvl}';} + if (values.MeleeMode_Underminer == 1) {roll += " {{underminer=[[@{Talent_UnderminerLvl}]]}}"; addsldf += '+@{Talent_UnderminerLvl}';} if (values.MeleeMode_Infight == 1) {roll += " {{infight=[[@{Talent_InFighterLvl}]]}}"; addsl += '+@{Talent_InFighterLvl}';} if (values.MeleeMode_Drilled == 1) {roll += " {{drilled=[[@{Talent_DrilledLvl}]]}}"; addsl += '+@{Talent_DrilledLvl}';} if (values.GroupAdv == 1) {roll += " {{grpadv=[[@{GroupAdv}]]}}";} @@ -47942,6 +49273,7 @@ if (values.MeleeMode_Infight == 1) {infight = results.results.infight.result} else {infight = 0;} if (infight > 0) {if (values.MeleeMode_Infight == 1) {infadd = infight;} else {infadd = 0;}} else {infadd = 0;} if (values.MeleeMode_Drilled == 1) {drilled = results.results.drilled.result} else {drilled = 0;} + if (values.MeleeMode_Underminer == 1) {underminer = results.results.underminer.result} else {underminer = 0;} bfrenzy = battlerage * frenzy; @@ -47972,7 +49304,7 @@ on('clicked:ripostedmgoff clicked:shieldbash', (eventInfo) => { getAttrs(["LastUnitDieOff","LastRollOff"], function(v) { - let roll = '{{ripostedmg}} {{lastunitdie=@{LastUnitDieOff}}} {{test=[[@{LastRollOff}]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{title=^>type<}} {{character_name=@{character_name}}}{{unconscious=[[@{UnconsciousMod}]]}} {{attacktype=^{DAMAGE}}} {{attacktest=true}} {{rolltype=[[@{Used_DefenseImpale}]]}} {{qualities=@{Used_DefenseQualities}}} {{showdmg=[[1]]}} {{hitlocation=true}} {{damage=[[@{Used_DefenseStrengthBonus}+@{Used_DefenseDamageBonus}+@{Talent_StrikeMightyBlowLvl}-{[[@{Used_DefenseDmgTaken}-@{Used_DefenseDurable}]],[[0]]}kh1]]}} {{damaging=[[@{Used_DefenseDamaging}]]}} {{mod1type=[[@{Used_Defense_modtype1}]]}} {{mod1=@{Used_Defense_mod1}}} {{mod2type=[[@{Used_Defense_modtype2}]]}} {{mod2=@{Used_Defense_mod2}}} {{mod3type=[[@{Used_Defense_modtype3}]]}} {{mod3=@{Used_Defense_mod3}}} {{NPC=[[0]]}} {{hack=[[@{Used_DefenseHack}]]}} {{defensive=[[@{DefensiveTotal}]]}} {{impact=[[@{Used_DefenseImpact}]]}} {{penetrating=[[@{Used_DefensePenetrating}]]}} {{pummel=[[@{Used_DefensePummel}]]}} {{undamaging=[[@{Used_DefenseUndamaging}]]}} {{tiring=[[@{Used_DefenseTiring}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{usedmagic=[[@{Used_DefenseMagic}]]}} {{usedmagiceffect=@{Used_DefenseMagicEffect}}}'; + let roll = '{{ripostedmg}} {{lastunitdie=@{LastUnitDieOff}}} {{test=[[@{LastRollOff}]]}} {{csloc=[[0>csloc<]]}} {{cscount=[[0>cscount<]]}} {{title=^>type<}} {{character_name=@{character_name}}}{{unconscious=[[@{UnconsciousMod}]]}} {{attacktype=^{DAMAGE}}} {{attacktest=true}} {{rolltype=[[@{Used_DefenseImpale}]]}} {{qualities=@{Used_DefenseQualities}}} {{showdmg=[[1]]}} {{hitlocation=true}} {{damage=[[@{Used_DefenseStrengthBonus}+@{Used_DefenseDamageBonus}+@{Talent_StrikeMightyBlowLvl}-{[[@{Used_DefenseDmgTaken}-@{Used_DefenseDurable}]],[[0]]}kh1]]}} {{damaging=[[@{Used_DefenseDamaging}]]}} {{mod1type=[[@{Used_Defense_modtype1}]]}} {{mod1=@{Used_Defense_mod1}}} {{mod2type=[[@{Used_Defense_modtype2}]]}} {{mod2=@{Used_Defense_mod2}}} {{mod3type=[[@{Used_Defense_modtype3}]]}} {{mod3=@{Used_Defense_mod3}}} {{NPC=[[0]]}} {{hack=[[@{Used_DefenseHack}]]}} {{defensive=[[@{DefensiveTotal}]]}} {{impact=[[@{Used_DefenseImpact}]]}} {{penetrating=[[@{Used_DefensePenetrating}]]}} {{pummel=[[@{Used_DefensePummel}]]}} {{undamaging=[[@{Used_DefenseUndamaging}]]}} {{tiring=[[@{Used_DefenseTiring}]]}} {{carefulstrike=[[@{Talent_CarefulStrikeLvl}]]}} {{usedmagic=[[@{Used_DefenseMagic}]]}} {{usedmagiceffect=@{Used_DefenseMagicEffect}}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -48056,7 +49388,7 @@ on('clicked:rangedatk clicked:rangedatkreroll', (eventInfo) => { getAttrs(["Used_RangedAmmo","AutoAmmo","RangedMode_Engaged","RangedMode_Moved","Used_RangedBonus","RangedMode_Aim","RangedMode_Range", "RangedMode_Called", "RangedMode_Size", "GroupAdv", "Used_RangedAccurate", "Talent_DeadeyeShotLvl"], function(v) { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_RangedPrecise}+@{Used_RangedPractical}-@{Used_RangedImprecise}+@{RangedMode_FastShot} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusRgd}+@{RangedMode_FastShot}]]}} {{sladd=[[0]]}} {{test=[[@{roll_rule}]]}} {{rangedeng=[[@{RangedMode_Engaged}]]}} {{rangedsize=[[>size<]]}} {{modvalue=[[?{Ranged Attack Modifier|@{Used_RangedBonus}}]]}} {{ammo=[[@{Used_RangedAmmo}]]}} {{title=@{Used_RangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{RANGED}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Used_RangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Ranged Attack Modifier|0} [MOD] ]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_RangedDamaging}]]}} {{reach=@{Used_WeaponRange}}} {{rolltype=[[@{Used_RangedImpale}]]}} {{pummel=[[@{Used_RangedPummel}]]}} {{qualities=@{Used_RangedQualities}}} {{damage=[[@{Used_RangedStrengthBonus}+@{Used_RangedDamage}+@{Talent_AccurateShotLvl}-{[[@{Used_RangedDmgTaken}-@{Used_RangedDurable}]],[[0]]}kh1]]}} {{ammotype=@{Used_RangedAmmoType}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_Ranged_modtype1}]]}} {{mod1=@{Used_Ranged_mod1}}} {{mod2type=[[@{Used_Ranged_modtype2}]]}} {{mod2=@{Used_Ranged_mod2}}} {{mod3type=[[@{Used_Ranged_modtype3}]]}} {{mod3=@{Used_Ranged_mod3}}} {{NPC=[[0]]}} {{reroll=@{RT-reroll}RangedAtkreroll)}} {{sitmod=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{precise=[[@{Used_RangedPrecise}]]}} {{imprecise=[[@{Used_RangedImprecise}]]}} {{blast=[[@{Used_RangedBlast}*@{Used_RangedBlastRating}]]}} {{repeater=[[@{Used_RangedRepeater}*@{Used_RangedRepeaterRating}]]}} {{entangle=[[@{Used_RangedEntangle}]]}} {{penetrating=[[@{Used_RangedPenetrating}]]}} {{tiring=[[0]]}} {{blackpowder=[[@{Used_RangedBlackpowder}]]}} {{practical=[[@{Used_RangedPractical}]]}} {{accurate=[[@{Used_RangedAccurate}*10]]}} {{hack=[[@{Used_RangedHack}]]}} {{dangerous=[[@{Used_RangedDangerous}]]}} {{impact=[[@{Used_RangedImpact}]]}} {{deadeyeshot=[[@{Talent_DeadeyeShotLvl}]]}} {{fastshot=[[@{RangedMode_FastShot}]]}} {{autoammo=[[@{AutoAmmo}]]}} {{sniper=[[@{Talent_SniperLvl}]]}} {{targetrange=[[@{RangedMode_Range}]]}} {{sureshot=[[@{Talent_SureShotLvl}]]}} {{usedmagic=[[@{Used_RangedMagic}]]}} {{usedmagiceffect=@{Used_RangedMagicEffect}}} {{warpstone=[[@{Used_RangedWarpstone}]]}} {{zzap=[[@{Used_RangedZZAP}]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Used_RangedPrecise}+@{Used_RangedPractical}-@{Used_RangedImprecise}+@{RangedMode_FastShot} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusRgd}+@{RangedMode_FastShot}]]}} {{sladd=[[0]]}} {{test=[[@{roll_rule}]]}} {{rangedeng=[[@{RangedMode_Engaged}]]}} {{rangedsize=[[>size<]]}} {{modvalue=[[?{Ranged Attack Modifier|@{Used_RangedBonus}}]]}} {{ammo=[[@{Used_RangedAmmo}]]}} {{title=@{Used_RangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{RANGED}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Used_RangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Ranged Attack Modifier|0} [MOD] ]]}} {{attacktest=true}} {{showdmg=[[1]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} >hitloc< {{damaging=[[@{Used_RangedDamaging}]]}} {{reach=@{Used_WeaponRange}}} {{rolltype=[[@{Used_RangedImpale}]]}} {{pummel=[[@{Used_RangedPummel}]]}} {{qualities=@{Used_RangedQualities}}} {{damage=[[@{Used_RangedStrengthBonus}+@{Used_RangedDamage}+@{Talent_AccurateShotLvl}-{[[@{Used_RangedDmgTaken}-@{Used_RangedDurable}]],[[0]]}kh1]]}} {{ammotype=@{Used_RangedAmmoType}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{mod1type=[[@{Used_Ranged_modtype1}]]}} {{mod1=@{Used_Ranged_mod1}}} {{mod2type=[[@{Used_Ranged_modtype2}]]}} {{mod2=@{Used_Ranged_mod2}}} {{mod3type=[[@{Used_Ranged_modtype3}]]}} {{mod3=@{Used_Ranged_mod3}}} {{NPC=[[0]]}} {{reroll=@{RT-reroll}RangedAtkreroll)}} {{sitmod=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTfumble=@{RT-fumble}}} {{precise=[[@{Used_RangedPrecise}]]}} {{imprecise=[[@{Used_RangedImprecise}]]}} {{blast=[[@{Used_RangedBlast}*@{Used_RangedBlastRating}]]}} {{repeater=[[@{Used_RangedRepeater}*@{Used_RangedRepeaterRating}]]}} {{entangle=[[@{Used_RangedEntangle}]]}} {{penetrating=[[@{Used_RangedPenetrating}]]}} {{tiring=[[0]]}} {{blackpowder=[[@{Used_RangedBlackpowder}]]}} {{practical=[[@{Used_RangedPractical}]]}} {{accurate=[[@{Used_RangedAccurate}*10]]}} {{hack=[[@{Used_RangedHack}]]}} {{dangerous=[[@{Used_RangedDangerous}]]}} {{impact=[[@{Used_RangedImpact}]]}} {{deadeyeshot=[[@{Talent_DeadeyeShotLvl}]]}} {{fastshot=[[@{RangedMode_FastShot}]]}} {{autoammo=[[@{AutoAmmo}]]}} {{sniper=[[@{Talent_SniperLvl}]]}} {{targetrange=[[@{RangedMode_Range}]]}} {{sureshot=[[@{Talent_SureShotLvl}]]}} {{usedmagic=[[@{Used_RangedMagic}]]}} {{usedmagiceffect=@{Used_RangedMagicEffect}}} {{warpstone=[[@{Used_RangedWarpstone}]]}} {{zzap=[[@{Used_RangedZZAP}]]}} {{RTpummel=@{RT-pummel}}} {{demolisher=[[@{Talent_Demolisherlvl}]]}} {{dragonbelcher=[[@{Talent_DragonBelcherlvl}]]}} {{shortfuse=[[@{Talent_ShortFuselvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -48181,7 +49513,7 @@ on('clicked:rangedweaponrld', (eventInfo) => { getAttrs(["initiative_houserule", "GroupAdv", "Talent_GunnerLvl", "Talent_RapidReloadLvl"], function(v) { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_GunnerLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{Talent_GunnerLvl}]]}} {{sladd=[[0]]}} {{test=[[@{roll_rule}]]}} {{modvalue=[[?{Reload Roll Modifier|@{Used_RangedBonus}}]]}} {{title=@{Used_RangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{RELOAD}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Used_RangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Reload Roll Modifier|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} {{hitlocation=true}} {{ammo=[[@{Used_RangedAmmo}]]}} {{ammotype=@{Used_RangedAmmoType}}} {{reach=@{Used_WeaponRange}}} {{qualities=@{Used_RangedQualities}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{NPC=[[0]]}} {{reroll=@{RT-reroll}RangedWeaponRld)}} {{reload=[[1]]}} {{reloadrating=[[@{Used_RangedReloadRatingInput}*@{Used_RangedReload}]]}} {{gunner=[[@{Talent_GunnerLvl}]]}} {{rapidreload=[[@{Talent_RapidReloadLvl}]]}} {{assess=[[@{Talent_GunnerLvl}+@{Talent_RapidReloadLvl}]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_GunnerLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{Talent_GunnerLvl}]]}} {{sladd=[[0]]}} {{test=[[@{roll_rule}]]}} {{modvalue=[[?{Reload Roll Modifier|@{Used_RangedBonus}}]]}} {{title=@{Used_RangedWeaponName}}} {{advantage=[[@{AdvantageDisplay}]]}} {{character_name=@{character_name}}} {{attacktype=^{RELOAD}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Used_RangedBalisticSkill}]] [SKILL] + [[@{Advantage}*10]] [ADV] +?{Reload Roll Modifier|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0} [SL Mod]]]}} {{hitlocation=true}} {{ammo=[[@{Used_RangedAmmo}]]}} {{ammotype=@{Used_RangedAmmoType}}} {{reach=@{Used_WeaponRange}}} {{qualities=@{Used_RangedQualities}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{NPC=[[0]]}} {{reroll=@{RT-reroll}RangedWeaponRld)}} {{reload=[[1]]}} {{reloadrating=[[@{Used_RangedReloadRatingInput}*@{Used_RangedReload}]]}} {{gunner=[[@{Talent_GunnerLvl}]]}} {{rapidreload=[[@{Talent_RapidReloadLvl}]]}} {{assess=[[@{Talent_GunnerLvl}+@{Talent_RapidReloadLvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -48227,7 +49559,7 @@ if (skill === "spellcastq") {qspell = 1; skill = "spellcast";} else if (skill === "spellcastdmgq") {qspell = 1; skill = "spellcastdmg";} else {qspell = 0;} - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_InstinctiveDictionLvl}+@{Talent_PerfectPitchLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusCast}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|>MOD<}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{advantage=[[@{Advantage}*10*@{Advantage_casting}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{spelltype=^{PETTY-SPELL}}} {{spellrange=Range: @{prefix2-_spellrange}}} {{spelltarget=Targets: @{prefix2-_spelltarget}}} {{spellduration=Duration: @{prefix2-_spellduration}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + [[{@{LangMagick}}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] + [[@{Advantage}*10*@{Advantage_casting}]] [ADV] ]]}} {{spelldescription=@{prefix2-_spelldescription}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{arcanetest=true}} {{rolltype=[[6]]}} {{mod1type=[[@{prefix2-_PettySpell_modtype1}]]}} {{mod1=@{prefix2-_PettySpell_mod1}}} {{mod2type=[[@{prefix2-_PettySpell_modtype2}]]}} {{mod2=@{prefix2-_PettySpell_mod2}}} {{mod3type=[[@{prefix2-_PettySpell_modtype3}]]}} {{mod3=@{prefix2-_PettySpell_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{reroll=@{RT-reroll}prefix2-_spellcast)}} {{sptal2=[[0+@{Talent_InstinctiveDictionLvl}]]}} {{sptal3=[[@{Talent_PerfectPitchLvl}]]}} {{sptal23=[[@{Talent_InstinctiveandPitch}]]}} {{testoutcome=[[0]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_InstinctiveDictionLvl}+@{Talent_PerfectPitchLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusCast}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|>MOD<}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{advantage=[[@{Advantage}*10*@{Advantage_casting}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{spelltype=^{PETTY-SPELL}}} {{spellrange=Range: @{prefix2-_spellrange}}} {{spelltarget=Targets: @{prefix2-_spelltarget}}} {{spellduration=Duration: @{prefix2-_spellduration}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + [[{@{LangMagick}}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] + [[@{Advantage}*10*@{Advantage_casting}]] [ADV] ]]}} {{spelldescription=@{prefix2-_spelldescription}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{arcanetest=true}} {{rolltype=[[6]]}} {{mod1type=[[@{prefix2-_PettySpell_modtype1}]]}} {{mod1=@{prefix2-_PettySpell_mod1}}} {{mod2type=[[@{prefix2-_PettySpell_modtype2}]]}} {{mod2=@{prefix2-_PettySpell_mod2}}} {{mod3type=[[@{prefix2-_PettySpell_modtype3}]]}} {{mod3=@{prefix2-_PettySpell_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{reroll=@{RT-reroll}prefix2-_spellcast)}} {{sptal2=[[0+@{Talent_InstinctiveDictionLvl}]]}} {{sptal3=[[@{Talent_PerfectPitchLvl}]]}} {{sptal23=[[@{Talent_InstinctiveandPitch}]]}} {{testoutcome=[[0]]}}'; if (skill === "spellcast") {rollDmgPart = ''; if (qspell > 0) {prefix = eventInfo.triggerName.slice(8, -11);} else {prefix = eventInfo.triggerName.slice(8, -10);}} @@ -48325,7 +49657,7 @@ if (qspell === 1) {prefix = eventInfo.triggerName.slice(8, -11);} else if (qspell === 2) {prefix = eventInfo.triggerName.slice(8, -14);} - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_InstinctiveDictionLvl}+@{Talent_PerfectPitchLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusCast}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|>MOD<}]]}} {{accuchanexlsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{advantage=[[@{Advantage}*10*@{Advantage_casting}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{spelltype=^{ARCANE-SPELL}}} {{spellrange=Range: @{prefix2-_spellrange}}} {{spelltarget=Targets: @{prefix2-_spelltarget}}} {{spellduration=Duration: @{prefix2-_spellduration}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + [[{@{LangMagick}}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] + [[@{Advantage}*10*@{Advantage_casting}]] [ADV] ]]}} {{spelldescription=@{prefix2-_spelldesc}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{arcanetest=true}} {{rolltype=[[6]]}} {{spellcastingnumber=[[@{prefix2-_spellcastingnumber}-[cnlore]+(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1))]]}} {{mod1type=[[@{prefix2-_ArcaneSpell_modtype1}]]}} {{mod1=@{prefix2-_ArcaneSpell_mod1}}} {{mod2type=[[@{prefix2-_ArcaneSpell_modtype2}]]}} {{mod2=@{prefix2-_ArcaneSpell_mod2}}} {{mod3type=[[@{prefix2-_ArcaneSpell_modtype3}]]}} {{mod3=@{prefix2-_ArcaneSpell_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{RTgrim=@{RT-grim}}} {{sptal2=[[@{Talent_InstinctiveDictionLvl}]]}} {{sptal3=[[@{Talent_PerfectPitchLvl}]]}} {{sptal23=[[@{Talent_InstinctiveandPitch}]]}} {{spellmem=[[@{prefix2-_Spellmem}]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{usedenchstaff=[[@{prefix2-_Used_Enchanted_Staff_show}]]}} {{cnsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}-(@{prefix2-_spellcastingnumber}+(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1)))]]}} {{testoutcome=[[0]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_InstinctiveDictionLvl}+@{Talent_PerfectPitchLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusCast}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|>MOD<}]]}} {{accuchanexlsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{advantage=[[@{Advantage}*10*@{Advantage_casting}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{spelltype=^{ARCANE-SPELL}}} {{spellrange=Range: @{prefix2-_spellrange}}} {{spelltarget=Targets: @{prefix2-_spelltarget}}} {{spellduration=Duration: @{prefix2-_spellduration}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + [[{@{LangMagick}}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] + [[@{Advantage}*10*@{Advantage_casting}]] [ADV] ]]}} {{spelldescription=@{prefix2-_spelldesc}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{arcanetest=true}} {{rolltype=[[6]]}} {{spellcastingnumber=[[@{prefix2-_spellcastingnumber}-[cnlore]+(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1))]]}} {{mod1type=[[@{prefix2-_ArcaneSpell_modtype1}]]}} {{mod1=@{prefix2-_ArcaneSpell_mod1}}} {{mod2type=[[@{prefix2-_ArcaneSpell_modtype2}]]}} {{mod2=@{prefix2-_ArcaneSpell_mod2}}} {{mod3type=[[@{prefix2-_ArcaneSpell_modtype3}]]}} {{mod3=@{prefix2-_ArcaneSpell_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{RTgrim=@{RT-grim}}} {{sptal2=[[@{Talent_InstinctiveDictionLvl}]]}} {{sptal3=[[@{Talent_PerfectPitchLvl}]]}} {{sptal23=[[@{Talent_InstinctiveandPitch}]]}} {{spellmem=[[@{prefix2-_Spellmem}]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{usedenchstaff=[[@{prefix2-_Used_Enchanted_Staff_show}]]}} {{cnsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}-(@{prefix2-_spellcastingnumber}+(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1)))]]}} {{testoutcome=[[0]]}}'; if (qspell > 0) {rmod = parseInt(v.Quick_Spell_Mod); } else {rmod = "@{prefix2-_SpellMod}";} @@ -48459,7 +49791,7 @@ on('clicked:repeating_spellbookarcane:extchannellingloreroll', (eventInfo) => { getAttrs(["initiative_houserule"], function(v) { - let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_AethyricAttunementLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusChannel}]]}} {{sladd=[[0]]}} {{modvalue=[[?{Channeling Roll Modifier|@{prefix2-_ChanMod}}]]}} {{title=^{EXTENDED-CHANNELLING-TEST}}} {{skill=^{ADVANCED-SKILL}}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + @{prefix2-_ExtChannellingLore} [SKILL] + ?{Channeling Roll Modifier|0} [MOD] ]]}} {{skilltest=true}} {{accuchanexlsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}}} {{SLmod=[[?{SL Modifier|0}]]]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{rolltype=[[9]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{mod1type=[[@{prefix2-_ExtChannellingLoreRoll_modtype1}]]}} {{mod1=@{prefix2-_ExtChannellingLoreRoll_mod1}}} {{mod2type=[[@{prefix2-_ExtChannellingLoreRoll_modtype2}]]}} {{mod2=@{prefix2-_ExtChannellingLoreRoll_mod2}}} {{mod3type=[[@{prefix2-_ExtChannellingLoreRoll_modtype3}]]}} {{mod3=@{prefix2-_ExtChannellingLoreRoll_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{reroll=@{RT-reroll}prefix2-_extchannellingloreroll)}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{testoutcome=[[0]]}}'; + let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_AethyricAttunementLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusChannel}]]}} {{sladd=[[0]]}} {{modvalue=[[?{Channeling Roll Modifier|@{prefix2-_ChanMod}}]]}} {{title=^{EXTENDED-CHANNELLING-TEST}}} {{skill=^{ADVANCED-SKILL}}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + @{prefix2-_ExtChannellingLore} [SKILL] + ?{Channeling Roll Modifier|0} [MOD] ]]}} {{skilltest=true}} {{accuchanexlsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}}} {{SLmod=[[?{SL Modifier|0}]]]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{rolltype=[[9]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{mod1type=[[@{prefix2-_ExtChannellingLoreRoll_modtype1}]]}} {{mod1=@{prefix2-_ExtChannellingLoreRoll_mod1}}} {{mod2type=[[@{prefix2-_ExtChannellingLoreRoll_modtype2}]]}} {{mod2=@{prefix2-_ExtChannellingLoreRoll_mod2}}} {{mod3type=[[@{prefix2-_ExtChannellingLoreRoll_modtype3}]]}} {{mod3=@{prefix2-_ExtChannellingLoreRoll_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{reroll=@{RT-reroll}prefix2-_extchannellingloreroll)}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{testoutcome=[[0]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = eventInfo.triggerName.slice(8, -23); @@ -48667,7 +49999,7 @@ if (etest === e2test) {cnlore += 1;} if (etest === 14) {cnlore += 1;} - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_InstinctiveDictionLvl}+@{Talent_PerfectPitchLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusCast}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|@{prefix2-_SpellMod}}]]}} {{accuchanexlsl=[[Accu-]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{advantage=[[@{Advantage}*10*@{Advantage_casting}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{spelltype=^{RITUALS}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + [[{@{LangMagick}}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] + [[@{Advantage}*10*@{Advantage_casting}]] [ADV] ]]}} {{consequence=@{prefix2-_ritualcons}}} {{spelldescription=@{prefix2-_spelldesc}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{arcanetest=true}} {{rolltype=[[6]]}} {{spellcastingnumber=[[@{prefix2-_spellcastingnumber}-[cnlore]+(3*(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1)))]]}} {{mod1type=[[@{prefix2-_ArcaneSpell_modtype1}]]}} {{mod1=@{prefix2-_ArcaneSpell_mod1}}} {{mod2type=[[@{prefix2-_ArcaneSpell_modtype2}]]}} {{mod2=@{prefix2-_ArcaneSpell_mod2}}} {{mod3type=[[@{prefix2-_ArcaneSpell_modtype3}]]}} {{mod3=@{prefix2-_ArcaneSpell_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{RTgrim=@{RT-grim}}} {{sptal2=[[@{Talent_InstinctiveDictionLvl}]]}} {{sptal3=[[@{Talent_PerfectPitchLvl}]]}} {{sptal23=[[@{Talent_InstinctiveandPitch}]]}} {{spellmem=[[@{prefix2-_Spellmem}]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{usedenchstaff=[[@{prefix2-_Used_Enchanted_Staff_show}]]}} {{cnsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}-(@{prefix2-_spellcastingnumber}+(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1)))]]}} {{testoutcome=[[0]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_InstinctiveDictionLvl}+@{Talent_PerfectPitchLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusCast}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|@{prefix2-_SpellMod}}]]}} {{accuchanexlsl=[[Accu-]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{advantage=[[@{Advantage}*10*@{Advantage_casting}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{spelltype=^{RITUALS}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + [[{@{LangMagick}}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] + [[@{Advantage}*10*@{Advantage_casting}]] [ADV] ]]}} {{consequence=@{prefix2-_ritualcons}}} {{spelldescription=@{prefix2-_spelldesc}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{arcanetest=true}} {{rolltype=[[6]]}} {{spellcastingnumber=[[@{prefix2-_spellcastingnumber}-[cnlore]+(3*(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1)))]]}} {{mod1type=[[@{prefix2-_ArcaneSpell_modtype1}]]}} {{mod1=@{prefix2-_ArcaneSpell_mod1}}} {{mod2type=[[@{prefix2-_ArcaneSpell_modtype2}]]}} {{mod2=@{prefix2-_ArcaneSpell_mod2}}} {{mod3type=[[@{prefix2-_ArcaneSpell_modtype3}]]}} {{mod3=@{prefix2-_ArcaneSpell_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{RTgrim=@{RT-grim}}} {{sptal2=[[@{Talent_InstinctiveDictionLvl}]]}} {{sptal3=[[@{Talent_PerfectPitchLvl}]]}} {{sptal23=[[@{Talent_InstinctiveandPitch}]]}} {{spellmem=[[@{prefix2-_Spellmem}]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{usedenchstaff=[[@{prefix2-_Used_Enchanted_Staff_show}]]}} {{cnsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}-(@{prefix2-_spellcastingnumber}+(@{prefix2-_spellcastingnumber}*((@{prefix2-_Spellmem}-1)*-1)))]]}} {{testoutcome=[[0]]}}'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -48773,7 +50105,7 @@ on('clicked:repeating_spellbookrituals:extchannellingloreroll', (eventInfo) => { getAttrs(["initiative_houserule"], function(v) { - let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_AethyricAttunementLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusChannel}]]}} {{sladd=[[0]]}} {{modvalue=[[?{Channeling Roll Modifier|@{prefix2-_ChanMod}}]]}} {{title=^{EXTENDED-CHANNELLING-TEST}}} {{skill=^{ADVANCED-SKILL}}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + @{prefix2-_ExtChannellingLore} [SKILL] + ?{Channeling Roll Modifier|0} [MOD] ]]}} {{skilltest=true}} {{accuchanexlsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}]]}} {{ritualsacr=@{prefix2-_ritualsacr}}} {{SLmod=[[?{SL Modifier|0}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{rolltype=[[9]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{mod1type=[[@{prefix2-_ExtChannellingLoreRoll_modtype1}]]}} {{mod1=@{prefix2-_ExtChannellingLoreRoll_mod1}}} {{mod2type=[[@{prefix2-_ExtChannellingLoreRoll_modtype2}]]}} {{mod2=@{prefix2-_ExtChannellingLoreRoll_mod2}}} {{mod3type=[[@{prefix2-_ExtChannellingLoreRoll_modtype3}]]}} {{mod3=@{prefix2-_ExtChannellingLoreRoll_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{reroll=@{RT-reroll}prefix2-_extchannellingloreroll)}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{testoutcome=[[0]]}}'; + let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_AethyricAttunementLvl} [SL TOTAL]]]}} {{slbonusatk=[[@{slbonusChannel}]]}} {{sladd=[[0]]}} {{modvalue=[[?{Channeling Roll Modifier|@{prefix2-_ChanMod}}]]}} {{title=^{EXTENDED-CHANNELLING-TEST}}} {{skill=^{ADVANCED-SKILL}}}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen_see}*-1)]] [COND] + @{prefix2-_ExtChannellingLore} [SKILL] + ?{Channeling Roll Modifier|0} [MOD] ]]}} {{skilltest=true}} {{accuchanexlsl=[[?{Accumulated Extended Channelling SL (Start at 0)|@{prefix2-_spellchannelsl}}]]}} {{ritualsacr=@{prefix2-_ritualsacr}}} {{SLmod=[[?{SL Modifier|0}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{rolltype=[[9]]}} {{lore=[[@{prefix2-_MagicLore}]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{mod1type=[[@{prefix2-_ExtChannellingLoreRoll_modtype1}]]}} {{mod1=@{prefix2-_ExtChannellingLoreRoll_mod1}}} {{mod2type=[[@{prefix2-_ExtChannellingLoreRoll_modtype2}]]}} {{mod2=@{prefix2-_ExtChannellingLoreRoll_mod2}}} {{mod3type=[[@{prefix2-_ExtChannellingLoreRoll_modtype3}]]}} {{mod3=@{prefix2-_ExtChannellingLoreRoll_mod3}}} {{NPC=[[0]]}} {{RTminor=@{RT-minor}}} {{RTmajor=@{RT-major}}} {{reroll=@{RT-reroll}prefix2-_extchannellingloreroll)}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{testoutcome=[[0]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = eventInfo.triggerName.slice(8, -23); @@ -48942,7 +50274,7 @@ on('clicked:repeating_divineblessings:bless', (eventInfo) => { getAttrs(["initiative_houserule", "Besmirched"], function(v) { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{sladd=[[0]]}} {{slbonusatk=[[0]]}} {{modvalue=[[?{@{translation_modifier}|@{prefix2-_BlessMod}}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[0]]}} {{stuned=[[0]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{sin=[[@{Sin}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{spelltype=^{PRAYER}}} {{spellrange=Range: @{prefix2-_blessingrange}}} {{spelltarget=Targets: @{prefix2-_blessingtarget}}} {{spellduration=Duration: @{prefix2-_blessingduration}}} {{target=[[ [[(@{condgen}-@{DrunkMod}-@{DistractedMod})*-1]] [COND] + [[{@{PrayChar}+@{PrayAdv}+@{PrayMisc}}]] [SKILL] + ?{@{translation_modifier}|@{prefix2-_BlessMod}} [MOD] ]]}} {{spelldescription=@{prefix2-_blessingdesc}}} {{test=[[@{roll_rule}]]}} {{rolltype=[[7]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{praytest=true}} {{mod1type=[[@{prefix2-_BlessingSpell_modtype1}]]}} {{mod1=@{prefix2-_BlessingSpell_mod1}}} {{mod2type=[[@{prefix2-_BlessingSpell_modtype2}]]}} {{mod2=@{prefix2-_BlessingSpell_mod2}}} {{mod3type=[[@{prefix2-_BlessingSpell_modtype3}]]}} {{mod3=@{prefix2-_BlessingSpell_mod3}}} {{NPC=[[0]]}} {{RTwrath=@{RT-wrath}}} {{reroll=@{RT-reroll}bless)}} {{testoutcome=[[0]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{sladd=[[0]]}} {{slbonusatk=[[0]]}} {{modvalue=[[?{@{translation_modifier}|@{prefix2-_BlessMod}}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen}-@{DrunkMod}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[0]]}} {{stuned=[[0]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{sin=[[@{Sin}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{spelltype=^{PRAYER}}} {{spellrange=Range: @{prefix2-_blessingrange}}} {{spelltarget=Targets: @{prefix2-_blessingtarget}}} {{spellduration=Duration: @{prefix2-_blessingduration}}} {{target=[[ [[(@{condgen}-@{DrunkMod})*-1]] [COND] + [[{@{PrayChar}+@{PrayAdv}+@{PrayMisc}}]] [SKILL] + ?{@{translation_modifier}|@{prefix2-_BlessMod}} [MOD] ]]}} {{spelldescription=@{prefix2-_blessingdesc}}} {{test=[[@{roll_rule}]]}} {{rolltype=[[7]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{praytest=true}} {{mod1type=[[@{prefix2-_BlessingSpell_modtype1}]]}} {{mod1=@{prefix2-_BlessingSpell_mod1}}} {{mod2type=[[@{prefix2-_BlessingSpell_modtype2}]]}} {{mod2=@{prefix2-_BlessingSpell_mod2}}} {{mod3type=[[@{prefix2-_BlessingSpell_modtype3}]]}} {{mod3=@{prefix2-_BlessingSpell_mod3}}} {{NPC=[[0]]}} {{RTwrath=@{RT-wrath}}} {{reroll=@{RT-reroll}bless)}} {{testoutcome=[[0]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = eventInfo.triggerName.slice(8, -6); @@ -48993,7 +50325,7 @@ on('clicked:repeating_divinemiracles:miracle clicked:repeating_divinemiracles:miracledmg clicked:repeating_divinemiracles:miracleq clicked:repeating_divinemiracles:miracledmgq', (eventInfo) => { getAttrs(["initiative_houserule", "Quick_Pray_Mod", "Besmirched"], function(v) { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{slbonusatk=[[0]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|>MOD<}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[0]]}} {{stuned=[[0]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{sin=[[@{Sin}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{spelltype=^{PRAYER}}} {{spellrange=Range: @{prefix2-_miraclerange}}} {{spelltarget=Targets: @{prefix2-_miracletarget}}} {{spellduration=Duration: @{prefix2-_miracleduration}}} {{target=[[ [[(@{condgen}-@{DrunkMod}-@{DistractedMod})*-1]] [COND] + [[@{PrayChar}+@{PrayAdv}+@{PrayMisc}]] [SKILL] + ?{@{translation_modifier}|@{prefix2-_MiracleMod}} [MOD] ]]}} {{spelldescription=@{prefix2-_miracledesc}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{praytest=true}} {{rolltype=[[8]]}} {{mod1type=[[@{prefix2-_MiracleSpell_modtype1}]]}} {{mod1=@{prefix2-_MiracleSpell_mod1}}} {{mod2type=[[@{prefix2-_MiracleSpell_modtype2}]]}} {{mod2=@{prefix2-_MiracleSpell_mod2}}} {{mod3type=[[@{prefix2-_MiracleSpell_modtype3}]]}} {{mod3=@{prefix2-_MiracleSpell_mod3}}} {{NPC=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTwrath=@{RT-wrath}}} {{reroll=@{RT-reroll}prefix2-_miracledmg)}} {{testoutcome=[[0]]}}'; + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{slbonusatk=[[0]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|>MOD<}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen}-@{DrunkMod}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[0]]}} {{stuned=[[0]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{sin=[[@{Sin}]]}} {{title=@{prefix2-_spellname}}} {{character_name=@{character_name}}} {{spelltype=^{PRAYER}}} {{spellrange=Range: @{prefix2-_miraclerange}}} {{spelltarget=Targets: @{prefix2-_miracletarget}}} {{spellduration=Duration: @{prefix2-_miracleduration}}} {{target=[[ [[(@{condgen}-@{DrunkMod})*-1]] [COND] + [[@{PrayChar}+@{PrayAdv}+@{PrayMisc}]] [SKILL] + ?{@{translation_modifier}|@{prefix2-_MiracleMod}} [MOD] ]]}} {{spelldescription=@{prefix2-_miracledesc}}} {{test=[[@{roll_rule}]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{spelltest=[[1d10]]}} {{praytest=true}} {{rolltype=[[8]]}} {{mod1type=[[@{prefix2-_MiracleSpell_modtype1}]]}} {{mod1=@{prefix2-_MiracleSpell_mod1}}} {{mod2type=[[@{prefix2-_MiracleSpell_modtype2}]]}} {{mod2=@{prefix2-_MiracleSpell_mod2}}} {{mod3type=[[@{prefix2-_MiracleSpell_modtype3}]]}} {{mod3=@{prefix2-_MiracleSpell_mod3}}} {{NPC=[[0]]}} {{RTcrit=@{RT-critical}}} {{RTwrath=@{RT-wrath}}} {{reroll=@{RT-reroll}prefix2-_miracledmg)}} {{testoutcome=[[0]]}}'; var trigger = eventInfo.triggerName.slice(8); var skillpre = trigger.split('_'); var skill = skillpre[3]; @@ -49055,15 +50387,23 @@ on('clicked:strengthroll clicked:toughnessroll clicked:initiativeroll clicked:willpowerroll', (eventInfo) => { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{slbonusatk=[[0]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{title=^{>Charcap<}}} {{character_name=@{character_name}}} {{target=[[ [[((@{condgen}-@{DrunkMod}-@{DistractedMod})*-1)]] [COND] + @{>Char<} [CHAR] + ?{@{translation_modifier}|0} [MOD] ]]}} {{chartest=true}} {{SLmod=[[?{SL Modifier|@{>CharCharChar<', trigger); - let rollPart = rollPartPart.replaceAll('>Charcap<', triggercap); + let rollPart2 = rollPartPart.replaceAll('>Charcap<', triggercap); - startRoll(rollBegins + rollPart, (results) => { + console.log(trigger); + + if (trigger === 'willpower') {trig = ' {{magicdefiance=[[@{Talent_MagicDefianceLvl}]]}}'; + sitmods = '+@{Talent_MagicDefianceLvl}'; + rollPart = rollPart2.replaceAll('>sitmod<', sitmods);} else {rollPart = rollPart2; trig = "";} + + console.log(rollPart); + + startRoll(rollBegins + rollPart + trig, (results) => { const target = results.results.target.result const test = results.results.test.result const sl = results.results.sl.result @@ -49073,6 +50413,7 @@ const computed = (Math.floor(target / 10) - Math.floor(test / 10)) ; const computed2 = (((test-1)%10)+1) ; + if ( test <= target ) { var computed3 = computed + SLmod ;} else { var computed3 = computed + SLmod ;} if ( test <= target ) { var computed4 = 0 ;} else { var computed4 = 0 ;} if ( test <= target ) { var computed5 = SLmod ;} else { var computed5 = SLmod ;} @@ -49090,9 +50431,51 @@ }); }); + + on('clicked:pummelroll', (eventInfo) => { + + let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[@{Talent_Bludgeonerlvl} [SL TOTAL]]]}} {{slbonusatk=[[@{Talent_Bludgeonerlvl}]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{title=^{>Charcap<}}} {{skill=^{PUMMEL}}} {{character_name=@{character_name}}} {{target=[[ [[((@{condgen}-@{DrunkMod})*-1)]] [COND] + @{>Char<} [CHAR] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|@{>CharChar<', 'strength'); + let rollPart = rollPartPart.replaceAll('>Charcap<', 'STRENGTH'); + + console.log(prefix); + console.log(rollPart); + + startRoll(rollBegins + rollPart, (results) => { + const target = results.results.target.result + const test = results.results.test.result + const sl = results.results.sl.result + const slbonus = results.results.slbonus.result + const slbonusatk = results.results.slbonusatk.result + const SLmod = results.results.SLmod.result + const computed = (Math.floor(target / 10) - Math.floor(test / 10)) ; + const computed2 = (((test-1)%10)+1) ; + + if ( test <= target ) { var computed3 = computed + slbonusatk + SLmod ;} else { var computed3 = computed + SLmod ;} + if ( test <= target ) { var computed4 = slbonusatk ;} else { var computed4 = 0 ;} + if ( test <= target ) { var computed5 = slbonusatk + SLmod ;} else { var computed5 = SLmod ;} + + finishRoll( + results.rollId, + { + test: computed2, + sl: computed, + slbonus: computed3, + slbonusatk: computed4, + sladd: computed5, + } + ); + }); + }); + + on('clicked:fellowshiproll', (eventInfo) => { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{slbonusatk=[[0]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{title=^{>Charcap<}}} {{character_name=@{character_name}}} {{target=[[ [[((@{condgen}-@{DrunkMod}-@{DistractedMod})*-1)]] [COND] + @{>Char<} [CHAR] + ?{@{translation_modifier}|0} [MOD] ]]}} {{chartest=true}} {{SLmod=[[?{SL Modifier|@{>CharChar { - let roll = '{{sl=[[0 [Roll SL]]]}} {{slbonus=[[0 [SL TOTAL]]]}} {{slbonusatk=[[0]]}} {{sladd=[[0]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{title=^{>Charcap<}}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen}*-1)]] [COND] + @{>Char<} [CHAR] + ?{@{translation_modifier}|0} [MOD] ]]}} {{chartest=true}} {{SLmod=[[?{SL Modifier|@{>CharCharChar<', trigger); - let rollPart = rollPartPart.replaceAll('>Charcap<', triggercap); + let rollPart2 = rollPartPart.replaceAll('>Charcap<', triggercap); - startRoll(rollBegins + rollPart, (results) => { + console.log(trigger); + + if (trigger === 'intelligence') {trig = '{{longmemory=[[@{Talent_LongMemoryLvl}]]}}'; + sitmods = '+@{Talent_LongMemoryLvl}'; + rollPart = rollPart2.replaceAll('>sitmod<', sitmods);} else {rollPart = rollPart2; trig = "";} + + console.log(rollPart); + + startRoll(rollBegins + rollPart + trig, (results) => { const target = results.results.target.result const test = results.results.test.result const sl = results.results.sl.result @@ -49174,7 +50565,7 @@ }); - on('clicked:artroll clicked:athleticsroll clicked:briberyroll clicked:charmroll clicked:charmanimalroll clicked:climbroll clicked:consumealcoholroll clicked:driveroll clicked:enduranceroll clicked:entertainroll clicked:gambleroll clicked:gossiproll clicked:haggleroll clicked:intimidateroll clicked:intuitionroll clicked:leadershiproll clicked:navigationroll clicked:outdoorsurvivalroll clicked:perceptionroll clicked:rideroll clicked:rowroll clicked:stealthroll clicked:animalcareroll clicked:auguryroll clicked:channellingfireroll clicked:channellingheavensroll clicked:channellingmetalroll clicked:channellingbeastsroll clicked:channellingliferoll clicked:channellinglightroll clicked:channellingdeathroll clicked:channellingshadowsroll clicked:channellingwitchroll clicked:channellingdarkroll clicked:channellingchaosroll clicked:channellinggreatmawroll clicked:channellingmiscroll clicked:evaluateroll clicked:psychometryroll clicked:picklockroll clicked:prayroll clicked:researchroll clicked:settraproll clicked:sleightofhandroll clicked:swimroll clicked:trackroll', (eventInfo) => { + on('clicked:artroll clicked:athleticsroll clicked:briberyroll clicked:charmroll clicked:charmanimalroll clicked:climbroll clicked:consumealcoholroll clicked:driveroll clicked:enduranceroll clicked:entertainroll clicked:gambleroll clicked:gossiproll clicked:haggleroll clicked:intimidateroll clicked:intuitionroll clicked:leadershiproll clicked:navigationroll clicked:outdoorsurvivalroll clicked:perceptionroll clicked:rideroll clicked:rowroll clicked:stealthroll clicked:animalcareroll clicked:auguryroll clicked:channellingfireroll clicked:channellingheavensroll clicked:channellingmetalroll clicked:channellingbeastsroll clicked:channellingliferoll clicked:channellinglightroll clicked:channellingdeathroll clicked:channellingshadowsroll clicked:channellingwitchroll clicked:channellingdarkroll clicked:channellingchaosroll clicked:channellinggreatmawroll clicked:channellingmiscroll clicked:evaluateroll clicked:psychometryroll clicked:picklockroll clicked:prayroll clicked:researchroll clicked:runesmithingroll clicked:settraproll clicked:sleightofhandroll clicked:swimroll clicked:trackroll', (eventInfo) => { let roll = '{{test=[[@{roll_rule}]]}} {{sl=[[0]]}} {{slbonus=[[0>addsl<]]}} {{sladd=[[0>sladd<]]}} {{slbonusatk=[[0>addsl<]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{title=^{>Charcap<}}} {{skill=^{BASIC-SKILL}}} {{character_name=@{character_name}}} {{target=[[ [[cond-*-1]] [COND] + [[(@{>CharCharCharaddtak<]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{sitmod=[[0>sitmod<]]}} {{sitfail=[[0>sitfail<]]}} {{mod1type=[[@{>Char<_modtype1}]]}} {{mod1=@{>Char<_mod1}}} {{mod2type=[[@{>Char<_modtype2}]]}} {{mod2=@{>Char<_mod2}}} {{mod3type=[[@{>Char<_modtype3}]]}} {{mod3=@{>Char<_mod3}}} {{reroll=@{RT-reroll}>Charaddsl<', addsl);} - else if (trigger === 'evaluate') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{numismatics=[[@{Talent_NumismaticsLvl}]]}} {{supernumerate=[[@{Talent_SuperNumerateLvl}]]}}'; + else if (trigger === 'evaluate') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{numismatics=[[@{Talent_NumismaticsLvl}]]}} {{supernumerate=[[@{Talent_SuperNumerateLvl}]]}}'; addtak= '*@{EvaluateTaken}'; sitmods = '+@{Talent_NumismaticsLvl}'; addsl = '+@{Talent_SuperNumerateLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`).replaceAll('>addtak<', addtak).replaceAll('>sitmod<', sitmods).replaceAll('>addsl<', addsl);} - else if (trigger === 'psychometry') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'psychometry') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{PsychometryTaken}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`).replaceAll('>addtak<', addtak);} - else if (trigger === 'picklock') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'picklock') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{PickLockTaken}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`).replaceAll('>addtak<', addtak);} - else if (trigger === 'play') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'play') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`);} - else if (trigger === 'research') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{bookish=[[@{Talent_BookishLvl}]]}} {{speedreader=[[@{Talent_SpeedreaderLvl}]]}}'; + else if (trigger === 'research') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{bookish=[[@{Talent_BookishLvl}]]}} {{speedreader=[[@{Talent_SpeedreaderLvl}]]}}'; addtak= '*@{ResearchTaken}'; addsl = '+@{Talent_BookishLvl}'; sitmods = '+@{Talent_SpeedreaderLvl}'; - rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`).replaceAll('>addtak<', addtak).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'athletics') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{strider1=[[@{Talent_Strider1Lvl}]]}} {{strider1name=@{Talent_Strider1}}} {{strider2=[[@{Talent_Strider2Lvl}]]}} {{strider2name=@{Talent_Strider2}}} {{strider3=[[@{Talent_Strider3Lvl}]]}} {{strider3name=@{Talent_Strider3}}}'; + rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`).replaceAll('>addtak<', addtak).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods);} + else if (trigger === 'runesmithing') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{masterrunemagic=[[@{Talent_MasterRuneMAgicLvl}]]}} {{runemagic=[[@{Talent_RuneMagicLvl}]]}}'; + addtak= '*@{RunesmithingTaken}'; + addsl = '+@{Talent_RuneMagicLvl}+@{Talent_MasterRuneMagicLvl}'; + rollPart = rollPart2.replaceAll('cond-', `@{condgen_see}`).replaceAll('>addtak<', addtak).replaceAll('>addsl<', addsl);} + else if (trigger === 'athletics') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{strider1=[[@{Talent_Strider1Lvl}]]}} {{strider1name=@{Talent_Strider1}}} {{strider2=[[@{Talent_Strider2Lvl}]]}} {{strider2name=@{Talent_Strider2}}} {{strider3=[[@{Talent_Strider3Lvl}]]}} {{strider3name=@{Talent_Strider3}}}'; sitmods = '+@{Talent_Strider1Lvl}+@{Talent_Strider2Lvl}+@{Talent_Strider3Lvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'climb') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{scalesurface=[[@{Talent_ScaleSheerSurfaceLvl}]]}}'; + else if (trigger === 'climb') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{scalesurface=[[@{Talent_ScaleSheerSurfaceLvl}]]}}'; addsl = '+@{Talent_ScaleSheerSurfaceLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl);} - else if (trigger === 'drive') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{crackthewhip=[[@{Talent_CracktheWhipLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addsl<', addsl);} + else if (trigger === 'drive') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{crackthewhip=[[@{Talent_CracktheWhipLvl}]]}}'; sitmods = '+@{Talent_CracktheWhipLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'navigation') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{orientation=[[@{Talent_OrientationLvl}]]}}'; + else if (trigger === 'navigation') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{orientation=[[@{Talent_OrientationLvl}]]}}'; addsl = '+@{Talent_OrientationLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl);} - else if (trigger === 'outdoorsurvival') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addsl<', addsl);} + else if (trigger === 'outdoorsurvival') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`);} - else if (trigger === 'ride') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{crackthewhip=[[@{Talent_CracktheWhipLvl}]]}} {{trickriding=[[@{Talent_TrickRidingLvl}]]}}'; + else if (trigger === 'ride') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{crackthewhip=[[@{Talent_CracktheWhipLvl}]]}} {{trickriding=[[@{Talent_TrickRidingLvl}]]}}'; sitmods = '+@{Talent_CracktheWhipLvl}+@{Talent_TrickRidingLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`).replaceAll('>sitmod<', sitmods);} else if (trigger === 'stealth') {cond = '{{cond=[[@{condgen_see_move_stealth}-@{DrunkStealthMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod} - @{DrunkStealthMod}]]}} {{fatigued=[[@{FatiguedMod} - @{FatiguedStealthMod}]]}} {{broken=[[@{BrokenMod} - @{BrokenStealthMod}]]}} {{stuned=[[@{StunedMod} - @{StunedStealthMod}]]}} {{poisoned=[[@{PoisonedMod} - @{PoisonedStealthMod}]]}} {{prone=[[@{ProneMod} - @{ProneStealthMod}]]}} {{entangled=[[@{EntangledMod} - @{EntangledStealthMod}]]}} {{blinded=[[@{BlindedMod} - @{BlindedStealthMod}]]}} {{deafened=[[0]]}} {{alleycat=[[@{Talent_AlleyCatLvl}]]}} {{tunnelrat=[[@{Talent_TunnelRatLvl}]]}} {{beneathnotice=[[@{Talent_BeneathNoticeLvl}]]}}'; sitmods= '+@{Talent_AlleyCatLvl}+@{Talent_TunnelRatLvl}+@{Talent_BeneathNoticeLvl}'; sitfail= '+@{Talent_AlleyCatLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move_stealth}`).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} - else if (trigger === 'channellingfire') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_1}]]}}'; + else if (trigger === 'channellingfire') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_1}]]}}'; addtak= '*@{ChannellingFireTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingheavens') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_2}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingheavens') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_2}]]}}'; addtak= '*@{ChannellingHeavensTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingmetal') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_3}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingmetal') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_3}]]}}'; addtak= '*@{ChannellingMetalTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingbeasts') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_4}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingbeasts') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_4}]]}}'; addtak= '*@{ChannellingBeastsTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellinglife') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_5}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellinglife') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_5}]]}}'; addtak= '*@{ChannellingLifeTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellinglight') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_6}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellinglight') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}} {{accuchanexlsl=[[@{Quick_Spell_AccuSL_6}]]}}'; addtak= '*@{ChannellingLightTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingdeath') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingdeath') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; addtak= '*@{ChannellingDeathTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingshadows') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingshadows') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; addtak= '*@{ChannellingShadowsTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingwitch') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingwitch') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; addtak= '*@{ChannellingWitchTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingdark') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingdark') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; addtak= '*@{ChannellingDarkTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingchaos') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingchaos') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{ChannellingChaosTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellinggreatmaw') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellinggreatmaw') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; addtak= '*@{ChannellingGreatMawTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'channellingmisc') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'channellingmisc') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{robes=[[@{Used_Wizard_Robes}]]}} {{sptal1=[[@{Talent_AethyricAttunementLvl}]]}}'; addtak= '*@{ChannellingMiscTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'settrap') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{trapper=[[@{Talent_TrapperLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'settrap') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{trapper=[[@{Talent_TrapperLvl}]]}}'; addtak= '*@{SetTrapTaken}'; addsl = '+@{Talent_TrapperLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`).replaceAll('>addtak<', addtak).replaceAll('>addsl<', addsl);} - else if (trigger === 'sleightofhand') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{cardsharp=[[@{Talent_CardsharpLvl}]]}} {{diceman=[[@{Talent_DicemanLvl}]]}} {{fasthands=[[@{Talent_FastHandsLvl}]]}}'; + else if (trigger === 'sleightofhand') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{cardsharp=[[@{Talent_CardsharpLvl}]]}} {{diceman=[[@{Talent_DicemanLvl}]]}} {{fasthands=[[@{Talent_FastHandsLvl}]]}}'; addtak= '*@{SleightOfHandTaken}'; sitmods = '+@{Talent_CardsharpLvl}+@{Talent_DicemanLvl}+@{Talent_FastHandsLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`).replaceAll('>addtak<', addtak).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'swim') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{strongback=[[@{Talent_StrongBackLvl}]]}} {{strongswimmer=[[@{Talent_StrongSwimmerLvl}]]}}' + else if (trigger === 'swim') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{strongback=[[@{Talent_StrongBackLvl}]]}} {{strongswimmer=[[@{Talent_StrongSwimmerLvl}]]}}' addsl = '+@{Talent_StrongSwimmerLvl}+@{Talent_StrongBackLvl}'; addtak= '*@{SwimTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl).replaceAll('>addtak<', addtak);} - else if (trigger === 'track') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addsl<', addsl).replaceAll('>addtak<', addtak);} + else if (trigger === 'track') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{TrackTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'bribery') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{briber=[[@{Talent_BriberLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'bribery') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{briber=[[@{Talent_BriberLvl}]]}}'; addsl = '+@{Talent_BriberLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl);} - else if (trigger === 'charm') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{argumetative=[[@{Talent_ArgumentativeLvl}]]}} {{attractive=[[@{Talent_AttractiveLvl}]]}} {{blather=[[@{Talent_BlatherLvl}]]}} {{carouser=[[@{Talent_CarouserLvl}]]}} {{cattongued=[[@{Talent_CattonguedLvl}]]}} {{etiquette1=[[@{Talent_Etiquette1Lvl}]]}} {{etiquette1name=@{Talent_Etiquette1}}} {{etiquette2=[[@{Talent_Etiquette2Lvl}]]}} {{etiquette2name=@{Talent_Etiquette2}}} {{etiquette3=[[@{Talent_Etiquette3Lvl}]]}} {{etiquette3name=@{Talent_Etiquette3}}} {{etiquette4=[[@{Talent_Etiquette4Lvl}]]}} {{etiquette4name=@{Talent_Etiquette4}}} {{etiquette5=[[@{Talent_Etiquette5Lvl}]]}} {{etiquette5name=@{Talent_Etiquette5}}} {{etiquette6=[[@{Talent_Etiquette6Lvl}]]}} {{etiquette6name=@{Talent_Etiquette6}}} {{impzeal=[[@{Talent_ImpassionedZealLvl}]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}} {{panhandle=[[@{Talent_PanhandleLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_move}-@{DrunkMod})`).replaceAll('>addsl<', addsl);} + else if (trigger === 'charm') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{argumetative=[[@{Talent_ArgumentativeLvl}]]}} {{attractive=[[@{Talent_AttractiveLvl}]]}} {{blather=[[@{Talent_BlatherLvl}]]}} {{carouser=[[@{Talent_CarouserLvl}]]}} {{cattongued=[[@{Talent_CattonguedLvl}]]}} {{etiquette1=[[@{Talent_Etiquette1Lvl}]]}} {{etiquette1name=@{Talent_Etiquette1}}} {{etiquette2=[[@{Talent_Etiquette2Lvl}]]}} {{etiquette2name=@{Talent_Etiquette2}}} {{etiquette3=[[@{Talent_Etiquette3Lvl}]]}} {{etiquette3name=@{Talent_Etiquette3}}} {{etiquette4=[[@{Talent_Etiquette4Lvl}]]}} {{etiquette4name=@{Talent_Etiquette4}}} {{etiquette5=[[@{Talent_Etiquette5Lvl}]]}} {{etiquette5name=@{Talent_Etiquette5}}} {{etiquette6=[[@{Talent_Etiquette6Lvl}]]}} {{etiquette6name=@{Talent_Etiquette6}}} {{impzeal=[[@{Talent_ImpassionedZealLvl}]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}} {{panhandle=[[@{Talent_PanhandleLvl}]]}}'; sitmods = '+@{Talent_ArgumentativeLvl}+@{Talent_AttractiveLvl}+@{Talent_BlatherLvl}+@{Talent_CarouserLvl}+@{Talent_CattonguedLvl}+@{Talent_Etiquette1Lvl}+@{Talent_Etiquette2Lvl}+@{Talent_Etiquette3Lvl}+@{Talent_Etiquette4Lvl}+@{Talent_Etiquette5Lvl}+@{Talent_Etiquette6Lvl}+@{Talent_ImpassionedZealLvl}+@{Talent_NobleBloodLvl}+@{Talent_PanhandleLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'charmanimal') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{animalaffinity=[[@{Talent_AnimalAffinityLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>sitmod<', sitmods);} + else if (trigger === 'charmanimal') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{animalaffinity=[[@{Talent_AnimalAffinityLvl}]]}}'; addsl = '+@{Talent_AnimalAffinityLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl);} - else if (trigger === 'consumealcohol') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{carousersl=[[@{Talent_CarouserLvl}]]}}'; - addsl= '+@{Talent_CarouserLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl);} - else if (trigger === 'endurance') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[0]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{resistance1=[[@{Talent_Resistance1Lvl}]]}} {{resistance1name=@{Talent_Resistance1}}} {{resistance2=[[@{Talent_Resistance2Lvl}]]}} {{resistance2name=@{Talent_Resistance2}}} {{resistance3=[[@{Talent_Resistance3Lvl}]]}} {{resistance3name=@{Talent_Resistance3}}} {{tenacious=[[@{Talent_TenaciousLvl}]]}} {{ironjaw=[[@{Talent_IronJawLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>addsl<', addsl);} + else if (trigger === 'consumealcohol') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{carousersl=[[@{Talent_CarouserLvl}]]}} {{liquidfortification=[[@{Talent_LiquidFortificationLvl}]]}}'; + addsl= '+@{Talent_CarouserLvl}+@{Talent_LiquidFortificationLvl}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>addsl<', addsl);} + else if (trigger === 'endurance') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[0]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{resistance1=[[@{Talent_Resistance1Lvl}]]}} {{resistance1name=@{Talent_Resistance1}}} {{resistance2=[[@{Talent_Resistance2Lvl}]]}} {{resistance2name=@{Talent_Resistance2}}} {{resistance3=[[@{Talent_Resistance3Lvl}]]}} {{resistance3name=@{Talent_Resistance3}}} {{tenacious=[[@{Talent_TenaciousLvl}]]}} {{ironjaw=[[@{Talent_IronJawLvl}]]}}'; sitmods = '+@{Talent_Resistance1Lvl}+@{Talent_Resistance2Lvl}+@{Talent_Resistance3Lvl}+@{Talent_TenaciousLvl}+@{Talent_IronJawLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'entertain') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`);} - else if (trigger === 'gamble') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{cardsharp=[[@{Talent_CardsharpLvl}]]}} {{cardsharp=[[@{Talent_CardsharpLvl}]]}} {{diceman=[[@{Talent_DicemanLvl}]]}} {{supernumerate=[[@{Talent_SuperNumerateLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>sitmod<', sitmods);} + else if (trigger === 'entertain') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{masterofdisguise=[[@{Talent_MasterOfDisguiseLvl}]]}}'; + sitmods = '+@{Talent_MasterOfDisguiseLvl}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`);} + else if (trigger === 'gamble') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{cardsharp=[[@{Talent_CardsharpLvl}]]}} {{cardsharp=[[@{Talent_CardsharpLvl}]]}} {{diceman=[[@{Talent_DicemanLvl}]]}} {{supernumerate=[[@{Talent_SuperNumerateLvl}]]}}'; sitmods = '+@{Talent_CardsharpLvl}+@{Talent_CardsharpLvl}+@{Talent_DicemanLvl}'; addsl = '+@{Talent_SuperNumerateLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen}`).replaceAll('>sitmod<', sitmods).replaceAll('>addsl<', addsl);} - else if (trigger === 'gossip') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{carouser=[[@{Talent_CarouserLvl}]]}} {{gregarious=[[@{Talent_GregariousLvl}]]}} {{etiquette1=[[@{Talent_Etiquette1Lvl}]]}} {{etiquette1name=@{Talent_Etiquette1}}} {{etiquette2=[[@{Talent_Etiquette2Lvl}]]}} {{etiquette2name=@{Talent_Etiquette2}}} {{etiquette3=[[@{Talent_Etiquette3Lvl}]]}} {{etiquette3name=@{Talent_Etiquette3}}} {{etiquette4=[[@{Talent_Etiquette4Lvl}]]}} {{etiquette4name=@{Talent_Etiquette4}}} {{etiquette5=[[@{Talent_Etiquette5Lvl}]]}} {{etiquette5name=@{Talent_Etiquette5}}} {{etiquette6=[[@{Talent_Etiquette6Lvl}]]}} {{etiquette6name=@{Talent_Etiquette6}}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}}'; + else if (trigger === 'gossip') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{carouser=[[@{Talent_CarouserLvl}]]}} {{gregarious=[[@{Talent_GregariousLvl}]]}} {{etiquette1=[[@{Talent_Etiquette1Lvl}]]}} {{etiquette1name=@{Talent_Etiquette1}}} {{etiquette2=[[@{Talent_Etiquette2Lvl}]]}} {{etiquette2name=@{Talent_Etiquette2}}} {{etiquette3=[[@{Talent_Etiquette3Lvl}]]}} {{etiquette3name=@{Talent_Etiquette3}}} {{etiquette4=[[@{Talent_Etiquette4Lvl}]]}} {{etiquette4name=@{Talent_Etiquette4}}} {{etiquette5=[[@{Talent_Etiquette5Lvl}]]}} {{etiquette5name=@{Talent_Etiquette5}}} {{etiquette6=[[@{Talent_Etiquette6Lvl}]]}} {{etiquette6name=@{Talent_Etiquette6}}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}}'; sitmods = '+@{Talent_CarouserLvl}+@{Talent_Etiquette1Lvl}+@{Talent_Etiquette2Lvl}+@{Talent_Etiquette3Lvl}+@{Talent_Etiquette4Lvl}+@{Talent_Etiquette5Lvl}+@{Talent_Etiquette6Lvl}+@{Talent_GregariousLvl}+@{Talent_NobleBloodLvl}'; sitfail = '+@{Talent_GregariousLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} - else if (trigger === 'haggle') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} + else if (trigger === 'haggle') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}}'; sitmods = '+@{Talent_NobleBloodLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'intimidate') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{menacing=[[@{Talent_MenacingLvl}+@{Talent_MenacingLvl}]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>sitmod<', sitmods);} + else if (trigger === 'intimidate') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{menacing=[[@{Talent_MenacingLvl}+@{Talent_MenacingLvl}]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}}'; sitmods = '+@{Talent_NobleBloodLvl}'; sladd = '+@{Talent_MenacingLvl}'; addsl = '+@{Talent_MenacingLvl}+@{Talent_MenacingLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>sitmod<', sitmods).replaceAll('>sladd<', sladd).replaceAll('>addsl<', addsl);} - else if (trigger === 'leadership') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{warleader=[[@{Talent_WarLeaderLvl}]]}} {{commandingpresence=[[@{Talent_CommandingPresenceLvl}]]}} {{inspiring=[[@{Talent_InspiringLvl}]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}} {{masterandcommander=[[@{Talent_MasterAndCommanderLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>sitmod<', sitmods).replaceAll('>sladd<', sladd).replaceAll('>addsl<', addsl);} + else if (trigger === 'leadership') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{warleader=[[@{Talent_WarLeaderLvl}]]}} {{commandingpresence=[[@{Talent_CommandingPresenceLvl}]]}} {{inspiring=[[@{Talent_InspiringLvl}]]}} {{nobleblood=[[@{Talent_NobleBloodLvl}]]}} {{masterandcommander=[[@{Talent_MasterAndCommanderLvl}]]}}'; addsl = '+@{Talent_CommandingPresenceLvl}+@{Talent_MasterAndCommanderLvl}'; sitmods = '+@{Talent_WarLeaderLvl}+@{Talent_InspiringLvl}+@{Talent_NobleBloodLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'row') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{strongback=[[@{Talent_StrongBackLvl}]]}} {{pilot=[[@{Talent_PilotLvl}]]}}' + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods);} + else if (trigger === 'row') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{strongback=[[@{Talent_StrongBackLvl}]]}} {{pilot=[[@{Talent_PilotLvl}]]}}' addsl = '+@{Talent_StrongBackLvl}'; sitmods = '+@{Talent_PilotLvl}'; sitfail = '+@{Talent_PilotLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} - else if (trigger === 'animalcare') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} + else if (trigger === 'animalcare') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; addtak= '*@{AnimalCareTaken}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen}`).replaceAll('>addtak<', addtak);} - else if (trigger === 'augury') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; + else if (trigger === 'augury') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; addtak= '*@{AuguryTaken}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen}`).replaceAll('>addtak<', addtak);} - else if (trigger === 'pray') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; + else if (trigger === 'pray') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; addtak= '*@{PrayTaken}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} - else if (trigger === 'intuition') {cond = '{{cond=[[@{condgen_see_hear}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[@{DeafenedMod}]]}} {{sixthsense=[[@{Talent_SixthSenseLvl}]]}} {{detectartefact=[[@{Talent_DetectArtefactLvl}]]}} {{holyvisions=[[@{Talent_HolyVisionsLvl}]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} + else if (trigger === 'intuition') {cond = '{{cond=[[@{condgen_see_hear}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[@{DeafenedMod}]]}} {{sixthsense=[[@{Talent_SixthSenseLvl}]]}} {{detectartefact=[[@{Talent_DetectArtefactLvl}]]}} {{holyvisions=[[@{Talent_HolyVisionsLvl}]]}}'; sitmods = '+@{Talent_SixthSenseLvl}+@{Talent_DetectArtefactLvl}+@{Talent_HolyVisionsLvl}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_hear}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>sitmod<', sitmods);} + rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_hear}-@{DrunkMod})`).replaceAll('>sitmod<', sitmods);} else if (trigger === 'perception') {cond = '{{cond=[[@{condgen_see_hear_perception}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod} - @{FatiguedPercMod}]]}} {{broken=[[@{BrokenMod} - @{BrokenPercMod}]]}} {{stuned=[[@{StunedMod} - @{StunedPercMod}]]}} {{poisoned=[[@{PoisonedMod} - @{PoisonedPercMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod} - @{BlindedPercMod}]]}} {{deafened=[[@{DeafenedMod} - @{DeafenedPercMod}]]}} {{acute1=[[@{Talent_AcuteSense1Lvl}]]}} {{acute1name=@{Talent_AcuteSense1}}} {{acute2=[[@{Talent_AcuteSense2Lvl}]]}} {{acute2name=@{Talent_AcuteSense2}}} {{combataware=[[@{Talent_CombatAwareLvl}]]}} {{lipreading=[[@{Talent_LipreadingLvl}]]}} {{nightvision=[[@{Talent_NightVisionLvl}]]}} {{nosefortrouble=[[@{Talent_NoseForTroubleLvl}]]}} {{secondsight=[[@{Talent_SecondSightLvl}]]}} {{trapper=[[@{Talent_TrapperLvl}]]}}'; sitmods = '+@{Talent_AcuteSense1Lvl}+@{Talent_AcuteSense2Lvl}+@{Talent_CombatAwareLvl}+@{Talent_LipreadingLvl}+@{Talent_NightVisionLvl}+@{Talent_NoseForTroubleLvl}+@{Talent_SecondSightLvl}+@{Talent_TrapperLvl}'; rollPart = rollPart2.replaceAll('cond-', `(@{condgen_see_hear_perception})`).replaceAll('>sitmod<', sitmods);} else {cond = ''} @@ -49510,54 +50906,54 @@ let rollPart2 = rollPartPart.replaceAll('>Charcap<', triggercap); - if (trigger === 'cool') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{ironwill=[[@{Talent_IronWillLvl}]]}} {{stouthearted=[[@{Talent_StoutHeartedLvl}]]}} {{unshakable=[[@{Talent_UnshakableLvl}]]}}'; + if (trigger === 'cool') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{ironwill=[[@{Talent_IronWillLvl}]]}} {{stouthearted=[[@{Talent_StoutHeartedLvl}]]}} {{unshakable=[[@{Talent_UnshakableLvl}]]}}'; sitmods = '+@{Talent_IronWillLvl}+@{Talent_StoutHeartedLvl}+@{Talent_UnshakableLvl}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'dodge') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{enclosedfighter=[[@{Talent_EnclosedFighterLvl}]]}} {{armorqualities=[[@{armorqualities}]]}} {{aq1=[[@{armorimpenetrable}]]}} {{aq2=[[@{armorweakpoints}]]}} {{aq3=[[@{armorpartial}]]}} {{aq4=[[@{armorcustom}]]}} {{aqtxt=@{armorQuality}}} {{trickriding=[[@{Talent_TrickRidingLvl}]]}} {{stepaside=[[@{Talent_StepAsideLvl}]]}}'; + else if (trigger === 'dodge') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{enclosedfighter=[[@{Talent_EnclosedFighterLvl}]]}} {{armorqualities=[[@{armorqualities}]]}} {{aq1=[[@{armorimpenetrable}]]}} {{aq2=[[@{armorweakpoints}]]}} {{aq3=[[@{armorpartial}]]}} {{aq4=[[@{armorcustom}]]}} {{aqtxt=@{armorQuality}}} {{trickriding=[[@{Talent_TrickRidingLvl}]]}} {{stepaside=[[@{Talent_StepAsideLvl}]]}}'; sitmods = '+@{Talent_EnclosedFighterLvl}+@{Talent_TrickRidingLvl}+@{Talent_StepAsideLvl}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>sitmod<', sitmods);} - else if (trigger === 'meleebasic') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleebasic') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleebrawling') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleebrawling') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleecavalry') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleecavalry') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleefencing') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleefencing') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleetwohanded') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleetwohanded') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleeflail') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleeflail') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleeparry') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleeparry') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'meleepolearm') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'meleepolearm') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`);} - else if (trigger === 'rangedblackpowder') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedblackpowder') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedBlackpowderTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedbow') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedbow') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedBowTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedcrossbow') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedcrossbow') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedCrossbowTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedengineering') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedengineering') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedEngineeringTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedentangling') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedentangling') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedEntanglingTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedexplosives') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedexplosives') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedExplosivesTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedsling') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedsling') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedSlingTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'rangedthrowing') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'rangedthrowing') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{RangedThrowingTaken}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see_move`).replaceAll('>addtak<', addtak);} - else if (trigger === 'langmagick') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (trigger === 'langmagick') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{LangMagickTaken}'; MagAdv= '*@{Advantage_casting}'; rollPart = rollPart2.replaceAll('cond-', `condgen_see`).replaceAll('>MagAdv<', MagAdv);} @@ -49625,11 +51021,11 @@ if (skill === 'stealth') {rollPart2 = rollPart3.replaceAll('[SKILL]', pen);} else {rollPart2 = rollPart3;} if (skill === 'stealth') {rollpen = '{{armorpen=[[(@{armormailpenalty}+@{armorplatepenalty}+@{armorplatelegspenalty})*-1]]}}';} else {rollpen = ''} - if (skill === 'art') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{artistic=[[@{Talent_ArtisticLvl}]]}}'; + if (skill === 'art') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{artistic=[[@{Talent_ArtisticLvl}]]}}'; addsl = '+@{Talent_ArtisticLvl}'; rollPart = rollPart2.replaceAll('cond-', `(@{condgen})`).replaceAll('>addsl<', addsl);} - else if (skill === 'ride') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{crackthewhip=[[@{Talent_CracktheWhipLvl}]]}} {{trickriding=[[@{Talent_TrickRidingLvl}]]}}'; + else if (skill === 'ride') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{crackthewhip=[[@{Talent_CracktheWhipLvl}]]}} {{trickriding=[[@{Talent_TrickRidingLvl}]]}}'; sitmods = '+@{Talent_CracktheWhipLvl}+@{Talent_TrickRidingLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move}`).replaceAll('>sitmod<', sitmods);} else if (skill === 'stealth') {cond = '{{cond=[[@{condgen_see_move_stealth}-@{DrunkStealthMod}]]}} {{drunk=[[@{DrunkMod} - @{DrunkStealthMod}]]}} {{fatigued=[[@{FatiguedMod} - @{FatiguedStealthMod}]]}} {{broken=[[@{BrokenMod} - @{BrokenStealthMod}]]}} {{stuned=[[@{StunedMod} - @{StunedStealthMod}]]}} {{poisoned=[[@{PoisonedMod} - @{PoisonedStealthMod}]]}} {{prone=[[@{ProneMod} - @{ProneStealthMod}]]}} {{entangled=[[@{EntangledMod} - @{EntangledStealthMod}]]}} {{blinded=[[@{BlindedMod} - @{BlindedStealthMod}]]}} {{deafened=[[0]]}} {{alleycat=[[@{Talent_AlleyCatLvl}]]}} {{tunnelrat=[[@{Talent_TunnelRatLvl}]]}} {{beneathnotice=[[@{Talent_BeneathNoticeLvl}]]}}'; @@ -49637,8 +51033,8 @@ sitfail= '+@{Talent_AlleyCatLvl}'; rollPart = rollPart2.replaceAll('cond-', `@{condgen_see_move_stealth}`).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} - else if (skill === 'entertain') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; - rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`);} + else if (skill === 'entertain') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; + rollPart = rollPart2.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`);} else {cond = ''} @@ -49696,52 +51092,50 @@ var skillcap = skill.toUpperCase(); let rollBegins = '@{Whisper} &{template:whfrp2e}'; - if (skill === 'language') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{linguistics=[[@{Talent_LinguisticsLvl}]]}} {{speedreaderlang=[[@{Talent_SpeedreaderLvl}]]}}'; + if (skill === 'language') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{linguistics=[[@{Talent_LinguisticsLvl}]]}} {{speedreaderlang=[[@{Talent_SpeedreaderLvl}]]}}'; addsl = '+@{Talent_LinguisticsLvl}'; addtak= '*@{prefix-Taken}'; sitmods = '+@{Talent_SpeedreaderLvl}'; rollPart2 = roll.replaceAll('cond-', `(@{condgen_see})`).replaceAll('>addtak<', addtak).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods);} - else if (skill === 'lore') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{seasonedtraveller=[[@{Talent_SeasonedTravellerLvl}]]}}'; + else if (skill === 'lore') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{seasonedtraveller=[[@{Talent_SeasonedTravellerLvl}]]}}'; addtak= '*@{prefix-Taken}'; sitmods = '+@{Talent_SeasonedTravellerLvl}'; rollPart2 = roll.replaceAll('cond-', `(@{condgen_see})`).replaceAll('>addtak<', addtak).replaceAll('>sitmod<', sitmods);} - else if (skill === 'sail') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{waterman=[[@{Talent_WatermanLvl}]]}} {{oldsalt=[[@{Talent_OldSaltLvl}]]}} {{pilot=[[@{Talent_PilotLvl}]]}}'; - sitmods = '+@{Talent_WatermanLvl}+@{Talent_OldSaltLvl}+@{Talent_PilotLvl}'; + else if (skill === 'sail') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{waterman=[[@{Talent_WatermanLvl}]]}} {{oldsalt=[[@{Talent_OldSaltLvl}]]}} {{pilot=[[@{Talent_PilotLvl}]]}} {{maverick=[[@{Talent_MaverickLvl}]]}}'; + sitmods = '+@{Talent_WatermanLvl}+@{Talent_OldSaltLvl}+@{Talent_PilotLvl}+@{Talent_MaverickLvl}'; sitfail = '+@{Talent_PilotLvl}'; addtak= '*@{prefix-Taken}'; rollPart2 = roll.replaceAll('cond-', `(@{condgen_see})`).replaceAll('>addtak<', addtak).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} - else if (skill === 'secretsigns') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (skill === 'secretsigns') {cond = '{{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{prefix-Taken}'; rollPart2 = roll.replaceAll('cond-', `(@{condgen_see})`).replaceAll('>addtak<', addtak);} - else if (skill === 'perform') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (skill === 'perform') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{prefix-Taken}'; rollPart2 = roll.replaceAll('cond-', `(@{condgen_see_move})`).replaceAll('>addtak<', addtak);} - else if (skill === 'play') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; + else if (skill === 'play') {cond = '{{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}}'; addtak= '*@{prefix-Taken}'; rollPart2 = roll.replaceAll('cond-', `(@{condgen_see_move})`).replaceAll('>addtak<', addtak);} - else if (skill === 'animaltraining') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; + else if (skill === 'animaltraining') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}}'; addtak= '*@{prefix-Taken}'; - rollPart2 = roll.replaceAll('cond-', `(@{condgen}-@{DrunkMod}-@{DistractedMod})`).replaceAll('>addtak<', addtak);} + rollPart2 = roll.replaceAll('cond-', `(@{condgen}-@{DrunkMod})`).replaceAll('>addtak<', addtak);} - else if (skill === 'trade') {cond = '{{cond=[[@{condgen}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{craftsman1=[[@{Talent_Craftsman1Lvl}]]}} {{craftsman2=[[@{Talent_Craftsman2Lvl}]]}} {{craftsman3=[[@{Talent_Craftsman3Lvl}]]}} {{pharmacist=[[@{Talent_PharmacistLvl}]]}} {{tinker=[[@{Talent_TinkerLvl}]]}}'; - sitmods = '+@{Talent_PharmacistLvl}+@{Talent_TinkerLvl}'; - addsl = '+@{Talent_Craftsman1Lvl}+@{Talent_Craftsman2Lvl}+@{Talent_Craftsman3Lvl}'; + else if (skill === 'trade') {cond = '{{cond=[[@{condgen}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{craftsman1=[[@{Talent_Craftsman1Lvl}]]}} {{craftsman1name=@{Talent_Craftsman1}}} {{craftsman2=[[@{Talent_Craftsman2Lvl}]]}} {{craftsman2name=@{Talent_Craftsman2}}} {{craftsman3=[[@{Talent_Craftsman3Lvl}]]}} {{craftsman3name=@{Talent_Craftsman3}}} {{pharmacist=[[@{Talent_PharmacistLvl}]]}} {{tinker=[[@{Talent_TinkerLvl}]]}} {{entrenchment=[[@{Talent_EntrenchmentLvl}]]}} {{mastertradesman1=[[@{Talent_MasterTradesman1Lvl}]]}} {{mastertradesman1name=@{Talent_MasterTradesman1}}} {{mastertradesman2=[[@{Talent_MasterTradesman2Lvl}]]}} {{mastertradesman2name=@{Talent_MasterTradesman2}}} {{mastertradesman3=[[@{Talent_MasterTradesman3Lvl}]]}} {{mastertradesman3name=@{Talent_MasterTradesman3}}}'; + sitmods = '+@{Talent_PharmacistLvl}+@{Talent_TinkerLvl}+@{Talent_Craftsman1Lvl}+@{Talent_Craftsman2Lvl}+@{Talent_Craftsman3Lvl}+@{Talent_EntrenchmentLvl}+@{Talent_MasterTradesman1Lvl}+@{Talent_MasterTradesman2Lvl}+@{Talent_MasterTradesman3Lvl}'; addtak= '*@{prefix-Taken}'; sitfail = '+@{Talent_PharmacistLvl}'; - rollPart2 = roll.replaceAll('cond-', `(@{condgen_see})`).replaceAll('>addtak<', addtak).replaceAll('>addsl<', addsl).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} + rollPart2 = roll.replaceAll('cond-', `(@{condgen_see})`).replaceAll('>addtak<', addtak).replaceAll('>sitmod<', sitmods).replaceAll('>sitfail<', sitfail);} else {cond = ''} let rollPart = rollPart2.replaceAll('prefix-', `${trigger}`).replaceAll('>Skill<', `${skillcap}`); console.log(rollPart); - console.log("Test Rep Skill"); startRoll(rollBegins + rollPart + cond, (results) => { @@ -49779,15 +51173,15 @@ var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; - if (trigger == "sprintroll") {roll = '{{movement=[[@{Run}*2) [IntB + SL]]]}} {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[@{Talent_SprinterLvl}]]}} {{slbonusatk=[[0]]}} {{modvalue=[[20]]}} {{sprinting=true}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=^{ATHLETICS}}} {{skill=^{SPRINT-ROLL}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + @{Athletics} [SKILL] + 20 [MOD] ]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{test=[[@{roll_rule}]]}} {{reroll=@{RT-reroll}SprintRoll)}} {{sprinter=[[@{Talent_SprinterLvl}]]}}';} + if (trigger == "sprintroll") {roll = '{{movement=[[@{Run}*2) [IntB + SL]]]}} {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[@{Talent_SprinterLvl}]]}} {{slbonusatk=[[0]]}} {{modvalue=[[20]]}} {{sprinting=true}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=^{ATHLETICS}}} {{skill=^{SPRINT-ROLL}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + @{Athletics} [SKILL] + 20 [MOD] ]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{test=[[@{roll_rule}]]}} {{reroll=@{RT-reroll}SprintRoll)}} {{sprinter=[[@{Talent_SprinterLvl}]]}}';} - if (trigger == "climbingroll") {roll = ' {{movement=[[@{Movementmod})]]}} {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[0]]}} {{slbonusatk=[[0]]}} {{test=[[@{roll_rule}]]}} {{modvalue=[[20]]}} {{climbing=true}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{title=^{CLIMB-ROLL}}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen_see}-@{DrunkMod}-@{DistractedMod})*-1]]+@{Climb}+20]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{mod1type=[[@{Climb_modtype1}]]}} {{mod1=@{Climb_mod1}}} {{mod2type=[[@{Climb_modtype2}]]}} {{mod2=@{Climb_mod2}}} {{mod3type=[[@{Climb_modtype3}]]}} {{mod3=@{Climb_mod3}}} {{reroll=@{RT-reroll}climbingroll)}}';} + if (trigger == "climbingroll") {roll = ' {{movement=[[@{Movementmod})]]}} {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[0]]}} {{slbonusatk=[[0]]}} {{test=[[@{roll_rule}]]}} {{modvalue=[[20]]}} {{climbing=true}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[0]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{title=^{CLIMB-ROLL}}} {{character_name=@{character_name}}} {{target=[[ [[(@{condgen_see}-@{DrunkMod})*-1]]+@{Climb}+20]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{mod1type=[[@{Climb_modtype1}]]}} {{mod1=@{Climb_mod1}}} {{mod2type=[[@{Climb_modtype2}]]}} {{mod2=@{Climb_mod2}}} {{mod3type=[[@{Climb_modtype3}]]}} {{mod3=@{Climb_mod3}}} {{reroll=@{RT-reroll}climbingroll)}}';} - if (trigger == "distractroll") {roll = '{{movement=[[@{Run}*2) [IntB + SL]]]}} {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[@{Talent_DistractLvl}]]}} {{slbonusatk=[[@{Talent_DistractLvl}]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=^{ATHLETICS}}} {{skill=^{DISTRACT_TALENT}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Athletics}]] [SKILL] + [[?{@{translation_modifier}|0}]] [MOD] ]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{test=[[@{roll_rule}]]}} {{reroll=@{RT-reroll}distractroll)}} {{distracting=[[@{Talent_DistractLvl}]]}}';} + if (trigger == "distractroll") {roll = '{{movement=[[@{Run}*2) [IntB + SL]]]}} {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[@{Talent_DistractLvl}]]}} {{slbonusatk=[[@{Talent_DistractLvl}]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=^{ATHLETICS}}} {{skill=^{DISTRACT_TALENT}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[@{Athletics}]] [SKILL] + [[?{@{translation_modifier}|0}]] [MOD] ]]}} {{skilltest=true}} {{SLmod=[[?{SL Modifier|0}]]}} {{test=[[@{roll_rule}]]}} {{reroll=@{RT-reroll}distractroll)}} {{distracting=[[@{Talent_DistractLvl}]]}}';} if (trigger == "fallingroll") {roll = ' {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[0]]}} {{slbonusatk=[[0]]}} {{falling=true}} {{unconscious=[[@{UnconsciousMod}]]}} {{title=^{FALLING-ROLL}}} {{character_name=@{character_name}}} {{yards=[[?{How many yards have you fallen down?|3}]]}} {{damage=[[1d10+(?{How many yards have you fallen down?|3}*3)-( [[(((([[?{Did you fall on purpose ?|Yes, ?{Roll a Average (+20) Athletics Test, was the result a success (SL +0 or more)?&#124;Yes&#44; 1+3*?{Enter your Athletics Test SL result&amp;#124;0&amp;#125; &#124;No&#44; 0&#125; |No, 0&#125;} |No, 0}]]) + 0) + abs(([[?{Did you fall on purpose ?|Yes, ?{Roll a Average (+20) Athletics Test, was the result a success (SL +0 or more)?&#124;Yes&#44; 1+3*?{Enter your Athletics Test SL result&amp;#124;0&amp;#125; &#124;No&#44; 0&#125; |No, 0&#125;} |No, 0}]]) - 0))/2)]])-@{ToughnessBonus}]]}} {{slyards=[[?{Did you fall on purpose ?|Yes, ?{Roll a Average (+20) Athletics Test, was the result a success (SL +0 or more)?&#124;Yes&#44; 1+3*?{Enter your Athletics Test SL result&amp;#124;0&amp;#125; &#124;No&#44; 0&#125; |No, 0&#125;} |No, 0}]]}} {{reroll=@{RT-reroll}CharacterAction)}}';} - if (trigger == "leapingroll") {roll = ' {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[0]]}} {{slbonusatk=[[0]]}} {{leaping=true}} {{unconscious=[[@{UnconsciousMod}]]}} {{title=Leaping Roll}} {{character_name=@{character_name}}} {{movement=[[@{Movementmod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=^{ATHLETICS}}} {{skill=^{LEAPING-ROLL}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + @{Athletics} [SKILL] + ?{Do you have a run up of at least your Movement in yards?|Yes, 20|No, 0} [MOD] ]]}} {{skilltest=true}} {{SLmod=[[0}]]}} {{test=[[@{roll_rule}]]}} {{reroll=@{RT-reroll}SprintRoll)}} {{modvalue=[[?{Do you have a run up of at least your Movement in yards?|No, 0|Yes, 20}]]}} {{reroll=@{RT-reroll}leapingroll)}}';} + if (trigger == "leapingroll") {roll = ' {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[0]]}} {{slbonusatk=[[0]]}} {{leaping=true}} {{unconscious=[[@{UnconsciousMod}]]}} {{title=Leaping Roll}} {{character_name=@{character_name}}} {{movement=[[@{Movementmod}]]}} {{cond=[[@{condgen_see_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=^{ATHLETICS}}} {{skill=^{LEAPING-ROLL}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + @{Athletics} [SKILL] + ?{Do you have a run up of at least your Movement in yards?|Yes, 20|No, 0} [MOD] ]]}} {{skilltest=true}} {{SLmod=[[0}]]}} {{test=[[@{roll_rule}]]}} {{reroll=@{RT-reroll}SprintRoll)}} {{modvalue=[[?{Do you have a run up of at least your Movement in yards?|No, 0|Yes, 20}]]}} {{reroll=@{RT-reroll}leapingroll)}}';} if (trigger == "pursuitroll") {roll = ' {{sl=[[0]]}} {{sladd=[[0]]}} {{slbonus=[[0]]}} {{slbonusatk=[[0]]}} {{test=[[@{roll_rule}]]}} {{pursuit=true}} {{unconscious=[[@{UnconsciousMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[@{ProneMod}]]}} {{entangled=[[@{EntangledMod}]]}} {{blinded=[[@{BlindedMod}]]}} {{title=Pursuit}} {{pursuitopt=[[?{Choose|Pursuer Roll, 1|Pursued Roll, 2}]]}} {{character_name=@{character_name}}} {{pursuitdist=[[?{Enter the current Distance between the pursuing parties (1-9)|4}]]}} {{target=[[[[@{condgen_see}*-1]] [COND] + @{Athletics} [SKILL] + ?{Athletics roll Modifier|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{mod1type=[[@{Athletics_modtype1}]]}} {{mod1=@{Athletics_mod1}}} {{mod2type=[[@{Athletics_modtype2}]]}} {{mod2=@{Athletics_mod2}}} {{mod3type=[[@{Athletics_modtype3}]]}} {{mod3=@{Athletics_mod3}}} {{reroll=@{RT-reroll}pursuitroll)}} {{movement=[[0]]}}';} let rollPart = roll; @@ -49911,7 +51305,7 @@ on('clicked:healroll', (eventInfo) => { getAttrs(["IntelligenceBonus"], function(v) { - let roll = ' {{sl=[[0]]}} {{slbonus=[[0]]}} {{sladd=[[0]]}} {{intBns=[[@{IntelligenceBonus} [IntB + SL]]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{title=^{HEAL}}} {{skill=^{ADVANCED-SKILL}}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[(@{HealChar}+@{HealAdv}+@{HealMisc})*@{HealTaken})]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{skilltest=true}} {{healtest=[[1]]}} {{sitmod=[[@{Talent_FieldDressingLvl}+@{Talent_SurgeryLvl}]]}} {{sitfail=[[@{Talent_FieldDressingLvl}]]}} {{test=[[@{roll_rule}]]}} {{mod1type=[[@{Heal_modtype1}]]}} {{mod1=@{Heal_mod1}}} {{mod2type=[[@{Heal_modtype2}]]}} {{mod2=@{Heal_mod2}}} {{mod3type=[[@{Heal_modtype3}]]}} {{mod3=@{Heal_mod3}}} {{reroll=@{RT-reroll}Healroll)}} {{fielddressing=[[@{Talent_FieldDressingLvl}]]}} {{surgery=[[@{Talent_SurgeryLvl}]]}}'; + let roll = ' {{sl=[[0]]}} {{slbonus=[[0]]}} {{sladd=[[0]]}} {{intBns=[[@{IntelligenceBonus} [IntB + SL]]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{title=^{HEAL}}} {{skill=^{ADVANCED-SKILL}}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[(@{HealChar}+@{HealAdv}+@{HealMisc})*@{HealTaken})]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{skilltest=true}} {{healtest=[[1]]}} {{sitmod=[[@{Talent_FieldDressingLvl}+@{Talent_SurgeryLvl}]]}} {{sitfail=[[@{Talent_FieldDressingLvl}]]}} {{test=[[@{roll_rule}]]}} {{mod1type=[[@{Heal_modtype1}]]}} {{mod1=@{Heal_mod1}}} {{mod2type=[[@{Heal_modtype2}]]}} {{mod2=@{Heal_mod2}}} {{mod3type=[[@{Heal_modtype3}]]}} {{mod3=@{Heal_mod3}}} {{reroll=@{RT-reroll}Healroll)}} {{fielddressing=[[@{Talent_FieldDressingLvl}]]}} {{surgery=[[@{Talent_SurgeryLvl}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -49957,7 +51351,7 @@ on('clicked:hypnotismroll', (eventInfo) => { getAttrs(["IntelligenceBonus"], function(v) { - let roll = ' {{sl=[[0]]}} {{slbonus=[[0]]}} {{sladd=[[0]]}} {{intBns=[[@{IntelligenceBonus} [IntB + SL]]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{title=^{HYPNOTISM}}} {{skill=^{ADVANCED-SKILL}}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[(@{HypnotismChar}+@{HypnotismAdv}+@{HypnotismMisc})*@{HypnotismTaken})]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{skilltest=true}} {{test=[[@{roll_rule}]]}} {{mod1type=[[@{Hypnotism_modtype1}]]}} {{mod1=@{Hypnotism_mod1}}} {{mod2type=[[@{Hypnotism_modtype2}]]}} {{mod2=@{Hypnotism_mod2}}} {{mod3type=[[@{Hypnotism_modtype3}]]}} {{mod3=@{Hypnotism_mod3}}} {{reroll=@{RT-reroll}Hypnotismroll)}}'; + let roll = ' {{sl=[[0]]}} {{slbonus=[[0]]}} {{sladd=[[0]]}} {{intBns=[[@{IntelligenceBonus} [IntB + SL]]]}} {{modvalue=[[?{@{translation_modifier}|0}]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_see}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[@{BlindedMod}]]}} {{deafened=[[0]]}} {{title=^{HYPNOTISM}}} {{skill=^{ADVANCED-SKILL}}}} {{character_name=@{character_name}}} {{target=[[ [[@{condgen_see_move}*-1]] [COND] + [[(@{HypnotismChar}+@{HypnotismAdv}+@{HypnotismMisc})*@{HypnotismTaken})]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}} {{skilltest=true}} {{test=[[@{roll_rule}]]}} {{mod1type=[[@{Hypnotism_modtype1}]]}} {{mod1=@{Hypnotism_mod1}}} {{mod2type=[[@{Hypnotism_modtype2}]]}} {{mod2=@{Hypnotism_mod2}}} {{mod3type=[[@{Hypnotism_modtype3}]]}} {{mod3=@{Hypnotism_mod3}}} {{reroll=@{RT-reroll}Hypnotismroll)}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -50545,7 +51939,7 @@ on('clicked:AmputationTest', (eventInfo) => { getAttrs(["initiative_houserule"], function(v) { - let roll = '{{modvalue=[[?{@{translation_modifier}|0}]]}} {{sl=[[0]]}} {{slbonus=[[0]]}} {{sladd=[[0]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_move}-@{DrunkMod}-@{DistractedMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{title=^{AMPUTATION}}} {{character_name=@{character_name}}} {{attacktype=^{CRITICAL}}} {{amputationroll=true}} {{test=[[@{roll_rule}]]}} {{target=[[ [[@{condgen_move}*-1]] [COND] + [[@{EnduranceChar}+@{EnduranceAdv}+@{EnduranceMisc}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}}'; + let roll = '{{modvalue=[[?{@{translation_modifier}|0}]]}} {{sl=[[0]]}} {{slbonus=[[0]]}} {{sladd=[[0]]}} {{unconscious=[[@{UnconsciousMod}]]}} {{cond=[[@{condgen_move}-@{DrunkMod}]]}} {{drunk=[[@{DrunkMod}]]}} {{fatigued=[[@{FatiguedMod}]]}} {{broken=[[@{BrokenMod}]]}} {{stuned=[[@{StunedMod}]]}} {{distracted=[[@{DistractedMod}]]}} {{poisoned=[[@{PoisonedMod}]]}} {{prone=[[0]]}} {{entangled=[[0]]}} {{blinded=[[0]]}} {{deafened=[[0]]}} {{title=^{AMPUTATION}}} {{character_name=@{character_name}}} {{attacktype=^{CRITICAL}}} {{amputationroll=true}} {{test=[[@{roll_rule}]]}} {{target=[[ [[@{condgen_move}*-1]] [COND] + [[@{EnduranceChar}+@{EnduranceAdv}+@{EnduranceMisc}]] [SKILL] + ?{@{translation_modifier}|0} [MOD] ]]}} {{SLmod=[[?{SL Modifier|0}]]}}'; var trigger = eventInfo.triggerName.slice(8); var prefix = trigger.split('_').slice(0,3).join('_') + '_'; let rollBegins = '@{Whisper} &{template:whfrp2e}'; @@ -51056,7 +52450,8 @@ if (v.RangedMode_Moved == 1) {mod += -10} else {mod += 0} if (v.RangedMode_Cover == 1) {mod += -10} else {mod += 0} - if (v.RangedMode_Cover == 2) {mod += -30} else {mod += 0} + if (v.RangedMode_Cover == 2) {mod += -20} else {mod += 0} + if (v.RangedMode_Cover == 3) {mod += -30} else {mod += 0} if (v.RangedMode_Aim == 1) {mod += 20} else {mod += 0} @@ -51121,9 +52516,9 @@ }); }); -on('change:MeleeMode_Outnumbered change:DefenseMode_Defensive change:MeleeMode_Prone change:MeleeMode_Charging change:MeleeMode_Aimed change:MeleeMode_STS change:MeleeMode_Size change:Size change:MeleeMode_Size change:MeleeMode_Reach change:MeleeMode_Infight', function(event){ +on('change:MeleeMode_Outnumbered change:DefenseMode_Defensive change:MeleeMode_Prone change:MeleeMode_Charging change:MeleeMode_Aimed change:MeleeMode_STS change:MeleeMode_Size change:Size change:MeleeMode_Size change:MeleeMode_Reach change:MeleeMode_Infight change:Distracted', function(event){ console.log("Melee Mode change"); - getAttrs(["Used_MeleeBonus", "Used_DefenseBonus", "MeleeMode_Outnumbered", "DefenseMode_Defensive", "MeleeMode_Prone", "MeleeMode_Charging", "MeleeMode_Aimed", "MeleeMode_STS", "MeleeMode_Size", "Size", "MeleeMode_Reach", "MeleeMode_Infight"], function(v) { + getAttrs(["Distracted","Used_MeleeBonus", "Used_DefenseBonus", "MeleeMode_Outnumbered", "DefenseMode_Defensive", "MeleeMode_Prone", "MeleeMode_Charging", "MeleeMode_Aimed", "MeleeMode_STS", "MeleeMode_Size", "Size", "MeleeMode_Reach", "MeleeMode_Infight"], function(v) { var trigger = event.triggerName.slice(0, -10); var trigger2 = event.triggerName; @@ -51221,12 +52616,13 @@ "Used_MeleeBonusDef": 0, "MeleeMode_Prone": 0, "MeleeMode_Frenzy": 0, - "MeleeMode_BNE": 0, + "MeleeMode_VsObject": 0, "MeleeMode_Drilled": 0, "MeleeMode_Disarm": 0, "MeleeMode_Feint": 0, "MeleeMode_Infight": 0, "MeleeMode_Charging": 0, + "MeleeMode_Underminer": 0, "MeleeMode_Aimed": 0, "MeleeMode_STS": 0, "MeleeMode_Beat": 0, @@ -51266,19 +52662,20 @@ on('sheet:opened', function(event){ if (event.sourceType === 'sheetworker') return; - getAttrs(["Used_RangedBonus", "RangedMode_Engaged", "RangedMode_Range", "RangedMode_Size", "RangedMode_Moved", "MeleeMode_BNE", "RangedMode_Called"], function(v) { + getAttrs(["Used_RangedBonus", "RangedMode_Engaged", "RangedMode_Range", "RangedMode_Size", "RangedMode_Moved", "MeleeMode_VsObject", "RangedMode_Called"], function(v) { setAttrs( { "MeleeMode_Outnumbered": 0, "MeleeMode_Prone": 0, "MeleeMode_Frenzy": 0, - "MeleeMode_BNE": 0, + "MeleeMode_VsObject": 0, "MeleeMode_Drilled": 0, "MeleeMode_Disarm": 0, "MeleeMode_Feint": 0, "MeleeMode_Infight": 0, - "MeleeMode_Charging": 0, + "MeleeMode_Charging": 0, + "MeleeMode_Underminer": 0, "MeleeMode_Aimed": 0, "MeleeMode_STS": 0, "MeleeMode_Beat": 0, @@ -51355,40 +52752,83 @@ }); -on('change:Talent_DrilledLvl change:Talent_BreakandEnterLvl change:Talent_DisarmLvl change:Talent_InFighterLvl change:Talent_FrenzyLvl change:Talent_FeintLvl change:Talent_StriketoStunLvl change:Talent_BeatBladeLvl change:Talent_FastShotLvl', function(event){ +on('change:MeleeMode_WoD', function(event){ + if (event.sourceType === 'sheetworker') return; + console.log("Activate WoD"); + setAttrs({ + "MeleeMode_VsObject": 0, + "MeleeMode_Disarm": 0, + "MeleeMode_Drilled": 0, + "MeleeMode_Frenzy": 0, + "MeleeMode_Feint": 0, + "MeleeMode_Charging": 0, + "MeleeMode_Infight": 0, + "MeleeMode_DualWield": 0, + "MeleeMode_Underminer": 0, + "DefenseMode_Defensive": 0, + "MeleeMode_Aimed": 0, + "MeleeMode_STS": 0, + "MeleeMode_Beat": 0, + }, {silent: true}); + +}); + +on('change:MeleeMode_VsObject', function(event){ + if (event.sourceType === 'sheetworker') return; + console.log("Activate WoD"); + setAttrs({ + "MeleeMode_WoD": 0, + "MeleeMode_Disarm": 0, + "MeleeMode_Drilled": 0, + "MeleeMode_Frenzy": 0, + "MeleeMode_Feint": 0, + "MeleeMode_Charging": 0, + "MeleeMode_Underminer": 0, + "DefenseMode_Defensive": 0, + "MeleeMode_Aimed": 0, + "MeleeMode_STS": 0, + "MeleeMode_Beat": 0, + }, {silent: true}); + +}); + +on('change:Talent_DrilledLvl change:Talent_DualWielderLvl change:Talent_BreakandEnterLvl change:Talent_DisarmLvl change:Talent_InFighterLvl change:Talent_FrenzyLvl change:Talent_FeintLvl change:Talent_FrenzyLvl change:Talent_StriketoStunLvl change:Talent_BeatBladeLvl change:Talent_FastShotLvl change:Talent_UnderminerLvl change:Talent_WhirlwindofDeathLvl', function(event){ if (event.sourceType === 'sheetworker') return; console.log("Modifier reset"); - getAttrs(["Talent_DrilledLvl", "Talent_BreakandEnterLvl", "Talent_DisarmLvl", "Talent_InFighterLvl", "Talent_FeintLvl", "Talent_FastShotLvl", "Talent_FrenzyLvl", "Talent_StriketoStunLvl", "Talent_BeatBladeLvl"], function(v) { - - bnedis = 0; - dnfdis = 0; - - if (v.Talent_DrilledLvl > 0) {drill = 1; dnfdis = 1;} else {drill = 0;} - if (v.Talent_FeintLvl > 0) {feint = 1; dnfdis = 1;} else {feint = 0;} - if (v.Talent_FrenzyLvl > 0) {frenzy = 1; dnfdis = 1;} else {frenzy = 0;} - - if (v.Talent_BreakandEnterLvl > 0) {bne = 1; bnedis = 1;} else {bne = 0;} - if (v.Talent_DisarmLvl > 0) {disarm = 1; bnedis = 1;} else {disarm = 0;} - if (v.Talent_InFighterLvl > 0) {infight = 1; bnedis = 1;} else {infight = 0;} - if (v.Talent_BeatBladeLvl > 0) {bblade = 1; bnedis = 1;} else {bblade = 0;} + getAttrs(["Talent_DrilledLvl", "Talent_DualWielderLvl", "Talent_BreakandEnterLvl", "Talent_DisarmLvl", "Talent_InFighterLvl", "Talent_FeintLvl", "Talent_FastShotLvl", "Talent_FrenzyLvl", "Talent_StriketoStunLvl", "Talent_BeatBladeLvl", "Talent_UnderminerLvl", "Talent_WhirlwindofDeathLvl"], function(v) { + var trigger = event.triggerName; + + if (v.Talent_DrilledLvl > 0) {drill = 1;} else {drill = 0;} + if (v.Talent_DualWielderLvl > 0) {dw = 1;} else {dw = 0;} + if (v.Talent_FeintLvl > 0) {feint = 1;} else {feint = 0;} + if (v.Talent_FrenzyLvl > 0) {frenzy = 1;} else {frenzy = 0;} + if (v.Talent_BreakandEnterLvl > 0) {bne = 1;} else {bne = 0;} + if (v.Talent_DisarmLvl > 0) {disarm = 1;} else {disarm = 0;} + if (v.Talent_InFighterLvl > 0) {infight = 1;} else {infight = 0;} + if (v.Talent_BeatBladeLvl > 0) {bblade = 1;} else {bblade = 0;} + if (v.Talent_WhirlwindofDeathLvl > 0) {wod = 1;} else {wod = 0;} if (v.Talent_StriketoStunLvl > 0) {sts = 1;} else {sts = 0;} - if (v.Talent_FastShotLvl > 0) {fastshot = 1;} else {fastshot = 0;} + if (v.Talent_UnderminerLvl > 0) {underm = 1;} else {underm = 0;} + + console.log("Declare list change"); + console.log(trigger); - console.log(fastshot); setAttrs( { "BeatBladeShow": bblade, "DrilledShow": drill, + "DualWieldShow": dw, "FeintShow": feint, - "DrillFeintShow": dnfdis, + "FrenzyShow": frenzy, "FastShotShow": fastshot, + "Underminershow": underm, "DisarmShow": disarm, + "WoDShow": wod, "BNEShow": bne, "InfightShow": infight, "STSShow": sts, - "MeleeAbilityShow": bnedis, }, {silent: true}); }); }); @@ -52053,7 +53493,152 @@ }, {silent: true}); }); }); + + +on('sheet:open change:WeaponSkillStart change:FellowshipStart', function(event){ + if (event.sourceType === 'sheetworker') return; + getAttrs(["WeaponSkillStart", "FellowshipStart"], function(v) { + console.log("Show Char Roll check"); + + ws = v.WeaponSkillStart*1; + fel = v.FellowshipStart*1; + + out = ws + fel; + + console.log(out); + setAttrs({ + "TotalStart": out, + }, {silent: true}); + }); +}); + +function getRandomInt(min, max) { + const minCeiled = Math.ceil(min); + const maxFloored = Math.floor(max); + return Math.floor(Math.random() * (maxFloored - minCeiled) + minCeiled); +} + +on('clicked:CharRoll', function(event){ + if (event.sourceType === 'sheetworker') return; + console.log("Rolling Charactistics by Race"); + getAttrs(["Race"], function(v) { + + race = v.Race; + console.log(race); + + if (race == "Human") { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + ini = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + out = ws + fel; + } + + if (race == "Dwarf") { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + ini = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 40; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + out = ws + fel; + } + + if (race.includes("Elf")) { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + ini = getRandomInt(1, 10) + getRandomInt(1, 10) + 40; + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + out = ws + fel; + } + + if (race == "Halfling") { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + ini = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + out = ws + fel; + } + + if (race == "Gnome") { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 15; + ini = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 30; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 40; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 15; + out = ws + fel; + } + if (race == "Ogre") { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 35; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 35; + ini = getRandomInt(1, 10) + getRandomInt(1, 10); + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 15; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 10; + out = ws + fel; + } + if (race == "Norse") { + ws = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + bs = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + str = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + tou = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + ini = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + agi = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + dex = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + itel = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + wil = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + fel = getRandomInt(1, 10) + getRandomInt(1, 10) + 20; + out = ws + fel; + } + setAttrs({ + "WeaponSkillStart": ws, + "BallisticSkillStart": bs, + "StrengthStart": str, + "ToughnessStart": tou, + "InitiativeStart": ini, + "AgilityStart": agi, + "DexterityStart": dex, + "IntelligenceStart": itel, + "WillPowerStart": wil, + "FellowshipStart": fel, + "TotalStart": out, + }, {silent: true}); + + }); +}); + \ No newline at end of file diff --git a/Warhammer 4e Character Sheet/translation.json b/Warhammer 4e Character Sheet/translation.json index b5c98434ed0..2ab33929d68 100644 --- a/Warhammer 4e Character Sheet/translation.json +++ b/Warhammer 4e Character Sheet/translation.json @@ -83,6 +83,7 @@ "ABBREVIATE-DEXTERITY": "Dex", "ABBREVIATE-INTELLIGENCE": "Int", "ABBREVIATE-WILL-POWER": "WP", + "ABBREVIATE-INT-WILL-POWER": "I+WP", "ABBREVIATE-FELLOWSHIP": "Fel", "ABBREVIATE-WOUNDS": "W", "ABBREVIATE-MOVEMENT": "M", @@ -362,13 +363,13 @@ "BESMIRCHED": "Besmirched", "TARGET-NUMBER": "Target Number", "TRIP": "Trip", - "TRIP-EFFECT": "Trip: On hit you can spend 2 Adv for Opp Str/Ath test to try make the target Prone.", + "TRIP-EFFECT": "Trip: On hit you can spend 2 Adv for Strength/Athletics test to cause Prone.", "UNBALANCED": "Unbalanced", "SPREAD": "Spread", "SLASH": "Slash", "XA": "XA", "WARPSTONE": "Warpstone", - "WARPSTONE-EFFECT": "Warpstone: (+0) Cool/Endurance Test, if failed target gains 1 corruption", + "WARPSTONE-EFFECT": "Warpstone: On hit inflicts Minor Corruption", "ZZAP": "ZZAP!", "ZZAP-EFFECT": "ZZAP!: -1 AP & Ignore Metal AP", "SLASH-EFFECT": "Slash: +1 Bleeding (Inc. by 1, for", @@ -442,8 +443,6 @@ "RUPTURED-LIGAMENT-DESC-UNARMED": "Drop items held in that hand. Suffer a Torn Muscle (Major) injury.", "DISLOCATED-SHOULDER-DESC-UNARMED": "The arm counts as lost (see Amputated Part). Gain 1 Stunned Condition until you receive Medical Attention. After initial treatment an Extended Average (+20) Heal Test reaching 6 SL resets the arm. After which tests made using the arm suffer a –10 penalty for 1d10 days.", - - "GLANCING-BLOW": "Glancing blow", "GLANCING-BLOW-DESC-UNARMED": "The strike bounces off but slightly staggers you. Make an athletics (+20) test or gain the prone condition", "PAINFUL-HIT": "Painful hit", @@ -1206,9 +1205,9 @@ "SLOW-EFFECT": "Slow: Defender Opposed test +1 SL", "TIRING": "Tiring", "HACK": "Hack", - "HACK-EFFECT": "Hack: On hit HitLoc Armor Dmg +1", + "HACK-EFFECT": "Hack: On hit HitLoc Armor Dmg + 1", "PUMMEL": "Pummel", - "PUMMEL-EFFECT": "Pummel: Opposed (Str/End) to Stun", + "PUMMEL-EFFECT": "Pummel: On hit Opp (Str/End) to Stun", "PENETRATING": "Penetrating", "PENETRATING-EFFECT": "Penetrating: -1 AP & Ignore non-Metal AP", "RELOAD": "Reload", @@ -1219,7 +1218,7 @@ "BLAST-EFFECT": "Blast: Dmg hits all within", "ACCURATE": "Accurate", "DISTRACT": "Distract", - "DISTRACT-EFFECT": "Distract: Dmg or push back", + "DISTRACT-EFFECT": "Distract: Dmg or push back Opposed SL", "WRAP": "Wrap", "WRAP-EFFECT": "Wrap: Defender Opposed test -1 SL Mod", "ENTANGLE": "Entangle", @@ -1228,37 +1227,48 @@ "TRAP-BLADE": "Trap Blade", "TRAP-BLADE-EFFECT": "Or Trap Blade : Opp Str test", "BLACKPOWDER": "Blackpowder", - "BLACKPOWDER-EFFECT": "Target +20 Cool test or +1 Broken", + "BLACKPOWDER-EFFECT": "Blackpowder: Target +20 Cool test or +1 Broken", "AMBIDEXTROUS": "Ambidextrous", "BEAT-BLADE": "Beat Blade", "ANIMAL-AFFINITY": "Animal Affinity", "ARCANE-MAGIC": "Arcane Magic", "ARGUMENTATIVE": "Argumentative", + "ARGUMENTATIVE-SIT": "Charm Tests when arguing and debating", "ARTISTIC": "Artistic", "ATTRACTIVE": "Attractive", + "ATTRACTIVE-SIT": "Charm Tests to influence those attracted to you", "ACUTE-SENSE": "Acute Sense", + "ACUTE-SENSE-SIT": "Perception (Sense)", "ACUTE-SENSE-SENSE": "Acute Sense (Sense)", "SENSE": "Sense", "ARCANE-MAGIC-LORE": "Arcane Magic (Lore)", "ALLEY-CAT": "Alley Cat", + "ALLEY-CAT-SIT": "Stealth (Urban)", "BATTLE-RAGE": "Battle Rage", "BENEATH-NOTICE": "Beneath Notice", + "BENEATH-NOTICE-SIT": "Stealth when in plain sight", "BLATHER": "Blather", + "BLATHER-SIT": "Charm to Blather", "BLESS": "Bless", "BOOKISH": "Bookish", - "BREAK-AND-ENTER": "Break & Enter", - "B&E": "B&E", + "BREAK-AND-ENTER": "Break and Enter", + "BREAK-AND-ENTER-SIT": "Melee when breaking inanimate objects", + "B&E": "VsObject", "BRIBERY": "Bribery", "BRIBER": "Briber", "BERSERK-CHARGE": "Berserk Charge", "CARDSHARP": "Cardsharp", + "CARDSHARP-SIT": "Gamble and Sleight of Hand when playing card games", "CAREFUL-STRIKE": "Careful Strike", "CAROUSER": "Carouser", + "CAROUSER-SIT": "Charm at Parties, Gossip at Parties, Consume Alcohol", "CATFALL": "Catfall", "CAT-TONGUED": "Cat-tongued", + "CAT-TONGUED-SIT": "Charm when lying", "CHAOS-MAGIC": "Chaos Magic", "CHAOS-MAGIC-LORE": "Chaos Magic (Lore)", "COMBAT-AWARE": "Combat Aware", + "COMBAT-AWARE-SIT": "Perception during melee", "COMBAT-MASTER": "Combat Master", "COMBAT-REFLEXES": "Combat Reflexes", "COMMANDING-PRESENCE": "Commanding Presence", @@ -1266,7 +1276,9 @@ "CONCOCT": "Concoct", "CONTORTIONIST": "Contortionist", "CRACK-THE-WHIP": "Crack the Whip", + "CRACK-THE-WHIP-SIT": "Drive or Ride Tests when Fleeing or Running", "CRAFTSMAN": "Craftsman", + "CRAFTSMAN-SIT": "Any appropriate Trade Tests", "CRAFTSMAN-TRADE": "Craftsman (Trade)", "CREW-COMMANDER": "Crew Commander", "CRIMINAL": "Criminal", @@ -1274,8 +1286,10 @@ "DEADEYE-SHOT-EFFECT": "Deadeye Shot: Choose hit location", "DEALMAKER": "Dealmaker", "DETECT-ARTEFACT": "Detect Artefact", + "DETECT-ARTEFACT-SIT": "Intuition tests to detect magical artefacts", "DEF-STANCE": "Def. Stance", "DICEMAN": "Diceman", + "DICEMAN-SIT": "Gamble and Sleight of Hand when playing dice games", "DIRTY-FIGHTING": "Dirty Fighting", "DISARM": "Disarm", "DISARM-1-DESC": "Disarm: Oppose with Melee & ignore Dmg", @@ -1294,14 +1308,21 @@ "DRILLED-EFFECT2": "lost Adv", "DRILLED-EFFECT3": "Drilled: Count as 2 at end of round", "DUAL-WIELDER": "Dual Wielder", + "DUAL-WIELD": "Dual Wield", + "DUAL-WIELD-MH": "Dual Wield Main", + "DUAL-WIELD-OH": "Dual Wield Off", + "DUAL-WIELDER-SIT": "Melee or Ranged when attacking with two weapons", "DUAL-WIELD-NOTE": "Dual Wielder 2nd Attack", "USE-DW": "Use Dual Wielder", "EMBEZZLE": "Embezzle", "ENCLOSED-FIGHTER": "Enclosed Fighter", + "ENCLOSED-FIGHTER-SIT": "Dodge in enclosed environments", "ETIQUETTE": "Etiquette", + "ETIQUETTE-SIT": "Charm and Gossip (Social Group)", "ETIQUETTE-GROUP": "Etiquette (Group)", "FAST-SHOT": "Fast Shot", "FAST-HANDS": "Fast Hands", + "FAST-HANDS-SIT": "Sleight of Hand, Melee (Brawling) to touch an opponent", "FEARLESS": "Fearless", "FEARLESS-ENEMY": "Fearless (Enemy)", "ENEMY": "Enemy", @@ -1310,6 +1331,7 @@ "FEINT-2-DESC": "If Won you may add any +SL to your next", "FEINT-3-DESC": "attack on the same target next turn", "FIELD-DRESSING": "Field Dressing", + "FIELD-DRESSING-SIT": "Heal during combat Rounds", "FISHERMAN": "Fisherman", "FLAGELLANT": "Flagellant", "FLEE!": "Flee!", @@ -1319,50 +1341,69 @@ "FURIOUS-ASSAULT": "Furious Assault", "FURIOUS-ASSAULT-EFFECT": "Furious Assault: On Hit", "GREGARIOUS": "Gregarious", + "GREGARIOUS-SIT": "Gossip Tests with travellers", "GUNNER": "Gunner", "GUNNER-EFFECT": "Gunner: +1 Group Advantage", "HATRED-GROUP": "Hatred (Group)", "HOLY-VISIONS": "Holy Visions", + "HOLY-VISIONS-SIT": "Intuition Tests when on holy ground", "HUNTERS-EYE": "Hunter's Eye", "IMPASSIONED-ZEAL": "Impassioned Zeal", + "IMPASSIONED-ZEAL-SIT": "Charm when speaking about your cause", "IMPLACABLE": "Implacable", "IN-FIGHTER": "In-fighter", "INFIGHT": "Infight", "INSPIRING": "Inspiring", + "INSPIRING-SIT": "Leadership during war", "INVOKE": "Invoke", "IRON-JAW": "Iron Jaw", + "IRON-JAW-SIT": "Endurance tests to resist Stunned", "IRON-WILL": "Iron Will", + "IRON-WILL-SIT": "Cool Tests to oppose Intimidate", "JUMP-UP": "Jump Up", "KINGPIN": "Kingpin", "LIGHTNING-REFLEXES": "Lightning Reflexes", "LUCK": "Luck", "LINGUISTICS": "Linguistics", "LIP-READING": "Lip Reading", + "LIP-READING-SIT": "Perception Tests concerning this Talent", "MAGICAL": "Magical", "MAGICAL-EFFECTS": "Magical Effects", "MAGICAL-SENSE": "Magical Sense", + "MAGICAL-SENSE-SIT": "Intuition Tests to detect Wizards", "MAGICAL-ASSISTANT": "Magical Assistant", "MAGIC-RESISTANCE": "Magic Resistance", "MAGNUM-OPUS": "Magnum Opus", "MARKSMAN": "Marksman", "MASTER-AND-COMMANDER": "Master and Commander", "MASTER-OF-DISGUISE": "Master of Disguise", + "MASTER-OF-DISGUISE-SIT": "Entertain (Acting) when being someone else", "MASTER-ORATOR": "Master Orator", "MASTER-TRADESMAN": "Master Tradesman", + "MASTER-TRADESMAN-SIT": "Any appropriate Extended Trade Tests", "TRADE": "Trade", "MENACING": "Menacing", "MIMIC": "Mimic", + "MIMIC-SIT": "Entertain (Acting) Tests where accents are important", "NIGHT-VISION": "Night Vision", + "NIGHT-VISION-SIT": "Perception tests in low-light conditions", "NIMBLE-FINGERS": "Nimble Fingers", "NOBLE-BLOOD": "Noble Blood", + "NOBLE-BLOOD-SIT": "Any Test influenced by your Status", "NOSE-FOR-TROUBLE": "Nose for Trouble", + "NOSE-FOR-TROUBLE-SIT": "Any Test to spot Troublemakers", "NUMISMATICS": "Numismatics", + "NUMISMATICS-SIT": "Evaluate to establish the worth of coins", "OLD-SALT": "Old Salt", + "OLD-SALT-SIT": "Sail (any Sea-worthy Vessels)", "ORIENTATION": "Orientation", "PANHANDLE": "Panhandle", + "PANHANDLE-SIT": "Charm (Begging)", "PETTY-MAGIC": "Petty Magic", "PHARMACIST": "Pharmacist", + "PHARMACIST-SIT": "Trade (Apothecary)", "PILOT": "Pilot", + "PILOT-SIT": "Row or Sail Tests while navigating unsure waters", "PUBLIC-SPEAKER": "Public Speaker", "PURE-SOUL": "Pure Soul", "RAPID-RELOAD": "Rapid Reload", @@ -1371,6 +1412,7 @@ "READ/WRITE": "Read/Write", "RELENTLESS": "Relentless", "RESISTANCE": "Resistance", + "RESISTANCE-SIT": "All those to resist the associated Threat", "RESISTANCE-THREAT": "Resistance (Threat)", "THREAT": "Threat", "RESOLUTE": "Resolute", @@ -1389,7 +1431,9 @@ "SCHEMER": "Schemer", "SEA-LEGS": "Sea Legs", "SEASONED-TRAVELLER": "Seasoned Traveller", + "SEASONED-TRAVELLER-SIT": "Any Lore Test concerning local detail", "SECOND-SIGHT": "Second Sight", + "SECOND-SIGHT-SIT": "Any Test to detect the Winds of Magic", "SECRET-IDENTITY": "Secret Identity", "SHADOW": "Shadow", "SHARP": "Sharp", @@ -1400,17 +1444,22 @@ "SHIELDSMAN-EFFECT": "Shieldsman: If Opp Roll lost", "SHIELDSMAN-EFFECT2": "Spend 2 Adv to push 2 ft or do Dmg", "SIXTH-SENSE": "Sixth Sense", + "SIXTH-SENSE-SIT": "Intuition Tests involving your Sixth Sense", "SLAYER": "Slayer", "SLAYER-EFFECT": "Slayer: Use target TB if > SB", "SLAYER-CRIT-EFFECT": "Slayer: Times ALL dmg by size diff", "SMALL": "Small", "SPEEDREADER": "Speedreader", + "SPEEDREADER-SIT": "Speedreader", "SPRINTER": "Sprinter", "STEP-ASIDE": "Step Aside", + "STEP-ASIDE-SIT": "Dodge Tests to activate this Talent", "STRIDER": "Strider", + "STRIDER-SIT": "Athletics Tests to traverse the Terrain", "STRIDER-TERRAIN": "Strider (Terrain)", "TERRAIN": "Terrain", "STOUT-HEARTED": "Stout-hearted", + "STOUT-HEARTED-SIT": "Cool Tests to remove Broken Conditions", "STONE-SOUP": "Stone Soup", "STRONG-LEGS": "Strong Legs", "STRONG-MINDED": "Strong-minded", @@ -1442,6 +1491,7 @@ "SURE-SHOT-EFFECT": "Sure Shot: Ingore", "SURE-SHOT-EFFECT2": "AP on HitLoc", "SURGERY": "Surgery", + "SURGERY-SIT": "Heal Tests outside combat rounds; i.e. when you havetime to do it ‘properly’", "DANGEROUS": "Dangerous", "IMPRECISE": "Imprecise", "UNDAMAGING": "Undamaging", @@ -1451,21 +1501,29 @@ "STRIKE-TO-STUN": "Strike to Stun", "STRIKE-MIGHTY-BLOW": "Strike Mighty Blow", "TENACIOUS": "Tenacious", + "TENACIOUS-SIT": "Endurance Tests for enduring hardships", "TINKER": "Tinker", + "TINKER-SIT": "Trade Tests to repair broken items", "TOWER-OF-MEMORIES": "Tower Of Memories", "TRAPPER": "Trapper", + "TRAPPER-SIT": "Perception Tests to spot traps, Set Trap", "TRICK-RIDING": "Trick Riding", + "TRICK-RIDING-SIT": "Dodge Tests on Horseback, Ride (Horse)", "TUNNEL-RAT": "Tunnel Rat", + "TUNNEL-RAT-SIT": "Stealth Tests when underground", "UNSHAKABLE": "Unshakable", + "UNSHAKABLE-SIT": "Cool Tests to resist Blackpowder panic", "VERY-RESILIENT": "Very Resilient", "VERY-STRONG": "Very Strong", "VICE": "Vice", "WAR-LEADER": "War Leader", + "WAR-LEADER-SIT": "Leadership Tests during War", "WAR-LEADER-EFFECT": "Targets gain +", "WAR-LEADER-EFFECT2": "SL to WP test (1/round)", "WAR-WIZARD": "War Wizard", "WARRIOR-BORN": "Warrior Born", "WATERMAN": "Waterman", + "WATERMAN-SIT": "Sail Tests for river-going vessels", "WEALTHY": "Wealthy", "WELL-PREPARED": "Well-prepared", "WITCH!": "Witch!", @@ -1780,11 +1838,61 @@ "MEMBERS": "Members", "CREDITORS": "Creditors", "DISTRACTED": "Distracted", + "CREWED": "Crewed", + "SALVO": "Salvo", + "CHAR-ROLL": "Char Roll", "OOPS-TABLE": "Fumble/Oops Rules", "HOUSERULE1-OOPS-TABLE": "Houserule 1: Core Rule Book (Default)", "HOUSERULE2-OOPS-TABLE": "Houserule 2: Extended Rules V1.1 (by FighterChimp on Ratcatcher Guild Discord)", "IMPROVISED_WEAPON": "Improvised Weapon", + "CORE-TALENTS": "Core Talents", + "DWARF-TALENTS": "Dwarf Player's Guide Talents", + "RUNESMITHING": "Runesmithing", + "GRUDGES-CAP": "GRUDGES", + "GRUDGES": "Grudges", + "BLOOD-GRUDGES": "Blood Grudges", + "RESOLVED-GRUDGES": "Resolved Grudges", + "COMBAT-MODIFIERS": "Combat Modifiers:", + "RANGED-MODIFIERS": "Ranged Modifiers:", + "DECLARE-ACTION": "Declare Attack Options:", + "MAGIC-QUICK-MENU": "Magic Quickbar", + "MELEE-QUICK-MENU": "Melee Quickbar", + "RANGED-QUICK-MENU": "Ranged Quickbar", + + "ANCESTRAL-GRUDGE": "Ancestral Grudge", + "BLUDGEONER": "Bludgeoner", + "BLUDGEONER-EFFECT": "Bludgeoner: Additional stuns +", + "DEMOLISHER": "Demolisher", + "DEMOLISHER-SIT": "Melee when breaking inanimate objects using a Hack weapon", + "DEMOLISHER-EFFECT": "Demolisher: Additional Armor Dmg +", + "DEMOLISHER-EFFECT2": "Demolisher Ranged: Decreases cover by 1 lvl", + "DRAGON-BELCHER": "Dragon Belcher", + "DRAGON-BELCHER-EFFECT": "Dragon Belcher: Additional Broken +", + + "ENTRENCHMENT": "Entrenchment", + "ENTRENCHMENT-SIT": "Trade when constructing protective cover", + "FORGEFIRE": "Forgefire", + "GLORIOUS-DEMISE": "Glorious Demise", + "HARPOONER": "Harpooner", + "KINGSGUARD": "Kingsguard", + "LIQUID-FORTIFICATION": "Liquid Fortification", + "LONG-MEMORY": "Long Memory", + "LONG-MEMORY-SIT": "Intelligence Tests to remember", + "MAGIC-DEFIANCE": "Magic Defiance", + "MAGIC-DEFIANCE-SIT": "Willpower Tests to use Magic Resistance", + "MASTER-RUNE-MAGIC": "Master Rune Magic", + "MAVERICK": "Maverick", + "MAVERICK-SIT": "Sail (Skycraft) Tests to fly fast and dangerous", + "RUNE-MAGIC": "Rune Magic", + "SHORT-FUSE": "Short Fuse", + "SHORT-FUSE-EFFECT": "Short Fuse: Additional", + "TIRELESS": "Tireless", + "UNDERMINER": "Underminer", + "WHIRLWIND-OF-DEATH": "Whirlwind of Death", + "WHIRLWIND-OF-DEATH-DESC": "Whirlwind of Death: Spend 1 Fortune to make a Melee attack against all creatures Engaged with you. The GM chooses one enemy to Oppose this Test. If your attack succeeds, you inflict the same Damage to the same Hit Location against all Engaged creatures, calculated as normal. Do not apply Criticals on Whirlwind of Death attacks, though Critical Wounds are inflicted on enemies reduced to 0 Wounds as normal.", + "WHIRLWIND-OF-DEATH-DESC2": "You cannot activate any other special attack options as part of a Whirlwind of Death. However, if a Character with Dual Wielder (WFRP Core Rulebook) is wielding two weapons as part of a Whirlwind of Death, they may Reverse their Melee attack Test.", + "WOD": "W.o.Death", "TALENT-INTEGRATION": "Talents Integration options", "OVERCAST-TABLE": " --=( Overcast Table )=-- \n SL Targets Damage Range AoE Duration \n 1 +1 +1 x2 N/a N/a \n 2 +1 +2 x2 N/a x2 \n 3 +1 +3 x2 x2 x2 \n 5 +2 +4 x3 x2 x2 \n 8 +2 +5 x3 x2 x3 \n 13 +2 +6 x3 x3 x3 \n 21 +3 +7 x4 x3 x3"