Implement most jewels
This commit is contained in:
@@ -36,40 +36,4 @@ public partial class Jewel : InventoryItem, IAugmentItem
|
||||
public JewelStats Stats { get; set; } = new JewelStats();
|
||||
|
||||
public JewelTags Augment => Stats.JewelTag;
|
||||
|
||||
public void ApplyAugment(Weapon weapon)
|
||||
{
|
||||
weapon.Augment = new Augment(Stats.JewelTag);
|
||||
switch (Stats.JewelTag)
|
||||
{
|
||||
case JewelTags.AeolicElement:
|
||||
weapon.Stats.WeaponElement = ElementType.Aeolic;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void ApplyAugment(Armor armor)
|
||||
{
|
||||
armor.Augment = new Augment(Stats.JewelTag);
|
||||
switch (Stats.JewelTag)
|
||||
{
|
||||
case JewelTags.AeolicElement:
|
||||
armor.Stats.AeolicResistance += 25;
|
||||
break;
|
||||
case JewelTags.HydricElement:
|
||||
armor.Stats.HydricResistance += 25;
|
||||
break;
|
||||
case JewelTags.IgneousElement:
|
||||
armor.Stats.IgneousResistance += 25;
|
||||
break;
|
||||
case JewelTags.TelluricElement:
|
||||
armor.Stats.TelluricResistance += 25;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void ApplyAugment(Accessory accessory)
|
||||
{
|
||||
accessory.Augment = new Augment(Stats.JewelTag);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_dxj8h")
|
||||
JewelTag = 15
|
||||
Name = "Black Egg"
|
||||
Description = "Increase Attack, Defense, and Luck."
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_vvfsu")
|
||||
JewelTag = 16
|
||||
Name = "Cat's Eye"
|
||||
Description = "Dramatically increases Luck."
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_k60ln")
|
||||
JewelTag = 3
|
||||
Name = "Cinnabar Structure"
|
||||
Description = "Hastens VT, adds or improves Rust."
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_pn071")
|
||||
JewelTag = 4
|
||||
Name = "Foolish Orb"
|
||||
Description = "Lowers EXP gain."
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_c23yr")
|
||||
JewelTag = 5
|
||||
Name = "Glue Orb"
|
||||
Description = "Prevents item from being unequipped."
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_7gwjj")
|
||||
JewelTag = 6
|
||||
Name = "Heirloom Stone"
|
||||
Description = "Returns item to the surface world."
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_qh03l")
|
||||
JewelTag = 8
|
||||
Name = "Igneous Jewel"
|
||||
Description = ""
|
||||
SpawnRate = 0.5
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ivvck")
|
||||
JewelTag = 9
|
||||
Name = "Mercury Prism"
|
||||
Description = ""
|
||||
Description = "Increases EXP Gain rate."
|
||||
SpawnRate = 0.5
|
||||
BonusAttack = 0
|
||||
BonusDefense = 0
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_cabnq")
|
||||
JewelTag = 11
|
||||
Name = "Metabolic Jewel"
|
||||
Description = ""
|
||||
Description = "Slows VT Rate reduction."
|
||||
SpawnRate = 0.5
|
||||
BonusAttack = 0
|
||||
BonusDefense = 0
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_75k4l")
|
||||
JewelTag = 12
|
||||
Name = "Ossified Cortex"
|
||||
Description = ""
|
||||
Description = "Identifes all items automatically."
|
||||
SpawnRate = 0.5
|
||||
BonusAttack = 0
|
||||
BonusDefense = 0
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_fkhpb")
|
||||
JewelTag = 13
|
||||
Name = "Rejection Stone"
|
||||
Description = ""
|
||||
Description = "Revives the user once. Breaks item on use."
|
||||
SpawnRate = 0.5
|
||||
BonusAttack = 0
|
||||
BonusDefense = 0
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_868vv")
|
||||
JewelTag = 0
|
||||
Name = "Tarnished Jewel"
|
||||
Description = ""
|
||||
Description = "No effect."
|
||||
SpawnRate = 0.5
|
||||
BonusAttack = 0
|
||||
BonusDefense = 0
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_c8kww")
|
||||
JewelTag = 14
|
||||
Name = "Telluric Jewel"
|
||||
Description = "Add Telluric damage to Weapon or Telluric resistance to Armor."
|
||||
SpawnRate = 0.5
|
||||
|
||||
Reference in New Issue
Block a user