Add item spawn menu
Fix game over bug Start adding more implementation for jewels
This commit is contained in:
9
Zennysoft.Game.Ma.Implementation/Equipment/Augment.cs
Normal file
9
Zennysoft.Game.Ma.Implementation/Equipment/Augment.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
public class Augment
|
||||
{
|
||||
public JewelTags AugmentTag;
|
||||
|
||||
public Augment(JewelTags tag)
|
||||
{
|
||||
AugmentTag = tag;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using Chickensoft.Collections;
|
||||
using Chickensoft.Introspection;
|
||||
using Chickensoft.Introspection;
|
||||
using Chickensoft.Serialization;
|
||||
using Zennysoft.Ma.Adapter.Entity;
|
||||
|
||||
@@ -22,6 +21,8 @@ public abstract partial class EquipableItem : InventoryItem
|
||||
[Save("equipment_is_glued")]
|
||||
public bool Glued { get; set; }
|
||||
|
||||
public virtual Augment? Augment { get; set; }
|
||||
|
||||
[Save("bonus_elemental_resist_stats")]
|
||||
public virtual ElementalResistanceSet ElementalResistance { get; } = new ElementalResistanceSet(0, 0, 0, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
19
Zennysoft.Game.Ma.Implementation/Equipment/Tags/JewelTags.cs
Normal file
19
Zennysoft.Game.Ma.Implementation/Equipment/Tags/JewelTags.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
public enum JewelTags
|
||||
{
|
||||
None,
|
||||
AeolicElement,
|
||||
IncreaseHPRecovery,
|
||||
HastenVT,
|
||||
LowerEXPGain,
|
||||
Glue,
|
||||
ItemRescue,
|
||||
HydricElement,
|
||||
IgneousElement,
|
||||
IncreaseEXPGain,
|
||||
LowerHPRecovery,
|
||||
SlowVTReduction,
|
||||
AutoIdentifyAllItems,
|
||||
ReviveUserOnce,
|
||||
TelluricElement
|
||||
}
|
||||
Reference in New Issue
Block a user