Code: Select all
-- Wights had the power to confuse and paralyze
-- their icy grasp will sap willpower and drain exp
--
--they will have high treasure, but be *hard*
--in the books they could confuse and paralyze and sleep and bend lesser minds to do their will and cause fear. fear would be more of an aura (need to save against it, but realistically it would only be once).
-- they could also be mind affecting too :)
local Talents = require("engine.interface.ActorTalents")
newEntity{
define_as = "BASE_NPC_WIGHT",
type = "undead", subtype = "wights",
display = "W", color=colors.WHITE,
desc = [[These be white wights.]],
combat = { dam=resolvers.rngavg(9,13), atk=10, apr=9, damtype=DamageType.DRAINEXP },
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
drops = resolvers.drops{chance=20, nb=1, {} },
autolevel = "caster",
ai = "dumb_talented_simple", ai_state = { talent_in=4, },
energy = { mod=1 },
stats = { str=11, dex=11, mag=15, con=12 },
tmasteries = resolvers.tmasteries{ ["technique/other"]=0.3, ["spell/air"]=0.3, ["spell/fire"]=0.3 },
resists = { [DamageType.COLD] = 80, [DamageType.FIRE] = 20, [DamageType.AIR] = 40, [DamageType.LIGHT] = -50, },
poison_immune = 1,
blind_immune = 1,
see_invisible = 7,
undead = 1,
-- free_action = 1,
-- sleep_immune = 1,
}
newEntity{ base = "BASE_NPC_WIGHT",
name = "forest wight", color=colors.GREEN,
desc=[[It is a ghostly apparition with a humanoid form.]],
level_range = {16, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(40,50),
combat_armor = 7, combat_def = 6,
resolvers.talents{ [Talents.T_MANA_POOL]=1, [Talents.T_FLAMESHOCK]=1, [Talents.T_LIGHTNING]=1, [Talents.T_NOXIOUS_CLOUD]=1 },
}
newEntity{ base = "BASE_NPC_WIGHT",
name = "grave wight", color=colors.SLATE,
desc=[[It is a ghostly form with eyes that haunt you.]],
level_range = {22, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(70,80),
combat_armor = 9, combat_def = 6,
resolvers.talents{ [Talents.T_MANA_POOL]=1, [Talents.T_FLAMESHOCK]=2, [Talents.T_LIGHTNING]=2, [Talents.T_NOXIOUS_CLOUD]=2 },
}
newEntity{ base = "BASE_NPC_WIGHT",
name = "barrow wight", color=colors.VIOLET,
desc=[[It is a ghostly nightmare of an entity.]],
level_range = {25, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(80,90),
combat_armor = 10, combat_def = 8,
resolvers.talents{ [Talents.T_MANA_POOL]=1, [Talents.T_FLAMESHOCK]=3, [Talents.T_LIGHTNING]=3, [Talents.T_NOXIOUS_CLOUD]=3 },
}
newEntity{ base = "BASE_NPC_WIGHT",
name = "emperor wight", color=colors.RED,
desc=[[Your life force is torn from your body as this powerful unearthly being approaches.]],
level_range = {30, 50}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(100,150),
combat_armor = 12, combat_def = 10,
resolvers.talents{ [Talents.T_MANA_POOL]=3, [Talents.T_FLAMESHOCK]=3, [Talents.T_LIGHTNING]=4, [Talents.T_NOXIOUS_CLOUD]=3, [Talents.T_THUNDERSTORM]=2 },
}