Physical and arcane damage
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user