Skip to content
Snippets Groups Projects
Commit 6d90c0de authored by dg's avatar dg
Browse files

When a necrotic minion dies from being outside your necrotic aura, it can sometimes do an emote

git-svn-id: http://svn.net-core.org/repos/t-engine4@4636 51575b47-30f0-44d4-a5cc-537603b46e54
parent f5721607
No related branches found
No related tags found
No related merge requests found
......@@ -344,7 +344,7 @@ newTalent{
end,
info = function(self, t)
local chance, val = t.getParams(self, t)
return ([[Vampiric energies fill you; each time you deal damage you have a %d%% chance to heal for %d%% of the damage done.
return ([[Vampiric energies fill you; each time you deal damage you have %d%% chance to heal for %d%% of the damage done.
The absorption percent will increase with your Spellpower.]]):
format(chance, val)
end,
......
......@@ -25,6 +25,36 @@ newTalent{
cooldown = 10,
sustain_mana = 10,
tactical = { BUFF = 2 },
die_speach = function(self, t)
if rng.percent(90) then return end
self:doEmote(rng.table{
"Noooooo!",
"Save me, Master, save meeee---",
"Aaaauuuggghhh!",
"Did I do good?",
"Bwuh? Nwaaah!",
"Why, Master, whyyyyy---?",
"I thought you loved me! I thought-",
"For Master's glory!",
"Bye... bye....",
"We love you, Master!",
"EeeeeeeaaaAAAAAUUUUUGGGGGHHHHH!!!!",
"The pain, the PAAAAAIN!",
"Please, no, nooo--",
"Unlife no more for this dead matter, the time comes for my flesh to splatter.",
"You gave back life, you gave back dreams, but now I'm bursting at the seams...",
"Remember meeeee!",
"My tummy hurts...",
"Whu..?",
"Ahahahahaha!",
"Me go boom, me go BOOM!",
"Grave circumstances, Master....",
"I see the light.. I see, oh.. just a wisp....",
"Master, wait... I thought I saw a....Master? ..",
"I'm not.. so sure my spine is supposed to bend this way....",
"I told you I could Dash 100 yards and back in time! You owe me 10 gol....",
}, 40)
end,
getDecay = function(self, t) return math.max(3, 10 - self:getTalentLevelRaw(self.T_AURA_MASTERY)) end,
getRadius = function(self, t) return 2 + self:getTalentLevelRaw(self.T_AURA_MASTERY) end,
activate = function(self, t)
......
......@@ -189,6 +189,8 @@ function necroSetupSummon(self, m, x, y, level, no_control)
self.changed = true
if self.life <= 0 then
game.logSeen(self, "#{bold}#%s decays into a pile of ash!#{normal}#", self.name:capitalize())
local t = src:getTalentFromId(src.T_NECROTIC_AURA)
t.die_speach(self, t)
self:die(self)
end
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