1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user