Skip to content

Commit

Permalink
fix for conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Djjus committed Dec 12, 2024
1 parent 0bba20e commit f22076b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Warhammer 4e Character Sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ Note conditions are not intended for out of combat situations, GM simply makes t
///// ============ Change Log ============ /////


Dec 14th 2024 v1.74a

- Fix for Conditions not working


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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36641,7 +36641,7 @@
<div class="col-1 pad-l-md pad-r-md rt-effects" style="color: #858585"><span data-i18n="FURIOUS-ASSAULT-EFFECT"></span> <span class="chat-button-ripostedmg center" style="height: 10px" data-i18n-title="USE-FURIOUS-ASSAULT" >{{RTfuriousassault}}</span></div>
{{/RTfuriousassault}} {{/rollGreater() furiousassault 0}}
{{#rollGreater() warpstone 0}}
<div class="col-100-100 pad-l-md pad-r-md rt-effects"><span style="margin-right: 3px; color: #858585" data-i18n="WARPSTONE-EFFECT">Warpstone Crit: On hit cause exposure to Minor Corruption</span></div>
<div class="col-100-100 pad-l-md pad-r-md rt-effects"><span style="margin-right: 3px; color: #858585" data-i18n="WARPSTONE-EFFECT">Warpstone: On hit cause exposure to Minor Corruption</span></div>
{{/rollGreater() warpstone 0}}
{{#^rollTotal() tiring 0}}
<div class="col-100-100 pad-l-md pad-r-md rt-effects" style="margin-right: 3px;color: #858585"><span data-i18n="TIRING">Tiring</span></div>
Expand Down Expand Up @@ -44930,8 +44930,8 @@
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;}}
if (v.Prone > 0) {pout = 1;} else {pout = 0;};
if (pout > 0) {pmod = 0;} else {pmod = 1;}} else {pout = 0; pmod = 1;}

var tiretmp = parseInt(v.Talent_TirelessLvl);
if (tiretmp > 0) {tire = tiretmp + 1;} else {tire = 0;}
Expand Down

0 comments on commit f22076b

Please sign in to comment.