Skip to content

Instantly share code, notes, and snippets.

@glajchs
Created May 25, 2014 02:32
Show Gist options
  • Select an option

  • Save glajchs/6def38634f9d3097b8d7 to your computer and use it in GitHub Desktop.

Select an option

Save glajchs/6def38634f9d3097b8d7 to your computer and use it in GitHub Desktop.
Tricks of the trade modification
diff -r TrickOrTreat/core.lua TrickOrTreat_official/core.lua
87,90d86
< local isTanking,_,threatpct,_,threatvalue = UnitDetailedThreatSituation(self.last_tricked, "target");
< if not isTanking then
< SendChatMessage("Tricks in " .. self.db.profile.cdwarntime .. " Seconds...", "WHISPER", nil, self.last_tricked)
< end
92c88
< self:Print("Tricks in " .. self.db.profile.cdwarntime .. " Seconds...")
---
> self:Print("Tricks is Ready!")
95c91
< self:Pour("Tricks in " .. self.db.profile.cdwarntime .. " Seconds...")
---
> self:Pour("Tricks is Ready!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment