Remove debug prints
This commit is contained in:
@@ -15,10 +15,8 @@ local function init()
|
|||||||
local target = CLEUParser.GetDestName(...)
|
local target = CLEUParser.GetDestName(...)
|
||||||
if target ~= UnitName("player") then return end
|
if target ~= UnitName("player") then return end
|
||||||
local spellName = CLEUParser.GetSpellName(...)
|
local spellName = CLEUParser.GetSpellName(...)
|
||||||
print(spellName)
|
|
||||||
if not Dechickenator_Data.blacklistedBuffs[spellName] then return end
|
if not Dechickenator_Data.blacklistedBuffs[spellName] then return end
|
||||||
local source = CLEUParser.GetSourceName(...)
|
local source = CLEUParser.GetSourceName(...)
|
||||||
print(source)
|
|
||||||
local msg = string.format("Индивидуум %s хочет поделиться своим истинным обликом", tostring(source))
|
local msg = string.format("Индивидуум %s хочет поделиться своим истинным обликом", tostring(source))
|
||||||
CancelUnitBuff("player", spellName)
|
CancelUnitBuff("player", spellName)
|
||||||
SendChatMessage(msg, "EMOTE")
|
SendChatMessage(msg, "EMOTE")
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user