diff --git a/game/modules/tome/data/general/objects/boss-artifacts-far-east.lua b/game/modules/tome/data/general/objects/boss-artifacts-far-east.lua new file mode 100644 index 0000000000000000000000000000000000000000..b948cb7b1a12dc63619b42d5ae033cd280de1fac --- /dev/null +++ b/game/modules/tome/data/general/objects/boss-artifacts-far-east.lua @@ -0,0 +1,58 @@ +-- ToME - Tales of Middle-Earth +-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. +-- +-- Nicolas Casalini "DarkGod" +-- darkgod@te4.org + +local Stats = require "engine.interface.ActorStats" +local Talents = require "engine.interface.ActorTalents" + +-- This file describes artifacts associated with a boss of the game, they have a high chance of dropping their respective ones, but they can still be found elsewhere + +newEntity{ base = "BASE_KNIFE", define_as = "LIFE_DRINKER", + power_source = {technique=true}, + unique = true, + name = "Life Drinker", image = "object/artifact/dagger_life_drinker.png", + unided_name = "blood coated dagger", + desc = [[Black blood for foul deads. This dagger serves evil.]], + level_range = {40, 50}, + rarity = 300, + require = { stat = { mag=44 }, }, + cost = 450, + material_level = 5, + combat = { + dam = 42, + apr = 11, + physcrit = 18, + dammod = {mag=0.55,str=0.35}, + }, + wielder = { + inc_damage={ + [DamageType.BLIGHT] = 15, + [DamageType.DARKNESS] = 15, + [DamageType.ACID] = 15, + }, + combat_spellpower = 25, + combat_spellcrit = 10, + inc_stats = { [Stats.STAT_MAG] = 6, [Stats.STAT_CUN] = 6, }, + infravision = 2, + }, + max_power = 50, power_regen = 1, + use_talent = { id = Talents.T_WORM_ROT, level = 2, power = 40 }, + talent_on_spell = { + {chance=15, talent=Talents.T_BLOOD_GRASP, level=2}, + }, +} diff --git a/game/modules/tome/data/general/objects/objects-far-east.lua b/game/modules/tome/data/general/objects/objects-far-east.lua index 3abb9d7180c907e6ab075c340e01dd8441702b8b..dce151e049749d1b41bd52e8bb4e219518eedc4f 100644 --- a/game/modules/tome/data/general/objects/objects-far-east.lua +++ b/game/modules/tome/data/general/objects/objects-far-east.lua @@ -26,3 +26,4 @@ loadIfNot("/data/general/objects/objects.lua") -- Artifacts loadIfNot("/data/general/objects/world-artifacts-far-east.lua") +loadIfNot("/data/general/objects/boss-artifacts-far-east.lua") diff --git a/game/modules/tome/data/gfx/shockbolt/object/artifact/dagger_life_drinker.png b/game/modules/tome/data/gfx/shockbolt/object/artifact/dagger_life_drinker.png new file mode 100644 index 0000000000000000000000000000000000000000..8b50eae2b555c85acc4cf01897123d241a627acd Binary files /dev/null and b/game/modules/tome/data/gfx/shockbolt/object/artifact/dagger_life_drinker.png differ diff --git a/game/modules/tome/data/zones/shadow-crypt/npcs.lua b/game/modules/tome/data/zones/shadow-crypt/npcs.lua index a62f5d6170a879f58b7662b1bdbf68bea67c6a53..5b852e5a70d2c82237649b7aaddc2529812b6b20 100644 --- a/game/modules/tome/data/zones/shadow-crypt/npcs.lua +++ b/game/modules/tome/data/zones/shadow-crypt/npcs.lua @@ -53,7 +53,7 @@ newEntity{ base="BASE_NPC_ORC_RAK_SHOR", define_as = "CULTIST_RAK_SHOR", {type="weapon", subtype="staff", force_drop=true, tome_drops="boss", autoreq=true}, }, resolvers.drops{chance=20, nb=1, {defined="JEWELER_TOME"} }, - resolvers.drops{chance=100, nb=1, {unique=true} }, + resolvers.drops{chance=100, nb=1, {defined="LIFE_DRINKER", random_art_replace={chance=75}} }, resolvers.drops{chance=100, nb=5, {tome_drops="boss"} }, inc_damage = {[DamageType.BLIGHT] = -30}, @@ -66,6 +66,7 @@ newEntity{ base="BASE_NPC_ORC_RAK_SHOR", define_as = "CULTIST_RAK_SHOR", [Talents.T_VIRULENT_DISEASE]=5, [Talents.T_CYST_BURST]=3, [Talents.T_EPIDEMIC]=4, + [Talents.T_WORM_ROT]=4, }, resolvers.sustains_at_birth(),