Skip to content
Snippets Groups Projects
mummy.lua 1.36 KiB
Newer Older
  • Learn to ignore specific revisions
  • dg's avatar
    dg committed
    -- 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,
    
    
    dg's avatar
    dg committed
    	open_door = true,
    
    
    dg's avatar
    dg committed
    	resolvers.tmasteries{ ["technique/2hweapon-offense"]=1, ["technique/2hweapon-cripple"]=1, },
    
    dg's avatar
    dg committed
    
    	blind_immune = 1,
    	see_invisible = 4,
    	undead = 1,
    }