From b7de760e4ab974c5316cd1192dca7b85731afb94 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Sun, 6 Nov 2011 10:39:27 +0000
Subject: [PATCH] Grand Corruptor will not offer the Zigur attack quest in the
 ID

git-svn-id: http://svn.net-core.org/repos/t-engine4@4604 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Game.lua                      | 1 +
 game/modules/tome/data/zones/mark-spellblaze/npcs.lua | 1 +
 game/modules/tome/data/zones/mark-spellblaze/zone.lua | 1 +
 3 files changed, 3 insertions(+)

diff --git a/game/modules/tome/class/Game.lua b/game/modules/tome/class/Game.lua
index 1299cfe6ba..28e0a97702 100644
--- a/game/modules/tome/class/Game.lua
+++ b/game/modules/tome/class/Game.lua
@@ -1112,6 +1112,7 @@ function _M:setupCommands()
 		[{"_g","ctrl"}] = function() if config.settings.cheat then
 			game:changeLevel(1,"town-irkkk")
 --			SET ui.Inventory into ShowStore & ShowInventory
+--			FINISH IRKKK & HUTS
 		end end,
 		[{"_f","ctrl"}] = function() if config.settings.cheat then
 			self.player.quests["love-melinda"] = nil
diff --git a/game/modules/tome/data/zones/mark-spellblaze/npcs.lua b/game/modules/tome/data/zones/mark-spellblaze/npcs.lua
index 181a931cd5..240d44540b 100644
--- a/game/modules/tome/data/zones/mark-spellblaze/npcs.lua
+++ b/game/modules/tome/data/zones/mark-spellblaze/npcs.lua
@@ -70,6 +70,7 @@ newEntity{ base = "BASE_NPC_ELVEN_CASTER", define_as = "GRAND_CORRUPTOR",
 	resolvers.inscriptions(2, "rune"),
 
 	on_takehit = function(self, value, src)
+		if not game.zone.is_mark_spellblaze then return value end
 		if not self.chatted and (self.life - value) < self.max_life * 0.4 then
 			self.chatted = true
 			-- Check for magical knowledge
diff --git a/game/modules/tome/data/zones/mark-spellblaze/zone.lua b/game/modules/tome/data/zones/mark-spellblaze/zone.lua
index 48e5092254..3c972353d3 100644
--- a/game/modules/tome/data/zones/mark-spellblaze/zone.lua
+++ b/game/modules/tome/data/zones/mark-spellblaze/zone.lua
@@ -32,6 +32,7 @@ return {
 	ambient_music = "Rainy Day.ogg",
 	min_material_level = 2,
 	max_material_level = 3,
+	is_mark_spellblaze = true,
 	generator =  {
 		map = {
 			class = "engine.generator.map.Forest",
-- 
GitLab