Hi, im currently try to kill Gorefiend Mythic
I fount out this crazy debuff is kill our raid so hard
and i found
function(...)
local digestName = select(5,...) -- this is the name of the player who got digested (taken from trigger 1, so this will always be accurate)
digestName = string.gsub(digestName, "%-[^|]+", "") -- remove realm names, if any (redundant maybe?)
local initalHP = 1047180 -- 1,047,180 hp per soul
local dmgReturn = 0 -- just setting up to use this variable to return the amount of damage taken.
for k,v in ipairs(aura_env.playerInfo) do -- for every player in the table
if digestName == v.NAME then -- if their name matches trigger 1's name
dmgReturn = v.DMG_TAKEN -- save the amount of damage that player took so far
break -- stop looping through the table
end
end
return string.format("%s - %d %%%%", digestName, ((initalHP - dmgReturn) / initalHP) * 100)
-- return "Name - HP%", name of the person and the health calculation (1m - damage taken / 1m) * 100
end
this from other post
that show whos getting digest / and their time & HP left
im trying to add
Yell function here
so when the one has less then 10 sec left
it will Yell that Character's name
is anyone able to help me?