Code: Select all
newEntity{ base="BASE_NPC_CORRUPTED_HORROR", define_as = "ABOMINATION",
	unique = true,
	allow_infinite_dungeon = true,
	name = "The Abomination",
	display = "h", color=colors.VIOLET,
	desc = [[A horrid mass of pustulent flesh, sinew, and bone; this creature seems to constantly be in pain. Two heads glare malevolently at you, an intruder in its domain.]],
	level_range = {35, nil}, exp_worth = 3,
	max_life = 350, life_rating = 23, fixed_rating = true,
	hate_regen = 10,
	negative_regen = 10,
	-- Is that too high a negative regen? Constant hymn of moonlight + shadow blast might be a bit much so might want to lower the regen.
	stats = { str=30, dex=8, cun=10, mag=15, con=20 },
	rank = 4,
	size_category = 3,
	infravision = 10,
	instakill_immune = 1,
	blind_immune = 1,
	see_invisible = 30,
	move_others=true,
	body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
	resolvers.equip{
		{type="weapon", subtype="battleaxe", force_drop=true, tome_drops="boss", autoreq=true},
		{type="armor", subtype="boots", defined="WARPED_BOOTS", random_art_replace={chance=75}, autoreq=true},
		{type="armor", subtype="massive", force_drop=true, tome_drops="boss", autoreq=true},
	},
	resolvers.drops{chance=100, nb=3, {tome_drops="boss"} },
	resolvers.talents{
		[Talents.T_ARMOUR_TRAINING]=5,
		[Talents.T_WEAPON_COMBAT]={base=5, every=5, max=10},
		[Talents.T_WEAPONS_MASTERY]={base=5, every=5, max=10},
		
		[Talents.T_ENRAGE]={base=3, every=7, max=5},
		[Talents.T_SUPPRESSION]={base=4, every=7, max=6},
		[Talents.T_GLOOM]={base=4, every=7, max=6},
		[Talents.T_WEAKNESS]={base=4, every=7, max=6},
		[Talents.T_TORMENT]={base=4, every=7, max=6},
		[Talents.T_HYMN_OF_MOONLIGHT]={base=3, every=7, max=5},
		[Talents.T_STARFALL]={base=3, every=7, max=7},
		[Talents.T_SHADOW_BLAST]={base=3, every=7, max=7},
	},
	resolvers.sustains_at_birth(),
	-- Supposed to drop two notes during the fight, if player has cooldowns to worry about player can snag these then.
	on_takehit = function(self, val)
		if self.life - val < self.max_life * 0.75 then
			local n = game.zone:makeEntityByName(game.level, "object", "ADV_LTR_6")
			if n then
				self.on_takehit = nil
				game.zone:addEntity(game.level, n, "object", self.x, self.y)
				game.logSeen(self, "A parchment falls to the floor near The Abomination.")
			end
		end
		return val
	end,
	
	on_takehit = function(self, val)
		if self.life - val < self.max_life * 0.25 then
			local n = game.zone:makeEntityByName(game.level, "object", "ADV_LTR_7")
			if n then
				self.on_takehit = nil
				game.zone:addEntity(game.level, n, "object", self.x, self.y)
				game.logSeen(self, "A parchment falls to the floor near The Abomination.")
			end
		end
		return val
	end,
	autolevel = "warriormage",
	ai = "tactical", ai_state = { talent_in=1, ai_move="move_astar", },
	ai_tactic = resolvers.tactic"melee",
	resolvers.inscriptions(4, {}),
	on_death_lore = "abomination",
}
The second is this:"Rolf,
I can't remember anything from the fight save the sheer terror at being near something so horrid and powerful. There is no shame in running from a foe you cannot possibly hope to defeat, is there? Maybe ale from the tavern is a good idea, but maybe it is better to conquer your fear once and for all... I hope you can forgive me, but I must defeat this monster, if it takes me the rest of my life.
Wishing you and your ale a hearty good-bye,
Weisman."
The on-death lore is:"Weisman,
I pray to the long-departed Firstborn you receive this message in good health and spirits. Please, old friend - there is no need to impress upon me your valour, I know full well how courageous you are. Please, do not go after that... that thing! If I must drag you away physically, that is what I shall do, but I beg of you, please, consider another foe to fight!
Your friend,
Rolf."
The boots he has a chance to drop are modified from the Scorched Boots:Last Will and Testament of Rolf Two-Axes
I have failed. Oh, by the Firstborn, I have failed! The beast Weisman set out to slay was dead already by another's hand, but its corruption remained still. When I arrived in its chamber, Weisman was already half-gone; he was hacking away at foes only he could see. When I tried to stop him, he turned his axe on me... I am beaten and broken, hiding in some crevasse away from... from my own friend, who through the corruption in this place has been perverted into a monstrosity my axes were unable to fell. I hold no doubt that this is the last time I shall put quill to parchment, as even now I can hear my old friend's perverted voice..s calling to me. I bequeathe my belongings to any who slay ...
(the ink blotch seems to indicate Weisman had caught up to his old friend, one-half of that abomination)
Code: Select all
newEntity{ base = "BASE_HEAVY_BOOTS",
	define_as = "WARPED_BOOTS",
	power_source = {unknown=true},
	unique = true,
	name = "The Warped Boots",
	unided_name = "pair of painful-looking boots",
	desc = [[These blackened boots have lost all vestige of any former glory they might have had. Now, they are a testament to the corruption of the Deep Bellow, and its power.]],
	color = colors.DARK_GREEN,
	level_range = {35, 45},
	rarity = 250,
	cost = 200,
	material_level = 4,
	wielder = {
		combat_armor = 4,
		combat_def = 2,
		combat_dam = 10
		fatigue = 8,
		combat_spellpower = 10,
		life_regen = -0.40,
		inc_damage = { [DamageType.BLIGHT] = 10 },
	},
	max_power = 50, power_regen = 1,
	use_talent = { id = Talents.T_SPIT_BLIGHT, level=3, power = 50 },
}
 
 
