removed unused processesseessess
This commit is contained in:
parent
348f355eb2
commit
4fdc567e08
158 changed files with 1317 additions and 3351 deletions
|
|
@ -78,7 +78,6 @@ const HEALTH = (() => {
|
|||
t.lastDamageAt = now;
|
||||
if (t.lastDamageAmount >= 6 || t.lastDamageAmount >= Math.max(4, (t.energy || 0) * 0.22)) {
|
||||
t.lastMajorDamageCause = cause;
|
||||
t.lastMajorDamageAmount = t.lastDamageAmount;
|
||||
t.lastMajorDamageAt = now;
|
||||
}
|
||||
return cause;
|
||||
|
|
@ -207,7 +206,6 @@ const HEALTH = (() => {
|
|||
if (total < maxEnergy * 0.30) return false;
|
||||
const majorCause = causeLabel(dominant.cause || cause) || causeLabel(cause) || CAUSES.accident;
|
||||
t.lastMajorDamageCause = majorCause;
|
||||
t.lastMajorDamageAmount = total;
|
||||
t.lastMajorDamageAt = now;
|
||||
if (now < Number(t.nextMajorDamageVoiceAt || -999)) return false;
|
||||
t.nextMajorDamageVoiceAt = now + 1.0;
|
||||
|
|
@ -298,10 +296,6 @@ const HEALTH = (() => {
|
|||
}
|
||||
|
||||
return Object.freeze({
|
||||
MAJOR_DAMAGE_WINDOW,
|
||||
WEAKENED_TRACE_WINDOW,
|
||||
CAUSES,
|
||||
causeLabel,
|
||||
recentDamageCause,
|
||||
rememberDamage,
|
||||
weakenedDeathReasonFor,
|
||||
|
|
@ -309,8 +303,6 @@ const HEALTH = (() => {
|
|||
normalizeDeathReason,
|
||||
applyDamage,
|
||||
briefDeathReason,
|
||||
maybeReleaseZunchiFromDamage,
|
||||
maybeTriggerMajorDamageReaction,
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue