Minor bug fix
Fixed issue with Adv/Disadv not applying to non-multi hit rolls
This commit is contained in:
@@ -6876,7 +6876,7 @@ on('clicked:rollCombat', (info) => {
|
||||
combinedice3 = parseInt(basedice3) + parseInt(distortdice3) + parseInt(skilldice3) + parseInt(activepower);
|
||||
|
||||
/* Multi-hit roll prep */
|
||||
let multihitdebuff = " ";
|
||||
let multihitdebuff = "";
|
||||
|
||||
if(combinedice1 > 1 && multihitfull != "true"){
|
||||
multihitdebuff = parseInt((-2)*(combinedice1 - 1));
|
||||
@@ -6952,11 +6952,17 @@ on('clicked:rollCombat', (info) => {
|
||||
for(let i = 0; i< dcounter ;i++){
|
||||
rollformat += " [[" + baseformat + "]]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
rollformat = "[[" + baseformat + "]]";
|
||||
if(advstate != "0"){
|
||||
rollformat = "[[" + advformat + advmod + "]]";
|
||||
}
|
||||
else {
|
||||
|
||||
rollformat = "[[" + baseformat + "]]";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user