Lightweight npcscan clone for classic (1.13). IMPORTANT: The folder name must be "unitscan". IMPORTANT: For vanilla (1.12) use this instead: https://github.com/shirsig/unitscan-vanilla
1x [ADDON_ACTION_FORBIDDEN] Модификация 'unitscan' пыталась вызвать защищенную функцию 'UNKNOWN()'.
!BugGrabber\BugGrabber.lua:519: in function <!BugGrabber\BugGrabber.lua:519>
C: in function TargetUnit' unitscan\unitscan.lua:49: in functiontarget'
unitscan\unitscan.lua:39: in function check_for_targets' unitscan\unitscan.lua:311: in functionUPDATE'
unitscan\unitscan.lua:2: in function <unitscan\unitscan.lua:2>
That's intended. This error is how it detects units. The function only throws the error when the unit was there. Afaik the only way to do it in classic.
1x [ADDON_ACTION_FORBIDDEN] Модификация 'unitscan' пыталась вызвать защищенную функцию 'UNKNOWN()'. !BugGrabber\BugGrabber.lua:519: in function <!BugGrabber\BugGrabber.lua:519>
C: in function
TargetUnit' unitscan\unitscan.lua:49: in function
target' unitscan\unitscan.lua:39: in functioncheck_for_targets' unitscan\unitscan.lua:311: in function
UPDATE' unitscan\unitscan.lua:2: in function <unitscan\unitscan.lua:2>