From 310a2b23aee5eb19481a35dac3a0857ce305f175 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Thu, 3 Feb 2011 17:19:24 +0000 Subject: [PATCH] Fixed material level on some artifact gems git-svn-id: http://svn.net-core.org/repos/t-engine4@2636 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/general/objects/boss-artifacts.lua | 1 + game/modules/tome/data/talents/psionic/psionic.lua | 2 +- game/modules/tome/data/zones/briagh-lair/objects.lua | 1 + game/modules/tome/data/zones/reknor/objects.lua | 1 + game/modules/tome/data/zones/tannen-tower/objects.lua | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/general/objects/boss-artifacts.lua b/game/modules/tome/data/general/objects/boss-artifacts.lua index f0cb4a0103..58fc02b091 100644 --- a/game/modules/tome/data/general/objects/boss-artifacts.lua +++ b/game/modules/tome/data/general/objects/boss-artifacts.lua @@ -593,6 +593,7 @@ newEntity{ define_as = "RUNED_SKULL", rarity = 390, cost = 150, encumber = 3, + material_level = 5, desc = [[Dull red runes are etched all over this blackened skull.]], carrier = { diff --git a/game/modules/tome/data/talents/psionic/psionic.lua b/game/modules/tome/data/talents/psionic/psionic.lua index 9233dd8760..3f58ff017b 100644 --- a/game/modules/tome/data/talents/psionic/psionic.lua +++ b/game/modules/tome/data/talents/psionic/psionic.lua @@ -121,7 +121,7 @@ function getGemLevel(self) if self:getInven("PSIONIC_FOCUS") then local tk_item = self:getInven("PSIONIC_FOCUS")[1] if tk_item and (tk_item.type == "gem") then - gem_level = tk_item.material_level or 0 + gem_level = tk_item.material_level or 5 end end return gem_level diff --git a/game/modules/tome/data/zones/briagh-lair/objects.lua b/game/modules/tome/data/zones/briagh-lair/objects.lua index 1a5bb86e7f..7e83f9e2c6 100644 --- a/game/modules/tome/data/zones/briagh-lair/objects.lua +++ b/game/modules/tome/data/zones/briagh-lair/objects.lua @@ -22,6 +22,7 @@ load("/data/general/objects/objects-far-east.lua") newEntity{ base = "BASE_GEM", define_as = "RESONATING_DIAMOND", no_unique_lore=true, name = "Resonating Diamond", color=colors.VIOLET, quest=true, unique=true, identified=true, + material_level = 5, on_pickup = function(self, who) if who == game.player then diff --git a/game/modules/tome/data/zones/reknor/objects.lua b/game/modules/tome/data/zones/reknor/objects.lua index e4fe56cc2c..3526458736 100644 --- a/game/modules/tome/data/zones/reknor/objects.lua +++ b/game/modules/tome/data/zones/reknor/objects.lua @@ -31,6 +31,7 @@ newEntity{ base = "BASE_SCROLL", define_as = "NOTE_FROM_LAST_HOPE", newEntity{ base = "BASE_GEM", define_as = "RESONATING_DIAMOND_WEST", name = "Resonating Diamond", color=colors.VIOLET, quest=true, unique="Resonating Diamond West", identified=true, no_unique_lore=true, + material_level = 5, on_drop = function(self, who) if who == game.player then diff --git a/game/modules/tome/data/zones/tannen-tower/objects.lua b/game/modules/tome/data/zones/tannen-tower/objects.lua index 5f657ec49e..cae6dfafc0 100644 --- a/game/modules/tome/data/zones/tannen-tower/objects.lua +++ b/game/modules/tome/data/zones/tannen-tower/objects.lua @@ -24,6 +24,7 @@ local Stats = require "engine.interface.ActorStats" newEntity{ base = "BASE_GEM", define_as = "RESONATING_DIAMOND_WEST2", name = "Resonating Diamond", color=colors.VIOLET, quest=true, unique="Resonating Diamond West2", identified=true, no_unique_lore=true, + material_level = 5, on_drop = function(self, who) if who == game.player then -- GitLab