mirror of
https://github.com/BigJk/end_of_eden.git
synced 2026-02-06 10:48:09 +00:00
15 lines
358 B
Lua
15 lines
358 B
Lua
register_artifact("REPULSION_STONE", {
|
|
name = "Repulsion Stone",
|
|
description = "For each damage taken heal for 2",
|
|
price = 100,
|
|
order = 0,
|
|
callbacks = {
|
|
on_damage = function(ctx)
|
|
if ctx.target == ctx.owner then
|
|
heal(ctx.owner, ctx.owner, 2)
|
|
end
|
|
return nil
|
|
end
|
|
}
|
|
});
|