Some Glamourer stuff

This commit is contained in:
Ottermandias 2023-04-29 12:25:24 +02:00
parent a293e7dfea
commit 7d1d6ac829
4 changed files with 42 additions and 15 deletions

View file

@ -40,6 +40,12 @@ public struct CharacterWeapon : IEquatable<CharacterWeapon>
Stain = (StainId)(value >> 48);
}
public CharacterArmor ToArmor()
=> new(Set, (byte)Variant, Stain);
public CharacterArmor ToArmor(StainId stain)
=> new(Set, (byte)Variant, stain);
public static readonly CharacterWeapon Empty = new(0, 0, 0, 0);
public bool Equals(CharacterWeapon other)