Skip to content

Commit

Permalink
Add FormerRegister to Context, change InitPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonKaminski committed Feb 9, 2025
1 parent a8c5f22 commit 3704e70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UdpHosts/GameServer/Systems/Aptitude/Context.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public Context(IShard shard, IAptitudeTarget initiator)
Abilities = shard.Abilities;
Targets = new AptitudeTargets();
FormerTargets = new AptitudeTargets();
InitPosition = Vector3.Zero;
InitPosition = initiator.Position;
}

public uint ChainId { get; set; }
Expand All @@ -27,6 +27,7 @@ public Context(IShard shard, IAptitudeTarget initiator)
public AptitudeTargets Targets { get; set; }
public AptitudeTargets FormerTargets { get; set; }
public float Register { get; set; }
public float FormerRegister { get; set; }
public int Bonus { get; set; }
public uint InitTime { get; set; }
public Vector3 InitPosition { get; set; }
Expand Down

0 comments on commit 3704e70

Please sign in to comment.