Skip to content
Snippets Groups Projects
Commit 8f7056ff authored by DarkGod's avatar DarkGod
Browse files

Detonating Charge is greyed out if pinned

parent 3829cfe9
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ newTalent{ ...@@ -123,7 +123,7 @@ newTalent{
target = function(self, t) return {type="hit", range=self:getTalentRange(t), talent=t} end, target = function(self, t) return {type="hit", range=self:getTalentRange(t), talent=t} end,
getDuration = function(self, t) return math.min(5, 2 + math.ceil(self:getTalentLevel(t) / 2)) end, getDuration = function(self, t) return math.min(5, 2 + math.ceil(self:getTalentLevel(t) / 2)) end,
getDamage = function(self, t) return self:combatTalentWeaponDamage(t, 0.8, 2) end, getDamage = function(self, t) return self:combatTalentWeaponDamage(t, 0.8, 2) end,
on_pre_use = function(self, t) return not self:attr("never_move") end, on_pre_use = function(self, t, silent) if self:attr("never_move") then if not silent then game.logPlayer(self, "You require to be able to move to use this talent.") end return false end return true end,
action = function(self, t) action = function(self, t)
if self:attr("never_move") then game.logPlayer(self, "You cannot do that currently.") return end if self:attr("never_move") then game.logPlayer(self, "You cannot do that currently.") return 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