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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@6301 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6cc7671b
No related branches found
No related tags found
No related merge requests found
......@@ -1011,7 +1011,7 @@ newEntity{ base="BASE_NPC_HORROR", define_as = "ANIMATED_BLADE",
end,
on_act = function(self)
if self.summoner:attr("dead") then
if self.summoner and self.summoner:attr("dead") then
self:die()
game.logSeen(self, "#AQUAMARINE#With the horror's death the blade clatters to the ground!")
end
......@@ -1070,7 +1070,7 @@ newEntity{ base="BASE_NPC_HORROR", define_as = "DISTORTED_BLADE",
end,
on_act = function(self)
if self.summoner:attr("dead") then
if self.summoner and self.summoner:attr("dead") then
self:die()
game.logSeen(self, "#AQUAMARINE#With the horror's death the chaotic blade clatters to the ground!")
end
......
......@@ -21,7 +21,11 @@ local Chat = require "engine.Chat"
newTalent{
name = "Life Tap", short_name = "GOLEMANCY_LIFE_TAP",
type = {"spell/advanced-golemancy", 1},
require = spells_req_high1,
require = {
special = { desc="Having an Alchemist Golem", fct=function(self, t) return self.alchemy_golem end},
stat = { mag=function(level) return 22 + (level-1) * 2 end },
level = function(level) return 10 + (level-1) end,
},
points = 5,
mana = 25,
cooldown = 12,
......
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