Engineer's Pet target health client/server desync after switching a target #941
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	area
blabot
		
			area
client
		
			area
encounters
		
			area
launcher
		
			area
missions
		
			area
npc-behavior
		
			area
performance
		
			area
portal
		
			area
quests
		
			area
rdb
		
			area
teams
		
			area
trading
		
			area
zone
		
			priority
1
		
			priority
2
		
			priority
3
		
			priority
4
		
			shadowlands
		
			state
cant-reproduce
		
			state
duplicate
		
			state
fixed
		
			state
new
		
			state
unrefined
		
			state
verified
		
			state
wontfix
		
			type
bug
		
			type
enhancement
		
		
	
		No milestone
		
			
		
	
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		2 participants
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
		Reference: prk/issues#941
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reproduction steps
Expected results
Actual results
Bug prevalence
Every time.
Description
Report link
https://pastebin.com/GYKHuJym
Confirmed. The bug is reproducible as described above. The client incorrectly shows damage on the first target while the server correctly applies damage to the second target.
This can also cause the target to not die properly.
Added a video. You can see health going down on both targets health bars after pet target is switched. When the new target dies, the per leaves combat and the original target's health stops visually decreasing. After switching target back to original target, if the visual health drops to zero, but is not actually zero, it will jump to the correct health displayed.