Quartz

16 - target cast bar does not dsappear when deselecting/losing target

What steps will reproduce the problem?
1. start fishinh (or any other channelled spell)
2. select yourself as target
3. deselect target (so you don't have anything in target)

What is the expected output? What do you see instead?
I expcet to see the target's casting bar after step #2 and I expect the target's casting bar to disappear when deselecting/losing my target in step #3.

The target's casting bar is displayed until the end of channelling time although there is no target anymore

This of course not only when targeting oneself but always when you deselect your target or select a target you specified "don't display casting bar" after target started channelling a spell

What version of the product are you using?
r010

Do you have an error log of what happened?
no error log

Please provide any additional information below.

if not UnitExists('target') then
        return
    end
    if not db.profile.showfriendly then
        if UnitIsFriend('player', 'target') then
            return
        end
    end
    if not db.profile.showhostile then
        if UnitIsEnemy('player', 'target') then
            return
        end
    end

should be changed to:
if not UnitExists('target') then
        castBarParent:Hide()
        return
    end
    if not db.profile.showfriendly then
        if UnitIsFriend('player', 'target') then
            castBarParent:Hide()
            return
        end
    end
    if not db.profile.showhostile then
        if UnitIsEnemy('player', 'target') then
            castBarParent:Hide()
            return
        end
    end

code example is from function QuartzTarget:PLAYER_TARGET_CHANGED()in file Quartz_Target.lua affects Quartz_Focus also

User When Change
Nevcairiel Sat, 06 Feb 2010 17:44:59 Changed status from New to Fixed
aeon0815 Wed, 25 Feb 2009 18:20:25 Changed description:
  		end
  	end

- (affects Quartz_Focus) also
+ code example is from function QuartzTarget:PLAYER_TARGET_CHANGED()in file Quartz_Target.lua, affects Quartz_Focus also
aeon0815 Wed, 25 Feb 2009 18:18:42 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of aeon0815 aeon0815 Wed, 25 Feb 2009 18:19:28

    code example above is from function QuartzTarget:PLAYER_TARGET_CHANGED() in Quartz_Target.lua^^

  • 1 comment

Facts

Last updated on
06 Feb 2010
Reported on
25 Feb 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +12, Average: +3.0)