Skip to content
Snippets Groups Projects
Commit df287398 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@5010 51575b47-30f0-44d4-a5cc-537603b46e54
parent 60252ccf
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ newTalentType{ allow_random=true, type="psionic/greater-psi-fighting", name = "g
newTalentType{ allow_random=true, type="psionic/brainstorm", name = "brainstorm", description = "Focus your telekinetic powers in ways undreamed of by most mindslayers." }
-- Secret Project...
-- Solipsist Talent Trees
-- Solipsist Talent Trees
newTalentType{ allow_random=true, type="psionic/psychic-assault", name = "psychic assault", description = "Directly attack your opponents minds." }
-- Generic Solipsist Trees
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment