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

Merge branch 'more_fixes' into 'master'

More fixes

contingney thingy
parents 334fa4a6 6debf0d1
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,9 @@ newTalent{
no_npc_use = true, -- so rares don't learn useless talents
allow_temporal_clones = true, -- let clones copy it anyway so they can benefit from the effects
on_pre_use = function(self, t, silent) if self ~= game.player and not self:isTalentActive(t) then return false end return true end, -- but don't let them cast it
callbackOnHit = function(self, t, cb)
callbackOnHit = function(self, t, cb, src)
if src == self then return cb.value end
local p = self:isTalentActive(t.id)
local life_after = self.life - cb.value
local cont_trigger = self.max_life * t.getTrigger(self, t)
......
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