remove remaining vehicle

This commit is contained in:
Crum
2018-07-12 09:30:55 -05:00
parent 00de485c0b
commit 5c1eb005e4
23 changed files with 6 additions and 84 deletions
@@ -236,7 +236,7 @@ function UF:AuraBarFilter(unit, name, _, _, _, debuffType, duration, _, unitCast
if db.priority ~= "" then
noDuration = (not duration or duration == 0)
isFriend = unit and UnitIsFriend("player", unit) and not UnitCanAttack("player", unit)
isPlayer = (unitCaster == "player" or unitCaster == "vehicle")
isPlayer = (unitCaster == "player")
isUnit = unit and unitCaster and UnitIsUnit(unit, unitCaster)
canDispell = (self.type == "Buffs" and isStealable) or (self.type == "Debuffs" and debuffType and E:IsDispellableByMe(debuffType))
allowDuration = noDuration or (duration and (duration > 0) and (db.maxDuration == 0 or duration <= db.maxDuration) and (db.minDuration == 0 or duration >= db.minDuration))