Add jewels but no implementation yet (needed redesign of inventory menu to function correctly)
28 lines
837 B
C#
28 lines
837 B
C#
using Chickensoft.Collections;
|
|
using Chickensoft.Introspection;
|
|
using Chickensoft.Serialization;
|
|
using Zennysoft.Ma.Adapter.Entity;
|
|
|
|
namespace Zennysoft.Ma.Adapter;
|
|
|
|
[Meta, Id("equipable_item")]
|
|
public abstract partial class EquipableItem : InventoryItem
|
|
{
|
|
[Save("bonus_attack_stats")]
|
|
public virtual int BonusAttack { get; }
|
|
[Save("bonus_defense_stats")]
|
|
public virtual int BonusDefense { get; }
|
|
[Save("bonus_hp_stats")]
|
|
public virtual int BonusHP { get; }
|
|
[Save("bonus_vt_stats")]
|
|
public virtual int BonusVT { get; }
|
|
[Save("bonus_luck_stats")]
|
|
public virtual int BonusLuck { get; }
|
|
|
|
[Save("equipment_is_glued")]
|
|
public bool Glued { get; set; }
|
|
|
|
[Save("bonus_elemental_resist_stats")]
|
|
public virtual ElementalResistanceSet ElementalResistance { get; } = new ElementalResistanceSet(0, 0, 0, 0, 0, 0, 0);
|
|
}
|