Fixed a bug where if shock is erroneously set to 0, incSeverity is set to infinity and the script loops forever on line 260.
This commit is contained in:
parent
a8578c3aa1
commit
1cd0506d3e
@ -233,7 +233,7 @@ export class SoSUtility extends Entity {
|
||||
}
|
||||
|
||||
let dr = flipData.target.actor.data.data.scores.dr.value;
|
||||
let shock = flipData.target.actor.data.data.scores.shock.value;
|
||||
let shock = flipData.target.actor.data.data.scores.shock.value || 1;
|
||||
let defenseCritical = flipData.target.actor.data.data.scores.defense.critical;
|
||||
flipData.damageStatus = 'apply_damage';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user