10 lines
188 B
JavaScript
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
|