fix(codegen): Codegens clothing (#714)
This commit is contained in:
parent
13931ddf1d
commit
ca3faec01d
105 changed files with 1175 additions and 2477 deletions
|
|
@ -30,20 +30,6 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance => ArmorMeditationAllowance.All;
|
||||
|
||||
[EncodedInt]
|
||||
[SerializableField(1)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public int MaxArcaneCharges
|
||||
{
|
||||
get => _maxArcaneCharges;
|
||||
set
|
||||
{
|
||||
_maxArcaneCharges = value;
|
||||
InvalidateProperties();
|
||||
Update();
|
||||
}
|
||||
}
|
||||
|
||||
[EncodedInt]
|
||||
[SerializableField(0)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
@ -58,6 +44,20 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[EncodedInt]
|
||||
[SerializableField(1)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public int MaxArcaneCharges
|
||||
{
|
||||
get => _maxArcaneCharges;
|
||||
set
|
||||
{
|
||||
_maxArcaneCharges = value;
|
||||
InvalidateProperties();
|
||||
Update();
|
||||
}
|
||||
}
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public bool IsArcane => _maxArcaneCharges > 0 && _curArcaneCharges >= 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue