Skip to content

Commit

Permalink
Fix target address offset (dx9/dx11)
Browse files Browse the repository at this point in the history
- focus target
- hover target
  • Loading branch information
xtuaok committed Feb 25, 2016
1 parent 920b000 commit ae16096
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions EnmityPlugin/FFXIVMemory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public Combatant GetAnchorCombatant()
public Combatant GetFocusCombatant()
{
Combatant self = null;
int offset = _mode == FFXIVClientMode.FFXIV_64 ? 0x70 : 0x48;
int offset = _mode == FFXIVClientMode.FFXIV_64 ? 0x78 : 0x44;
IntPtr address = (IntPtr)GetUInt32(targetAddress + offset);
if (address.ToInt64() > 0)
{
Expand All @@ -312,7 +312,7 @@ public Combatant GetFocusCombatant()
public Combatant GetHoverCombatant()
{
Combatant self = null;
int offset = _mode == FFXIVClientMode.FFXIV_64 ? 0x38 : 0x1B;
int offset = _mode == FFXIVClientMode.FFXIV_64 ? 0x48 : 0x24;
IntPtr address = (IntPtr)GetUInt32(targetAddress + offset);
if (address.ToInt64() > 0)
{
Expand Down
4 changes: 2 additions & 2 deletions EnmityPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.7.0")]
[assembly: AssemblyFileVersion("1.6.7.0")]
[assembly: AssemblyVersion("1.6.7.1")]
[assembly: AssemblyFileVersion("1.6.7.1")]

0 comments on commit ae16096

Please sign in to comment.