Skip to content
Snippets Groups Projects
Commit cd48f881 authored by dg's avatar dg
Browse files

artifact image

git-svn-id: http://svn.net-core.org/repos/t-engine4@310 51575b47-30f0-44d4-a5cc-537603b46e54
parent ad5b1e46
No related branches found
No related tags found
No related merge requests found
......@@ -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
},
}
game/modules/tome/data/gfx/object/potion-0x3-violet.png

3.24 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment