Skip to content
Snippets Groups Projects
Commit 5793f779 authored by dg's avatar dg
Browse files

Boss of the shadow crypt now can drop a related new artifact: Life Drinker

git-svn-id: http://svn.net-core.org/repos/t-engine4@4342 51575b47-30f0-44d4-a5cc-537603b46e54
parent 34a8cab9
No related branches found
No related tags found
No related merge requests found
-- 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},
},
}
......@@ -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")
game/modules/tome/data/gfx/shockbolt/object/artifact/dagger_life_drinker.png

4.66 KiB

......@@ -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(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment