From 7070ecf6315e71f5f1bf5526acab06c3c8f2e7cf Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Mon, 6 Sep 2010 12:22:57 +0000 Subject: [PATCH] Fixed the Trollshaws quest completion git-svn-id: http://svn.net-core.org/repos/t-engine4@1156 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/talents/spells/temporal.lua | 6 ++---- game/modules/tome/data/zones/trollshaws/npcs.lua | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/game/modules/tome/data/talents/spells/temporal.lua b/game/modules/tome/data/talents/spells/temporal.lua index 2085e9a6af..dca8f6795a 100644 --- a/game/modules/tome/data/talents/spells/temporal.lua +++ b/game/modules/tome/data/talents/spells/temporal.lua @@ -69,8 +69,7 @@ newTalent{ return true end, info = function(self, t) - return ([[Project a bolt of time distortion, decreasing the target's global speed by %d%% for 7 turns. - The speed decrease improves with the Magic stat]]):format(self:getTalentLevel(t) * 7) + return ([[Project a bolt of time distortion, decreasing the target's global speed by %d%% for 7 turns.]]):format(self:getTalentLevel(t) * 7) end, } @@ -97,8 +96,7 @@ newTalent{ return true end, info = function(self, t) - return ([[Increases the caster's global speed by %d%%. - The speed increase improves with the Magic stat]]):format(self:getTalentLevel(t) * 7) + return ([[Increases the caster's global speed by %d%%.]]):format(self:getTalentLevel(t) * 7) end, } diff --git a/game/modules/tome/data/zones/trollshaws/npcs.lua b/game/modules/tome/data/zones/trollshaws/npcs.lua index d1901aa2fc..8512a5baf9 100644 --- a/game/modules/tome/data/zones/trollshaws/npcs.lua +++ b/game/modules/tome/data/zones/trollshaws/npcs.lua @@ -60,4 +60,8 @@ newEntity{ define_as = "TROLL_BILL", autolevel = "warrior", ai = "dumb_talented_simple", ai_state = { talent_in=4, ai_move="move_astar", }, + + on_die = function(self, who) + game.player:resolveSource():setQuestStatus("start-dunadan", engine.Quest.COMPLETED, "trollshaws") + end, } -- GitLab