This commit is contained in:
CortexCore
2025-08-03 02:28:22 +08:00
parent 87007c9c24
commit 519c93d651
26 changed files with 427 additions and 5 deletions

View File

@@ -13,27 +13,37 @@ namespace Net.Project.B.Buff
public struct AddHp : IBuff
{
public float Value { get; set; }
public override bool Equals(object obj) => obj?.GetType() == GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
[Serializable]
public struct InfiniteAp : IBuff
{
public float Value { get; set; }
public override bool Equals(object obj) => obj?.GetType() == GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
[Serializable]
public struct Hunger : IBuff
{
public float Value { get; set; }
public override bool Equals(object obj) => obj?.GetType() == GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
[Serializable]
public struct Thirsty : IBuff
{
public float Value { get; set; }
public override bool Equals(object obj) => obj?.GetType() == GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
[Serializable]
public struct Bleeding:IBuff
{
public float Value { get; set; }
public override bool Equals(object obj) => obj?.GetType() == GetType();
public override int GetHashCode() => GetType().GetHashCode();
}
}