mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: ClassJob and Level in actor struct
This commit is contained in:
parent
283eb49f17
commit
19a6eb14ae
2 changed files with 3 additions and 3 deletions
|
|
@ -33,8 +33,8 @@ namespace Dalamud.Game.ClientState.Structs
|
||||||
public const int MaxHp = 0x189C;
|
public const int MaxHp = 0x189C;
|
||||||
public const int CurrentMp = 0x18A0;
|
public const int CurrentMp = 0x18A0;
|
||||||
public const int MaxMp = 0x18AA;
|
public const int MaxMp = 0x18AA;
|
||||||
public const int ClassJob = 6358;
|
public const int ClassJob = 0x18DA;
|
||||||
public const int Level = 6360;
|
public const int Level = 0x18DC;
|
||||||
public const int UIStatusEffects = 0x1958;
|
public const int UIStatusEffects = 0x1958;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ namespace Dalamud.Interface
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
stateString +=
|
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)
|
if (actor is Npc npc)
|
||||||
stateString += $" DataId: {npc.DataId} NameId:{npc.NameId}\n";
|
stateString += $" DataId: {npc.DataId} NameId:{npc.NameId}\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue