[git]fix doTakeoff for tk_item error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
zhouwei_e
Cornac
Posts: 35
Joined: Tue Feb 14, 2012 10:01 am

[git]fix doTakeoff for tk_item error

#1 Post by zhouwei_e »

Code: Select all

 game/modules/tome/data/talents/psionic/psionic.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/game/modules/tome/data/talents/psionic/psionic.lua b/game/modules/tome/data/talents/psionic/psionic.lua
index dd83eae..4119be0 100644
--- a/game/modules/tome/data/talents/psionic/psionic.lua
+++ b/game/modules/tome/data/talents/psionic/psionic.lua
@@ -141,7 +141,7 @@ function getGemLevel(self)
 	local gem_level = 0
 	if self:getInven("PSIONIC_FOCUS") then
 		local tk_item = self:getInven("PSIONIC_FOCUS")[1]
-		if tk_item and (tk_item.type == "gem") or (tk_item.subtype == "mindstar") then
+		if tk_item and ((tk_item.type == "gem") or (tk_item.subtype == "mindstar")) then
 			gem_level = tk_item.material_level or 5
 		end
 	end

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [git]fix doTakeoff for tk_item error

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply