Code: Select all
-- their icy grasp will sap and drain exp as well as sap the ability to move well (dex)
--no drops :) they are, after all, incorporeal, barely in the physical realm.
--white, grey, black, (nether?) (nether may be removed, need more?)
-- last updated: 4:00pm March 1st, 2010
local Talents = require("engine.interface.ActorTalents")
newEntity{
define_as = "BASE_NPC_WRAITH",
type = "undead", subtype = "wraith",
display = "W", color=colors.WHITE,
desc = [[Mostly incorporeal beings...]],
combat = { dam=resolvers.rngavg(9,13), atk=10, apr=9, damtype=DamageType.DRAINEXP },
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
autolevel = "caster",
ai = "dumb_talented_simple", ai_state = { talent_in=4, },
energy = { mod=1 },
stats = { str=12, dex=12, mag=12, con=12 },
life_regen = 2,
tmasteries = resolvers.tmasteries{ ["technique/other"]=0.3, ["spell/phantasm"]=0.3, ["spell/water"]=0.3, ["spell/arcane"]=0.3 }, --give freeze, blur sight, phantasmal shield, and ice storm, manathrust? arcane power? mana pool?
resists = { [DamageType.COLD] = 100, [DamageType.POISON] = 100, [DamageType.LIGHT] = -100, [DamageType.CONFUSION] = 100, [DamageType.FIRE] = -50, [DamageType.ARCANE] = -50 },
blind_immune = 1,
see_invisible = 5,
invisible = 5,
undead = 1,
}
newEntity{ base = "BASE_NPC_WRAITH",
name = "white wraith", color=colors.WHITE,
desc=[[It is a tangible but ghostly form made of white fog.]],
level_range = {26, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(40,50),
combat_armor = 7, combat_def = 6,
talents = resolvers.talents{ [Talents.T_FREEZE]=1, [Talents.T_BLUR_SIGHT]=1 }, -- [Talents.T_DRAIN_DEX]=1 },
}
newEntity{ base = "BASE_NPC_WRAITH",
name = "grey wraith", color=colors.SLATE,
desc=[[A tangible but ghostly form, made of grey fog. The air around it feels deathly cold.]],
level_range = {36, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(40,50),
combat_armor = 7, combat_def = 6,
talents = resolvers.talents{ [Talents.T_FREEZE]=2, [Talents.T_BLUR_SIGHT]=2, [Talents.T_PHANTASMAL_SHIELD]=1 }, -- [Talents.T_DRAIN_DEX]=2 },
}
newEntity{ base = "BASE_NPC_WRAITH",
name = "black wraith", color=colors.WHITE,
desc=[[A figure that seems made of void, its strangely human shape is cloaked in shadow. It reaches out at you.]],
level_range = {38, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(40,50),
combat_armor = 7, combat_def = 6,
talents = resolvers.talents{ [Talents.T_FREEZE]=3, [Talents.T_BLUR_SIGHT]=3, [Talents.T_PHANTASMAL_SHIELD]=2, [Talents.T_ICE_STORM]=1 }, -- [Talents.T_DRAIN_DEX]=3 },
}
newEntity{ base = "BASE_NPC_WRAITH",
name = "nether wraith", color=colors.LIGHT_GREEN,
desc=[[A form that hurts the eye, death permeates the air around it. As it nears you, a coldness saps your soul.]],
level_range = {39, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(40,50),
combat_armor = 7, combat_def = 6,
talents = resolvers.talents{ [Talents.T_FREEZE]=3, [Talents.T_BLUR_SIGHT]=3, [Talents.T_PHANTASMAL_SHIELD]=3, [Talents.T_ICE_STORM]=2 }, -- [Talents.T_DRAIN_DEX]=5 },
}