diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua index 1eda1c792512fa1172ca6e21369712d4b08941ba..e314d6a38735242779cbdc3e6a3e4ef320be2e91 100644 --- a/game/modules/tome/data/general/objects/world-artifacts.lua +++ b/game/modules/tome/data/general/objects/world-artifacts.lua @@ -66,17 +66,38 @@ newEntity{ name = "Ever Refilling Potion of Healing", unided_name = "strange potion", level_range = {35, 40}, - display = '!', color=colors.VIOLET, + display = '!', color=colors.VIOLET, image="object/potion-0x3-violet.png", encumber = 0.4, - rarity = 80, + rarity = 150, desc = [[Bottle containing healing magic. But the more you drink from it, the more it refills!]], - cost = 2000, + cost = 200, - max_power = 40, power_regen = 1, - use_power = { name = "blink away", power = 30, + max_power = 100, power_regen = 1, + use_power = { name = "heal", power = 80, use = function(self, who) who:heal(150 + who:getMag()) game.logSeen(who, "%s quaffs an %s!", who.name:capitalize(), self:getName()) end }, } + +newEntity{ + unique = true, + type = "potion", subtype="potion", + name = "Ever Refilling Potion of Mana", + unided_name = "strange potion", + level_range = {35, 40}, + display = '!', color=colors.VIOLET, image="object/potion-0x3-violet.png", + encumber = 0.4, + rarity = 150, + desc = [[Bottle containing raw magic. But the more you drink from it, the more it refills!]], + cost = 200, + + max_power = 100, power_regen = 1, + use_power = { name = "restore mana", power = 80, + use = function(self, who) + who:incMana(150 + who:getMag()) + game.logSeen(who, "%s quaffs an %s!", who.name:capitalize(), self:getName()) + end + }, +} diff --git a/game/modules/tome/data/gfx/object/potion-0x3-violet.png b/game/modules/tome/data/gfx/object/potion-0x3-violet.png new file mode 100644 index 0000000000000000000000000000000000000000..2c922a600a69378289b897a43ea6536e8ba94824 Binary files /dev/null and b/game/modules/tome/data/gfx/object/potion-0x3-violet.png differ