ngld / OverlayPlugin

Yet another OverlayPlugin fork.
Other
230 stars 39 forks source link

EnmityTargetData issue in Korean server #269

Open HAERUHAERU opened 2 years ago

HAERUHAERU commented 2 years ago

Hello. CurrentHP data is counted as 0 on Korean server. So the target bar is hidden. How can I use target bar on Korean server? Is there any way to solve this problem? I look forward to your reply. Thank you.

targetbars.js let data = e[this.target]; // If there's no target, or if the target is something like a marketboard // which has zero HP, then don't show the overlay. if (!data || data.MaxHP === 0) { this.setVisible(false); return; }

EnmityTargetData {type: 'EnmityTargetData', Target: {…}, Focus: null, Hover: null, TargetOfTarget: null, …} Entries: [] Focus: null Hover: null Target: AggressionStatus: 0 CurrentHP: 0 Distance: "9.03" EffectiveDistance: "0.00" Effects: Array(2) 0: ActorID: 4278190080 BuffID: 256 Stack: 1 Timer: 0 isOwner: false

1: ActorID: 50528256 BuffID: 255 Stack: 4 Timer: 9.18355e-41 isOwner: false

length: 2

ID: 1073875742 IsTargetable: false Job: 0 MaxHP: 0 ModelStatus: 0 MonsterType: 0 Name: "거대 말벌" OwnerID: 0 PosX: -20.2182 PosY: -5.06750059 PosZ: 218.005615 Radius: 0 Rotation: 1.69186282 Status: 0 TargetID: 0 Type: 2

TargetOfTarget: null type: "EnmityTargetData"