Mouseover.lua
À propos du fichier
- Type de fichier
- Fichier LUA de < 1 Ko (text/plain)
- Confidentialité
- Fichier public, envoyé le 24 août 2017 à 00:06, depuis l'adresse IP 77.140.x.x (France)
- Sécurité
- Ne contient aucun Virus ou Malware connus - Dernière vérification: 2 jours
- Statistiques
- La présente page de téléchargement a été vue 474 fois depuis l'envoi du fichier
- Page de téléchargement
-
Aperçu du fichier
function SmartCastFriend(spell)
local haveTarget = UnitExists("target")
local target = "player"
local f = GetMouseFocus()
if (UnitIsVisible("mouseover") and UnitReaction("mouseover", "player") >= 5) then
target = "mouseover"
elseif (UnitIsVisible(f.unit) and UnitReaction(f.unit, "player") >= 5) then
target = f.unit
elseif (UnitIsVisible("target") and UnitReaction("target", "player") >= 5) then
target = "target"
end
if (UnitIsUnit(target, "target")) then
CastSpellByName(spell)
else
TargetUnit(target)
CastSpellByName(spell)
if (haveTarget) then
TargetLastTarget()
else
ClearTarget()
end
end
end
Partager le fichier Mouseover.lua sur le Web et les réseaux sociaux:
Télécharger le fichier Mouseover.lua
Télécharger Mouseover.lua