mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-06 23:22:34 +00:00
clean up
This commit is contained in:
@@ -31335,12 +31335,6 @@
|
||||
<option value="(@{ChannellingLight})" data-i18n="LIGHT">Light</option>
|
||||
<option value="(@{ChannellingDeath})" data-i18n="DEATH">Death</option>
|
||||
<option value="(@{ChannellingShadows})" data-i18n="SHADOWS">Shadows</option>
|
||||
<option value="(@{ChannellingHighMagic})" data-i18n="HIGH-MAGIC">High Magic</option>
|
||||
<option value="(@{ChannellingWitch})" data-i18n="WITCH">Witch</option>
|
||||
<option value="(@{ChannellingDark})" data-i18n="DARK">Dark</option>
|
||||
<option value="(@{ChannellingChaos})" data-i18n="CHAOS">Chaos</option>
|
||||
<option value="(@{ChannellingGreatMaw})" data-i18n="GREAT-MAW">Great Maw</option>
|
||||
<option value="(@{ChannellingMisc})" data-i18n="MISC">Misc</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -51316,8 +51310,8 @@ on('clicked:repeating_spellbookrituals:extchannellingloreroll', (eventInfo) => {
|
||||
con = (Math.floor(target / 10) - Math.floor(test / 10));
|
||||
|
||||
if ( test <= target ) {
|
||||
if ( con = 0 ) {computed = 1; console.log("set to 1");} else {computed = (Math.floor(target / 10) - Math.floor(test / 10)); console.log("set to con 1");}
|
||||
} else {computed = (Math.floor(target / 10) - Math.floor(test / 10)); console.log("set to con 2");}
|
||||
if ( con = 0 ) {computed = 1;} else {computed = (Math.floor(target / 10) - Math.floor(test / 10));}
|
||||
} else {computed = (Math.floor(target / 10) - Math.floor(test / 10));}
|
||||
|
||||
const computed2 = (((test-1)%10)+1) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user