fix: ClassJob and Level in actor struct

This commit is contained in:
goat 2020-08-12 02:15:19 +02:00
parent 283eb49f17
commit 19a6eb14ae
2 changed files with 3 additions and 3 deletions

View file

@ -33,8 +33,8 @@ namespace Dalamud.Game.ClientState.Structs
public const int MaxHp = 0x189C;
public const int CurrentMp = 0x18A0;
public const int MaxMp = 0x18AA;
public const int ClassJob = 6358;
public const int Level = 6360;
public const int ClassJob = 0x18DA;
public const int Level = 0x18DC;
public const int UIStatusEffects = 0x1958;
}

View file

@ -107,7 +107,7 @@ namespace Dalamud.Interface
continue;
stateString +=
$"{actor.Address.ToInt64():X}:{actor.ActorId:X}[{i}] - {actor.ObjectKind} - {actor.Name} - X{actor.Position.X} Y{actor.Position.Y} Z{actor.Position.Z} D{actor.YalmDistanceX} R{actor.Rotation}\n";
$"{actor.Address.ToInt64():X}:{actor.ActorId:X}[{i}] - {actor.ObjectKind} - {actor.Name} - X{actor.Position.X} Y{actor.Position.Y} Z{actor.Position.Z} D{actor.YalmDistanceX} R{actor.Rotation} - Target: {actor.TargetActorID:X}\n";
if (actor is Npc npc)
stateString += $" DataId: {npc.DataId} NameId:{npc.NameId}\n";