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

Fixed Doomed unlock

git-svn-id: http://svn.net-core.org/repos/t-engine4@6774 51575b47-30f0-44d4-a5cc-537603b46e54
parent 54d8298f
No related branches found
No related tags found
No related merge requests found
......@@ -1981,7 +1981,7 @@ newTalent{
end,
info = function(self, t)
return ([[Grab a target and teleport it to your side, covering it with frost, reducing its movement speed by 50%% for %d turns.
The bone will also deal %0.2f physical damage.
The ice will also deal %0.2f cold damage.
The damage will increase with your Spellpower.]]):
format(math.floor(3 + self:getTalentLevel(t)), damDesc(self, DamageType.COLD, self:combatTalentSpellDamage(t, 5, 140)))
end,
......
......@@ -71,8 +71,10 @@ newEntity{ base="BASE_NPC_ORC_RAK_SHOR", define_as = "CULTIST_RAK_SHOR",
resolvers.sustains_at_birth(),
on_takehit = function(self, value, src)
local p = self.sustain_talents[self.T_BONE_SHIELD]
-- When the bone shield is taken down, copy the player
if not self:isTalentActive(self.T_BONE_SHIELD) and not self.copied_player then
if p and #p.particles <= 0 and not self.copied_player then
local a = mod.class.NPC.new{}
a:replaceWith(game.player:resolveSource():cloneFull())
mod.class.NPC.castAs(a)
......
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