Weapon tags, change

This commit is contained in:
2024-09-07 19:55:13 -07:00
parent c308fadb87
commit c6eaf19eb0
11 changed files with 94 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
using GameJamDungeon;
using Godot;
[GlobalClass]
@@ -6,6 +7,12 @@ public partial class WeaponInfo : InventoryItemInfo
[Export]
public required int Damage { get; set; }
[Export]
public double Luck { get; set; } = 0.05;
[Export]
public double AttackSpeed { get; set; } = 1;
[Export]
public double TelluricDamageBonus { get; set; }
@@ -20,4 +27,7 @@ public partial class WeaponInfo : InventoryItemInfo
[Export]
public double FerrumDamageBonus { get; set; }
[Export]
public Godot.Collections.Array<WeaponTag> WeaponTags { get; set; }
}

View File

@@ -5,10 +5,13 @@
[resource]
script = ExtResource("1_kbje7")
Damage = 11
Luck = 0.05
AttackSpeed = 1.0
TelluricDamageBonus = 0.0
AeolicDamageBonus = 0.0
BaseHydricDamageBonus = 0.0
IgneousDamageBonus = 0.0
FerrumDamageBonus = 0.0
WeaponTags = Array[int]([1])
Name = "Kubel"
Description = "A very powerful spear. For every hit, you lose 5 HP."

View File

@@ -5,10 +5,13 @@
[resource]
script = ExtResource("1_pwwg7")
Damage = 10
Luck = 0.05
AttackSpeed = 1.0
TelluricDamageBonus = 0.0
AeolicDamageBonus = 0.0
BaseHydricDamageBonus = 0.0
IgneousDamageBonus = 0.0
FerrumDamageBonus = 0.0
WeaponTags = Array[int]([3])
Name = "Palm of Heaven"
Description = "Very Powerful. Breaks upon leaving the floor."

View File

@@ -5,9 +5,12 @@
[resource]
script = ExtResource("1_oqgv2")
Damage = 7
Luck = 0.85
AttackSpeed = 1.5
TelluricDamageBonus = 0.0
AeolicDamageBonus = 0.0
BaseHydricDamageBonus = 0.0
IgneousDamageBonus = 0.0
FerrumDamageBonus = 0.0
Name = "Rare sword"
Description = "Rare"

View File

@@ -5,10 +5,13 @@
[resource]
script = ExtResource("1_xfb0x")
Damage = 7
Luck = 0.05
AttackSpeed = 1.333
TelluricDamageBonus = 0.0
AeolicDamageBonus = 0.0
BaseHydricDamageBonus = 0.0
IgneousDamageBonus = 0.0
FerrumDamageBonus = 0.0
WeaponTags = Array[int]([1])
Name = "Rondo"
Description = "An eastern blade outside of time and reproach."

View File

@@ -5,11 +5,14 @@
[resource]
script = ExtResource("1_cik6n")
Damage = 12
Luck = 0.05
AttackSpeed = 1.25
TelluricDamageBonus = 0.0
AeolicDamageBonus = 0.0
BaseHydricDamageBonus = 0.0
IgneousDamageBonus = 0.0
FerrumDamageBonus = 0.0
WeaponTags = Array[int]([1])
Name = "Swan Sword Odette"
Description = "Ignores Affinity.