DamageTypeChanges
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using DataServer.Data.Enums;
|
||||
|
||||
namespace Server.Game.Dungeon;
|
||||
|
||||
public class TickResult
|
||||
@@ -16,7 +14,11 @@ public class DamageEvent
|
||||
public EntityType TargetType { get; set; }
|
||||
public int TargetId { get; set; }
|
||||
public int Damage { get; set; }
|
||||
public DamageType DamageType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Damage type key (e.g., "physical", "fire", "poison")
|
||||
/// </summary>
|
||||
public string DamageTypeKey { get; set; } = "physical";
|
||||
|
||||
/// <summary>
|
||||
/// True if damage was reduced by resistance
|
||||
|
||||
Reference in New Issue
Block a user