Skip to content
Snippets Groups Projects
Commit 57b5aff3 authored by dg's avatar dg
Browse files

Necrotic minions will not spawn Will'o'Wisp upon death if their master is already dead

git-svn-id: http://svn.net-core.org/repos/t-engine4@4739 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9a274b6f
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ newTalent{
tactical = { BUFF = 3 },
getParams = function(self, t) return util.bound(30 + self:getTalentLevel(t) * 10, 30, 100), 20 + self:combatTalentSpellDamage(t, 25, 300) end,
summon = function(self, t, dam, src, killer)
if not killer or not killer.faction or self:reactionToward(killer) >= 0 then return end
if not killer or not killer.faction or self:reactionToward(killer) >= 0 or self.dead then return end
local minion = require("mod.class.NPC").new{
name = "will o' the wisp",
type = "undead", subtype = "ghost",
......
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