These need to be linked and what not but hopefully this will get you started.
Code: Select all
newEntity{ base = "BASE_NPC_HORROR",
name = "headless horror", color=colors.TAN,
desc ="A headless gangly humanoid with a large distended stomach.",
level_range = {30, nil}, exp_worth = 1,
rarity = 3,
rank = 4,
autolevel = "warrior",
ai = "dumb_talented_simple", ai_state = { ai_move="move_dmap", talent_in=1, },
combat = { dam=20, atk=20, apr=10, dammod={str=1} },
combat = {damtype=DamageType.PHYSICAL},
-- Should get resists based on eyes generated, 30% all per eye and 100% to the eyes element. Should lose said resists when the eyes die.
resists =
-- Should be blind but see through the eye escorts
blind= 1,
resolvers.talents{
[Talents.T_MANA_CLASH]=5,
[Talents.T_GRAB]=5,
},
make_escort = {
{type="horror", subtype="eldritch", name="eldritch eye", number=3},
},
-- Needs an on death affect that kills off any remaining eyes.
die = function(self, src)
end,
}
And the eyes... note they have no rarity field so they won't generate without the horror. If they did they'd need to have more talents.
Code: Select all
newEntity{ base = "BASE_NPC_HORROR",
--fire
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.FIRE] = 80},
resolvers.talents{
[Talents.T_BURNING_HEX]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--cold
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.COLD] = 80},
resolvers.talents{
[Talents.T_FREEZE]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--earth
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.PHYSICAL] = 80},
resolvers.talents{
[Talents.T_STRIKE]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--arcane
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.ARCANE] = 80},
resolvers.talents{
[Talents.T_MANATHRUST]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--acid
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.ACID] = 80},
resolvers.talents{
[Talents.T_HYDRA]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--dark
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.DARKNESS] = 80},
resolvers.talents{
[Talents.T_CURSE_OF_DEATH]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--light
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.LIGHT] = 80},
resolvers.talents{
[Talents.T_SEARING_LIGHT]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--lightning
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.LIGHTNING] = 80},
resolvers.talents{
[Talents.T_LIGHTNING_BOLT]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--blight
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.BLIGHT] = 80},
resolvers.talents{
[Talents.T_VIRULENT_DISEASE]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--nature
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.NATURE] = 80},
resolvers.talents{
[Talents.T_SPIT_POISON]=3,
},
resolvers.sustains_at_birth(),
}
newEntity{ base = "BASE_NPC_HORROR",
--mind
name = "eldritch eye", color=colors.SLATE,
desc ="A small bloadshot eye floats here.",
level_range = {30, nil}, exp_worth = 1,
rank = 2,
size_category = 1,
autolevel = "caster",
combat_armor = 1, combat_def = 0,
levitation = 1
resists = {[DamageType.MIND] = 80},
resolvers.talents{
[Talents.T_MIND_DISRUPTION]=3,
},
resolvers.sustains_at_birth(),
}