Greetings everyone!
This info will be useful to PQR PvP profile authors. I've created a code to
automatically reveal stealthers in bgs/rbgs/arenas and you can easily put it into your profiles!
Principle of work
It's very simple. It tracks all invisible stealthers (those who cannot be targeted at the moment) and scans the area for them. List of invisible stealthers is updated every 2 seconds. It won't interrupt your spellcasting/channeling with stealth-breaker ability or target change. /target spam won't affect performance of your game.
How to use it
You can create a new ability in your pvp profile and put my code there.
This part is responsible for stealthed list update period:
Code:
local rescan_period=2 --how often stealthed list is repopulated
and this defines stealth-breaker spell for each class, it's not completed yet:
Code:
local function Breaker() --instant stealth breaker, class dependent
local _, playerClass = UnitClass("player")
...
end
BONUS
Auto flag pickup/return with option of running to the flag if Shift is pressed.
Stealthers' Bane
Auto flag pickup/return
I'm looking forward to get your feedback and tips on improvement!