Initial Combat Implementation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Unity.Entities;
|
||||
|
||||
namespace ProjectM.Simulation
|
||||
{
|
||||
/// <summary>
|
||||
/// Per-entity effective character stats (movement + survivability): authored base (from the
|
||||
/// CharacterStats blob keyed by CharacterStatsRef) folded with the StatModifier buffer by
|
||||
/// StatRecomputeSystem each predicted tick. Derived/local, NOT replicated (see EffectiveAbilityStats).
|
||||
/// </summary>
|
||||
public struct EffectiveCharacterStats : IComponentData
|
||||
{
|
||||
public float MoveSpeed;
|
||||
public float TurnRateRadiansPerSec;
|
||||
public float MaxHealth;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user