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

Shivgoroth Form on autocast will not error out in the ring of blood

git-svn-id: http://svn.net-core.org/repos/t-engine4@6422 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1ed9c32c
No related branches found
No related tags found
No related merge requests found
......@@ -2146,7 +2146,7 @@ newEffect{
self:effectTemporaryValue(eff, "cut_immune", eff.power)
self:effectTemporaryValue(eff, "stun_immune", eff.power)
if self.hotkey then
if self.hotkey and self.isHotkeyBound then
local pos = self:isHotkeyBound("talent", self.T_SHIVGOROTH_FORM)
if pos then
self.hotkey[pos] = {"talent", self.T_ICE_STORM}
......@@ -2165,7 +2165,7 @@ newEffect{
game.level.map:updateMap(self.x, self.y)
end,
deactivate = function(self, eff)
if self.hotkey then
if self.hotkey and self.isHotkeyBound then
local pos = self:isHotkeyBound("talent", self.T_ICE_STORM)
if pos then
self.hotkey[pos] = {"talent", self.T_SHIVGOROTH_FORM}
......
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