Physical and arcane damage

This commit is contained in:
2026-09-30 09:56:53 -03:00
parent 88659bb7af
commit 9e580f175e
9 changed files with 54 additions and 75 deletions
-4
View File
@@ -51,10 +51,6 @@ export const EFFECTS = {
modifiers: [{ attribute: ATTRIBUTES.max_health, amount: 4, operation: "add_value" }],
on_removed: (entity) => entity.health = Math.min(entity.health, entity.max_health),
}),
absorption: effect("absorption", true, {
modifiers: [{ attribute: ATTRIBUTES.max_absorption, amount: 4, operation: "add_value" }],
on_added: (entity, amplifier) => entity.absorption = Math.max(entity.absorption, 4 * (amplifier + 1)),
}),
regeneration: effect("regeneration", true, {
should_tick: every(50),
on_tick: (entity) => {