From 3123d9e9342bb6d888bc251f5177fa6556918811 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Mon, 24 Jan 2011 19:06:18 +0000 Subject: [PATCH] done murgol lair git-svn-id: http://svn.net-core.org/repos/t-engine4@2492 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/general/npcs/yaech.lua | 2 +- .../data/general/objects/boss-artifacts.lua | 21 +++++++++ .../tome/data/zones/murgol-lair/npcs.lua | 45 +++++++++++++++++++ 3 files changed, 67 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/general/npcs/yaech.lua b/game/modules/tome/data/general/npcs/yaech.lua index 3cbaee353c..4c670e6451 100644 --- a/game/modules/tome/data/general/npcs/yaech.lua +++ b/game/modules/tome/data/general/npcs/yaech.lua @@ -91,7 +91,7 @@ newEntity{ base = "BASE_NPC_YAECH", } newEntity{ base = "BASE_NPC_YAECH", - name = "yaech psion", color=colors.LIGHT_RED, + name = "yaech psion", color=colors.RED, desc = [[Yaeches are an aquatic subspecies of yeeks, they share the same psionic powers, but they refuse to take part in the Way.]], level_range = {3, nil}, exp_worth = 1, rarity = 3, diff --git a/game/modules/tome/data/general/objects/boss-artifacts.lua b/game/modules/tome/data/general/objects/boss-artifacts.lua index ced3f9fd5f..1b32679a6c 100644 --- a/game/modules/tome/data/general/objects/boss-artifacts.lua +++ b/game/modules/tome/data/general/objects/boss-artifacts.lua @@ -184,6 +184,27 @@ Tridents require the exotic weapons mastery talent to use correctly.]], use_talent = { id = Talents.T_WATER_BOLT, level=3, power = 60 }, } +newEntity{ base = "BASE_LIGHT_ARMOR", + define_as = "EEL_SKIN", rarity=false, + name = "Eel-skin armour", unique=true, + unided_name = "slippery armour", color=colors.VIOLET, + desc = [[This armour seems to have been patched together from many eels. Yuck.]], + level_range = {5, 12}, + rarity = 200, + cost = 500, + material_level = 2, + wielder = { + inc_stats = { [Stats.STAT_DEX] = 2, [Stats.STAT_CUN] = 3, }, + poison_immune = 0.3, + combat_armor = 1, + combat_def = 10, + fatigue = 2, + }, + + max_power = 50, power_regen = 1, + use_talent = { id = Talents.T_LIGHTNING, level=2, power = 18 }, +} + newEntity{ base = "BASE_LIGHT_ARMOR", define_as = "CHROMATIC_HARNESS", rarity=false, name = "Chromatic Harness", unique=true, diff --git a/game/modules/tome/data/zones/murgol-lair/npcs.lua b/game/modules/tome/data/zones/murgol-lair/npcs.lua index 4d25c3cf00..c64056e3e4 100644 --- a/game/modules/tome/data/zones/murgol-lair/npcs.lua +++ b/game/modules/tome/data/zones/murgol-lair/npcs.lua @@ -21,3 +21,48 @@ load("/data/general/npcs/yaech.lua", rarity(0)) load("/data/general/npcs/aquatic_critter.lua", rarity(2)) local Talents = require("engine.interface.ActorTalents") + +newEntity{ base = "BASE_NPC_YAECH", define_as = "MURGOL", + unique = true, + name = "Murgol, the Yaech Lord", + color=colors.VIOLET, + desc = [[You can feel the psionic waves of power come from this yaech.]], + level_range = {7, nil}, exp_worth = 2, + max_life = 100, life_rating = 13, fixed_rating = true, + psi_regen = 10, + infravision = 20, + stats = { str=10, dex=10, cun=15, mag=16, wil=16, con=10 }, + move_others=true, + + instakill_immune = 1, + blind_immune = 1, + no_breath = 1, + rank = 4, + + resists = { [DamageType.BLIGHT] = 40 }, + + body = { INVEN = 10, BODY=1, MAINHAND=1 }, + + resolvers.equip{ + {type="weapon", subtype="trident", autoreq=true, special_rarity="trident_rarity"}, + {type="armor", subtype="light", defined="EEL_SKIN", random_art_replace={chance=65}, autoreq=true}, + }, + resolvers.drops{chance=100, nb=3, {ego_chance=100} }, + + resolvers.talents{ + [Talents.T_PYROKINESIS]=2, + [Talents.T_REACH]=2, + [Talents.T_MINDLASH]=2, + [Talents.T_MINDHOOK]=2, + [Talents.T_KINETIC_SHIELD]=3, + [Talents.T_THERMAL_SHIELD]=3, + }, + resolvers.sustains_at_birth(), + + autolevel = "wildcaster", + ai = "tactical", ai_state = { talent_in=2, }, + + on_die = function(self, who) + game.player:setQuestStatus("start-yeek", engine.Quest.COMPLETED, "murgol") + end, +} -- GitLab