Quote:
if diceRolled == 3 then
Debug.console("diceRolled: ", diceRolled);
local nTotal = rRoll.nMod;
Debug.console("nTotal1: ", nTotal);
nTotal = nTotal + rRoll.aDice[3].result;
Debug.console("nTotal2: ", nTotal);
x1 = rRoll.aDice[1].result;
Debug.console("x1: ", x1);
x2 = rRoll.aDice[2].result;
Debug.console("x2: ", x2);
if ( nTotal >= x1 and nTotal >= x2 ) then
rMessage.text = "\n" .. rMessage.text .. "\n[Strong Hit] ".. nTotal;
elseif (( nTotal >= x1 and nTotal < x2 ) or (nTotal >= x2 and nTotal < x1)) then
rMessage.text = "\n" .. rMessage.text .. "\n[Weak Hit] ".. nTotal;
He realizado pruebas y he conseguido solucionarlo sin modificar MoreCore.pak, directamente en Ironsworn.mod en el fichero db.xml: