From 944e812a4abfcdf145fec63d33c369d80ac88cf5 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Wed, 29 Jun 2011 07:00:01 +0000 Subject: [PATCH] stealth buff atamathon .. hihihi git-svn-id: http://svn.net-core.org/repos/t-engine4@3764 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/damage_types.lua | 11 +++++++++++ game/modules/tome/data/talents/spells/spells.lua | 1 + game/modules/tome/data/zones/golem-graveyard/npcs.lua | 5 +++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/data/damage_types.lua b/game/modules/tome/data/damage_types.lua index 1b6dffb8ac..c8af755747 100644 --- a/game/modules/tome/data/damage_types.lua +++ b/game/modules/tome/data/damage_types.lua @@ -508,6 +508,17 @@ newDamageType{ end, } +-- Darkness but not over minions +newDamageType{ + name = "minions darkness", type = "MINION_DARKNESS", + projector = function(src, x, y, type, dam) + local target = game.level.map(x, y, Map.ACTOR) + if target and (not target.necrotic_minion or target.summoner ~= src) then + DamageType:get(DamageType.DARKNESS).projector(src, x, y, DamageType.DARKNESS, dam) + end + end, +} + -- Cold + Stun newDamageType{ name = "coldstun", type = "COLDSTUN", diff --git a/game/modules/tome/data/talents/spells/spells.lua b/game/modules/tome/data/talents/spells/spells.lua index de1ff607cf..dee5a5fb7b 100644 --- a/game/modules/tome/data/talents/spells/spells.lua +++ b/game/modules/tome/data/talents/spells/spells.lua @@ -225,3 +225,4 @@ load("/data/talents/spells/arcane-shield.lua") load("/data/talents/spells/necrotic-minions.lua") load("/data/talents/spells/advanced-necrotic-minions.lua") +load("/data/talents/spells/nightfall.lua") diff --git a/game/modules/tome/data/zones/golem-graveyard/npcs.lua b/game/modules/tome/data/zones/golem-graveyard/npcs.lua index 326014cd7a..b7b9483074 100644 --- a/game/modules/tome/data/zones/golem-graveyard/npcs.lua +++ b/game/modules/tome/data/zones/golem-graveyard/npcs.lua @@ -29,7 +29,7 @@ newEntity{ define_as = "ATAMATHON", base = "BASE_NPC_CONSTRUCT", resolvers.nice_tile{image="invis.png", add_mos = {{image="npc/construct_golem_athamathon_the_giant_golem.png", display_h=2, display_y=-1}}}, desc = [[This giant golem was constructed by the halflings during the Pyre Wars to fight the orcs, but was felled by Garkul the Devourer. Someone foolish has tried to reconstruct it, but has lost control of it, and now it rampages in search of its original creators, who are long dead. Its body is made of marble, its joints of solid voratun, and its eyes of purest ruby. At over 40 feet high it towers above you, and its crimson orbs seem to glow with rage.]], level_range = {70, nil}, exp_worth = 2, - max_life = 350, life_rating = 30, fixed_rating = true, + max_life = 350, life_rating = 40, fixed_rating = true, life_regen = 0, stats = { str=35, dex=10, cun=8, mag=30, con=30 }, rank = 3.5, @@ -52,7 +52,7 @@ newEntity{ define_as = "ATAMATHON", base = "BASE_NPC_CONSTRUCT", {defined="GEM_AMETHYST"}, }, - inc_damage = {all=100}, + inc_damage = {all=160}, no_auto_resists = true, resists = { @@ -69,6 +69,7 @@ newEntity{ define_as = "ATAMATHON", base = "BASE_NPC_CONSTRUCT", [Talents.T_GOLEM_KNOCKBACK]={base=8, every=3}, [Talents.T_GOLEM_CRUSH]={base=8, every=3}, [Talents.T_GOLEM_POUND]={base=8, every=3}, + [Talents.T_RUSH]={base=8, every=6}, }, resolvers.inscriptions(5, "rune"), -- GitLab