Forked from
tome / Tales of MajEyal
14724 commits behind the upstream repository.
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@380 51575b47-30f0-44d4-a5cc-537603b46e54
dg authoredgit-svn-id: http://svn.net-core.org/repos/t-engine4@380 51575b47-30f0-44d4-a5cc-537603b46e54
npcs.lua 1.46 KiB
load("/data/general/npcs/rodent.lua")
load("/data/general/npcs/vermin.lua")
load("/data/general/npcs/molds.lua")
load("/data/general/npcs/skeleton.lua")
load("/data/general/npcs/snake.lua")
local Talents = require("engine.interface.ActorTalents")
-- The boss of Amon Sul, no "rarity" field means it will not be randomly generated
newEntity{ define_as = "SHADE_OF_ANGMAR",
type = "undead", subtype = "skeleton", unique = true,
name = "The Shade of Angmar",
display = "s", color=colors.VIOLET,
desc = [[This skeleton looks nasty. There is red flames in its empty eye sockets. It wield a nasty sword and towers toward you, throwing spells.]],
level_range = {7, 10}, exp_worth = 2,
max_life = 150, life_rating = 15, fixed_rating = true,
max_mana = 85,
max_stamina = 85,
stats = { str=16, dex=12, cun=14, mag=25, con=16 },
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
equipment = resolvers.equip{ {type="weapon", subtype="staff", defined="STAFF_ANGMAR"}, {type="armor", subtype="light"}, },
drops = resolvers.drops{chance=100, nb=3, {ego_chance=100} },
talents = resolvers.talents{
[Talents.T_MANA_POOL]=1, [Talents.T_MANATHRUST]=4, [Talents.T_FREEZE]=4, [Talents.T_TIDAL_WAVE]=2,
[Talents.T_STAMINA_POOL]=1, [Talents.T_SWORD_MASTERY]=3, [Talents.T_STUNNING_BLOW]=1,
},
autolevel = "warriormage",
ai = "dumb_talented_simple", ai_state = { talent_in=4, },
on_die = function(self, who)
who:setQuestStatus("start-dunadan", engine.Quest.COMPLETED, "amon-sul")
end,
}