Fixed table look up for crit II description
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user