Newer
Older
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
newEntity{
define_as = "BASE_WAND",
slot = "TOOL",
type = "charm", subtype="wand",
display = "-", color=colors.WHITE, image = resolvers.image_material("wand", "wood"),
add_name = "#CHARM# #CHARGES#",
desc = [[Magical wands are made by powerful Alchemists and Archmagi to store spells. Anybody can use them to release the spells.]],
egos = "/data/general/objects/egos/wands.lua", egos_chance = { prefix=resolvers.mbonus(20, 5), },
power_source = {arcane=true},
randart_able = "/data/general/objects/random-artifacts/generic.lua",
talent_cooldown = "T_GLOBAL_CD",
charm_power = resolvers.mbonus_material(15, 10),
charm_power = resolvers.mbonus_material(20, 20),
charm_power = resolvers.mbonus_material(25, 30),
charm_power = resolvers.mbonus_material(30, 40),
charm_power = resolvers.mbonus_material(35, 50),