Code: Select all
newEntity{ base = "BASE_NPC_HORROR",
name = "worm that walks", color=colors.BROWN,
desc = [[A maggot filled robe with a vaguely humanoid shape.]],
level_range = {20, nil}, exp_worth = 1,
rarity = 5,
max_life = 120,
life_rating = 16,
rank = 3,
see_invisible = 100,
instakill_immune = 1,
stun_immune = 1,
blind_immune = 1,
resists = { [DamageType.PHYSICAL] = 50, [DamageType.FIRE] = -50},
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
resolvers.drops{chance=20, nb=1, {} },
resolvers.equip{
{type="weapon", subtype="sword", autoreq=true},
{type="weapon", subtype="waraxe", autoreq=true},
{type="armor", subtype="robe", autoreq=true}
},
resolvers.talents{
[Talents.T_BONE_GRAB]=5,
[Talents.T_DRAIN]=5,
[Talents.T_CORRUPTED_STRENGTH]=5,
[Talents.T_VIRULENT_DISEASE]=5,
[Talents.T_CURSE_OF_DEATH]=5,
[Talents.T_REND]=5,
[Talents.T_BLOODLUST]=5,
[Talents.T_RUIN]=5,
[Talents.T_WEAPON_COMBAT]=5,
[Talents.T_WEAPONS_MASTERY]=3,
},
resolvers.sustains_at_birth(),
summon = {
{type="vermin", subtype="worms", name="carrion worm mass", number=2, hasxp=false},
},
make_escort = {
{type="vermin", subtype="worms", name="carrion worm mass", number=2},
},
}
Code: Select all
newEntity{ base = "BASE_NPC_WORM",
name = "carrion worm mass", color=colors.BROWN,
level_range = {20, nil}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(5,9),
combat = { dam=1, atk=15, apr=100 },
resolvers.talents{ [Talents.T_CRAWL_POISON]=2, [Talents.T_ROTTING_DISEASE]=4, [Talents.T_MULTIPLY]=1 },
}