silphius/resources/potion/start.js
2024-09-29 06:31:14 -05:00

10 lines
188 B
JavaScript

const amount = 50;
wielder.Health.health += amount
wielder.Vulnerable.damage({
amount,
position: wielder.Position.toJSON(),
type: wielder.Vulnerable.Types.HEALING,
})
item.qty -= 1