Skip to content
Snippets Groups Projects
Forked from tome / Tales of MajEyal
14544 commits behind the upstream repository.
mummy.lua 1.30 KiB
-- ToME - Tales of Middle-Earth
-- Copyright (C) 2009, 2010 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

local Talents = require("engine.interface.ActorTalents")

newEntity{
	define_as = "BASE_NPC_MUMMY",
	type = "undead", subtype = "mummy",
	display = "Z", color=colors.WHITE,

	combat = { dam=1, atk=1, apr=1 },

	body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
	autolevel = "warrior",
	ai = "dumb_talented_simple", ai_state = { talent_in=2, },
	energy = { mod=0.8 },
	stats = { str=14, dex=12, mag=10, con=12 },
	rank = 2,
	size_category = 3,

	resolvers.tmasteries{ ["technique/2hweapon"]=1, },

	blind_immune = 1,
	see_invisible = 4,
	undead = 1,
}