Fixed table look up for crit II description

This commit is contained in:
Peter Bjerg Lidegaard
2022-04-19 22:28:17 +02:00
parent 953984ac00
commit 9a78db4378
+1 -1
View File
@@ -1603,7 +1603,7 @@ on('clicked:repeating_weapons-damage:crit2-melee', function(eventInfo) {
if (severityRoll < 4) {
critEffect = 'No unusual effect'
} else if (CRIT_EFFECT_TABLE[weaponType]) {
critEffect = CRIT_EFFECT_TABLE[weaponType][targetType][locationObject['location'][severityRoll]];
critEffect = CRIT_EFFECT_TABLE[weaponType][targetType][locationObject['location']][severityRoll]];
} else {
critEffect = 'No unusual effect';
}