From 4194ad612ec4dc17e3088e60bf1cb299c794a9ac Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Mon, 7 Jan 2013 00:33:59 +0000
Subject: [PATCH] Impending Doom is affected by spell save

git-svn-id: http://svn.net-core.org/repos/t-engine4@6330 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/chats/shertul-fortress-butler.lua | 4 ++--
 game/modules/tome/data/talents/spells/necrosis.lua       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/game/modules/tome/data/chats/shertul-fortress-butler.lua b/game/modules/tome/data/chats/shertul-fortress-butler.lua
index 3ce2e11f4c..fd893671ce 100644
--- a/game/modules/tome/data/chats/shertul-fortress-butler.lua
+++ b/game/modules/tome/data/chats/shertul-fortress-butler.lua
@@ -102,7 +102,7 @@ To the south you will find the storage room.]],
 newChat{ id="energy",
 	text = [[This Fortress is designed as a mobile base for the Godslayers - it can fly.
 It is also equiped with various facilities: exploratory farportal, emergency containment field, remote storage, ...
-However, the Fortess is badly damaged and has lain dormant for too long. Its energies are nearly depleted.
+However, the Fortress is badly damaged and has lain dormant for too long. Its energies are nearly depleted.
 Take this Transmogrification Chest. It is linked by a permanent farportal to the Fortress. Any item you put inside will be sent to the power core and dismantled for energy.
 There are, however, unwanted byproducts to this operation: the generation of a metal known as gold. It is of no use to the Fortress and thus will be sent back to you.]],
 	answers = {
@@ -131,7 +131,7 @@ You may use the farportal; however, beware - I sense a strange presence in the f
 
 newChat{ id="recall",
 	text = [[The rod of recall you possess is not a Sher'tul artifact, but it is based on Sher'tul design.
-The Fortress now has enough energy to upgrade it. It can be changed to recall you to the Fortess.]],
+The Fortress now has enough energy to upgrade it. It can be changed to recall you to the Fortress.]],
 	answers = {
 		{"I like it the way it is now. Thanks anyway."},
 		{"That could be quite useful. Yes, please do it.", action=function() q:upgrade_rod() end},
diff --git a/game/modules/tome/data/talents/spells/necrosis.lua b/game/modules/tome/data/talents/spells/necrosis.lua
index c27a033e26..34957b0a61 100644
--- a/game/modules/tome/data/talents/spells/necrosis.lua
+++ b/game/modules/tome/data/talents/spells/necrosis.lua
@@ -70,7 +70,7 @@ newTalent{
 			if not target then return end
 			local dam = target.life * t.getDamage(self, t) / 100
 			dam = math.min(dam, t.getMax(self, t))
-			target:setEffect(target.EFF_IMPENDING_DOOM, 10, {dam=dam/10, src=self})
+			target:setEffect(target.EFF_IMPENDING_DOOM, 10, {apply_power=self:combatSpellpower(), dam=dam/10, src=self})
 		end, 1, {type="freeze"})
 		return true
 	end,
-- 
GitLab