@Thalia
Open Message.lua
Find the following
Code:
elseif Spell.Name == Necrosis.Spell[37].Name then
Speeches.SpellSucceed.TP = setmetatable({}, metatable)
if (NecrosisConfig.ChatMsg or NecrosisConfig.SM) and self.Speech.TP then
local tempnum = math.random(1, #self.Speech.TP)
while tempnum == Speeches.LastSpeech.TP and #self.Speech.TP >= 2 do
tempnum = math.random(1, #self.Speech.TP)
end
Speeches.LastSpeech.TP = tempnum
for i in ipairs(self.Speech.TP[tempnum]) do
if self.Speech.TP[tempnum][i]:find("<after>") then
Speeches.SpellSucceed.TP:insert(self.Speech.TP[tempnum][i])
elseif self.Speech.TP[tempnum][i]:find("<emote>") then
self:Msg(self:MsgReplace(self.Speech.TP[tempnum][i], Spell.TargetName), "EMOTE")
elseif self.Speech.TP[tempnum][i]:find("<yell>") then
self:Msg(self:MsgReplace(self.Speech.TP[tempnum][i], Spell.TargetName), "YELL")
else
self:Msg(self:MsgReplace(self.Speech.TP[tempnum][i], Spell.TargetName), "WORLD")
end
end
end
AlphaBuffMenu = 1
AlphaBuffVar = GetTime() + 3
-- messages to be posted while summoning a pet demon
Add a this new line
Code:
self:Msg("summons a nice steaming cup of Gherkin Dark Blend.", "EMOTE")
so that it looks like this
Code:
elseif Spell.Name == Necrosis.Spell[37].Name then
Speeches.SpellSucceed.TP = setmetatable({}, metatable)
if (NecrosisConfig.ChatMsg or NecrosisConfig.SM) and self.Speech.TP then
local tempnum = math.random(1, #self.Speech.TP)
while tempnum == Speeches.LastSpeech.TP and #self.Speech.TP >= 2 do
tempnum = math.random(1, #self.Speech.TP)
end
Speeches.LastSpeech.TP = tempnum
for i in ipairs(self.Speech.TP[tempnum]) do
if self.Speech.TP[tempnum][i]:find("<after>") then
Speeches.SpellSucceed.TP:insert(self.Speech.TP[tempnum][i])
elseif self.Speech.TP[tempnum][i]:find("<emote>") then
self:Msg(self:MsgReplace(self.Speech.TP[tempnum][i], Spell.TargetName), "EMOTE")
elseif self.Speech.TP[tempnum][i]:find("<yell>") then
self:Msg(self:MsgReplace(self.Speech.TP[tempnum][i], Spell.TargetName), "YELL")
else
self:Msg(self:MsgReplace(self.Speech.TP[tempnum][i], Spell.TargetName), "WORLD")
end
end
self:Msg("summons a nice steaming cup of Gherkin Dark Blend.", "EMOTE")
end
AlphaBuffMenu = 1
AlphaBuffVar = GetTime() + 3
-- messages to be posted while summoning a pet demon
Gherkin Dark, a sophisticated choice for a sophisticated Warlock.