diff --git a/Assets/Data/Items/Basic Item.asset b/Assets/Data/Items/Basic Item.asset index 13700f7..143901c 100644 --- a/Assets/Data/Items/Basic Item.asset +++ b/Assets/Data/Items/Basic Item.asset @@ -30,13 +30,13 @@ MonoBehaviour: Data: 1 - Name: Entry: 7 - Data: 1|Modifiers.FlatStatModifier, Assembly-CSharp + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp - Name: stat Entry: 3 Data: 0 - - Name: value + - Name: percent Entry: 4 - Data: 10 + Data: 0 - Name: Entry: 8 Data: @@ -61,7 +61,7 @@ MonoBehaviour: Data: 7 - Name: percent Entry: 4 - Data: -0.2 + Data: 0 - Name: Entry: 8 Data: @@ -71,7 +71,7 @@ MonoBehaviour: - Name: Entry: 8 Data: - itemName: Dupa Mari - description: 'Cure: Health +10, Curse: MeleeDamage -20%' + itemName: + description: icon: {fileID: 0} price: 0 diff --git a/Assets/Data/Items/Berserker's chain.asset b/Assets/Data/Items/Berserker's chain.asset new file mode 100644 index 0000000..050ab83 --- /dev/null +++ b/Assets/Data/Items/Berserker's chain.asset @@ -0,0 +1,102 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Berserker's chain + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 2 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 7 + - Name: percent + Entry: 4 + Data: 0.25 + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: 2|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 9 + - Name: percent + Entry: 4 + Data: 0.15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 3|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 2 + - Name: + Entry: 7 + Data: 4|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 4 + - Name: percent + Entry: 4 + Data: -0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 7 + Data: 5|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 1 + - Name: value + Entry: 4 + Data: -10 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Berserker's chain + description: 'Cure: MeleeDamage +25%, AttackSpeed +15%, Curse: Armor -20%, MaxHealth + -10' + icon: {fileID: 0} + price: 300 diff --git a/Assets/Data/Items/Berserker's chain.asset.meta b/Assets/Data/Items/Berserker's chain.asset.meta new file mode 100644 index 0000000..e42a82d --- /dev/null +++ b/Assets/Data/Items/Berserker's chain.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 62526676dc2201d0f969be5bf43a94d5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Blood oath pendant.asset b/Assets/Data/Items/Blood oath pendant.asset new file mode 100644 index 0000000..f65e830 --- /dev/null +++ b/Assets/Data/Items/Blood oath pendant.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Blood oath pendant + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 9 + - Name: percent + Entry: 4 + Data: 0.15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 1 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Blood oath pendant + description: 'Cure: AttackSpeed +15%, Curse: MaxHealth -10%' + icon: {fileID: 0} + price: 150 diff --git a/Assets/Data/Items/Blood oath pendant.asset.meta b/Assets/Data/Items/Blood oath pendant.asset.meta new file mode 100644 index 0000000..b6b9fb9 --- /dev/null +++ b/Assets/Data/Items/Blood oath pendant.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bcacab83b7f39aab5a6518ce234218c7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Firebrand ring.asset b/Assets/Data/Items/Firebrand ring.asset new file mode 100644 index 0000000..429ea31 --- /dev/null +++ b/Assets/Data/Items/Firebrand ring.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Firebrand ring + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 5 + - Name: percent + Entry: 4 + Data: 0.15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 4 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Firebrand ring + description: 'Cure: Damage +15%, Curse: Armor -10%' + icon: {fileID: 0} + price: 200 diff --git a/Assets/Data/Items/Firebrand ring.asset.meta b/Assets/Data/Items/Firebrand ring.asset.meta new file mode 100644 index 0000000..617d10b --- /dev/null +++ b/Assets/Data/Items/Firebrand ring.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 541d3f3ae588b0ea2863bb2ae56fcd7d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Frenzy Boots.asset b/Assets/Data/Items/Frenzy Boots.asset new file mode 100644 index 0000000..7765c5e --- /dev/null +++ b/Assets/Data/Items/Frenzy Boots.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Frenzy Boots + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 2 + - Name: percent + Entry: 4 + Data: 0.15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 8 + - Name: percent + Entry: 4 + Data: -0.15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Frenzy Boots + description: 'Cure: MoveSpeed +15%, Curse: AttackRange -15%' + icon: {fileID: 0} + price: 180 diff --git a/Assets/Data/Items/Frenzy Boots.asset.meta b/Assets/Data/Items/Frenzy Boots.asset.meta new file mode 100644 index 0000000..e4dcaea --- /dev/null +++ b/Assets/Data/Items/Frenzy Boots.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2205d44251efdfdc6b38ef2feb11c7bc +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Glass sword.asset b/Assets/Data/Items/Glass sword.asset new file mode 100644 index 0000000..797e693 --- /dev/null +++ b/Assets/Data/Items/Glass sword.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Glass sword + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 5 + - Name: value + Entry: 4 + Data: 30 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 5 + - Name: percent + Entry: 4 + Data: -0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Glass Sword + description: 'Cure: Damage +30, Curse: Damage -20%' + icon: {fileID: 0} + price: 150 diff --git a/Assets/Data/Items/Glass sword.asset.meta b/Assets/Data/Items/Glass sword.asset.meta new file mode 100644 index 0000000..d0edb7c --- /dev/null +++ b/Assets/Data/Items/Glass sword.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c9668138a6bceb3ee9a36798c210a7ec +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Ironclad Boots.asset b/Assets/Data/Items/Ironclad Boots.asset new file mode 100644 index 0000000..69cfc01 --- /dev/null +++ b/Assets/Data/Items/Ironclad Boots.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Ironclad Boots + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 4 + - Name: value + Entry: 4 + Data: 15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 2 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Ironclad Boots + description: 'Cure: Armor +15, Curse: MoveSpeed -10%' + icon: {fileID: 0} + price: 160 diff --git a/Assets/Data/Items/Ironclad Boots.asset.meta b/Assets/Data/Items/Ironclad Boots.asset.meta new file mode 100644 index 0000000..b1a5e68 --- /dev/null +++ b/Assets/Data/Items/Ironclad Boots.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: beabba089016cec7cbc6f6f148a2a159 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Potion of the Boulder.asset b/Assets/Data/Items/Potion of the Boulder.asset new file mode 100644 index 0000000..b7e592e --- /dev/null +++ b/Assets/Data/Items/Potion of the Boulder.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Potion of the Boulder + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 1 + - Name: value + Entry: 4 + Data: 30 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 9 + - Name: percent + Entry: 4 + Data: -0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Potion of the Boulder + description: 'Cure: MaxHealth +30, Curse: AttackSpeed -20%' + icon: {fileID: 0} + price: 100 diff --git a/Assets/Data/Items/Potion of the Boulder.asset.meta b/Assets/Data/Items/Potion of the Boulder.asset.meta new file mode 100644 index 0000000..c6de0d8 --- /dev/null +++ b/Assets/Data/Items/Potion of the Boulder.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fef35d02fe29afb858026ca3ab83f3f5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Quickdraw Quiver.asset b/Assets/Data/Items/Quickdraw Quiver.asset new file mode 100644 index 0000000..8079c6f --- /dev/null +++ b/Assets/Data/Items/Quickdraw Quiver.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Quickdraw Quiver + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 9 + - Name: percent + Entry: 4 + Data: 0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 5 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Quickdraw Quiver + description: 'Cure: AttackSpeed +20%, Curse: Damage -10%' + icon: {fileID: 0} + price: 170 diff --git a/Assets/Data/Items/Quickdraw Quiver.asset.meta b/Assets/Data/Items/Quickdraw Quiver.asset.meta new file mode 100644 index 0000000..aae9e33 --- /dev/null +++ b/Assets/Data/Items/Quickdraw Quiver.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b0b06478ab3e2aea8815a78861d48238 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Razor leaf.asset b/Assets/Data/Items/Razor leaf.asset new file mode 100644 index 0000000..0b4cfff --- /dev/null +++ b/Assets/Data/Items/Razor leaf.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Razor leaf + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 8 + - Name: percent + Entry: 4 + Data: 0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 0 + - Name: value + Entry: 4 + Data: -10 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Razor leaf + description: 'Cure: AttackRange +10%, Curse: Health -10' + icon: {fileID: 0} + price: 120 diff --git a/Assets/Data/Items/Razor leaf.asset.meta b/Assets/Data/Items/Razor leaf.asset.meta new file mode 100644 index 0000000..77df574 --- /dev/null +++ b/Assets/Data/Items/Razor leaf.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86d260ae7c5ae78589176b4f5654045a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Serrated Blade.asset b/Assets/Data/Items/Serrated Blade.asset new file mode 100644 index 0000000..9fcb179 --- /dev/null +++ b/Assets/Data/Items/Serrated Blade.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Serrated Blade + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 5 + - Name: percent + Entry: 4 + Data: 0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 0 + - Name: value + Entry: 4 + Data: -15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Serrated Blade + description: 'Cure: Damage +20%, Curse: Health -15' + icon: {fileID: 0} + price: 175 diff --git a/Assets/Data/Items/Serrated Blade.asset.meta b/Assets/Data/Items/Serrated Blade.asset.meta new file mode 100644 index 0000000..acd6545 --- /dev/null +++ b/Assets/Data/Items/Serrated Blade.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 45f434241590936078685f80ca2d6137 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Sharphooster's Glove.asset b/Assets/Data/Items/Sharphooster's Glove.asset new file mode 100644 index 0000000..02980a8 --- /dev/null +++ b/Assets/Data/Items/Sharphooster's Glove.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Sharphooster's Glove + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 6 + - Name: percent + Entry: 4 + Data: 0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 7 + - Name: percent + Entry: 4 + Data: -0.15 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Sharphooster's Glove + description: 'Cure: RangedDamage +20%, Curse: MeleeDamage -15%' + icon: {fileID: 0} + price: 130 diff --git a/Assets/Data/Items/Sharphooster's Glove.asset.meta b/Assets/Data/Items/Sharphooster's Glove.asset.meta new file mode 100644 index 0000000..2a564e1 --- /dev/null +++ b/Assets/Data/Items/Sharphooster's Glove.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 708bdb39e5d655310a4c74efdbc89afb +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Spiked helm.asset b/Assets/Data/Items/Spiked helm.asset new file mode 100644 index 0000000..6409ecb --- /dev/null +++ b/Assets/Data/Items/Spiked helm.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Spiked helm + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.FlatStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 4 + - Name: value + Entry: 4 + Data: 20 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 9 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Spiked helm + description: 'Cure: Armor +20, Curse: AttackSpeed -10%' + icon: {fileID: 0} + price: 180 diff --git a/Assets/Data/Items/Spiked helm.asset.meta b/Assets/Data/Items/Spiked helm.asset.meta new file mode 100644 index 0000000..befe2fb --- /dev/null +++ b/Assets/Data/Items/Spiked helm.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 69b951547b3c8a5c7a7c41e109d98665 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Stoneheart Amulet.asset b/Assets/Data/Items/Stoneheart Amulet.asset new file mode 100644 index 0000000..f3f88db --- /dev/null +++ b/Assets/Data/Items/Stoneheart Amulet.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Stoneheart Amulet + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 4 + - Name: percent + Entry: 4 + Data: 0.25 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 2 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Stoneheart amulet + description: 'Cure: Armor +25%, Curse: MoveSpeed -10%' + icon: {fileID: 0} + price: 200 diff --git a/Assets/Data/Items/Stoneheart Amulet.asset.meta b/Assets/Data/Items/Stoneheart Amulet.asset.meta new file mode 100644 index 0000000..d96fdeb --- /dev/null +++ b/Assets/Data/Items/Stoneheart Amulet.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 80b9021e19df89d888ce03165cb3f9ca +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Titan Gauntlet.asset b/Assets/Data/Items/Titan Gauntlet.asset new file mode 100644 index 0000000..1639334 --- /dev/null +++ b/Assets/Data/Items/Titan Gauntlet.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Titan Gauntlet + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 7 + - Name: percent + Entry: 4 + Data: 0.25 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 2 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Titan Gauntlet + description: 'Cure: MeleeDamage +25%, Curse: MoveSpeed -10%' + icon: {fileID: 0} + price: 180 diff --git a/Assets/Data/Items/Titan Gauntlet.asset.meta b/Assets/Data/Items/Titan Gauntlet.asset.meta new file mode 100644 index 0000000..32ac489 --- /dev/null +++ b/Assets/Data/Items/Titan Gauntlet.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 005dbea6609f1eb6a83b00f45637f418 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Items/Vampire's draught.asset b/Assets/Data/Items/Vampire's draught.asset index b698bf7..ec60079 100644 --- a/Assets/Data/Items/Vampire's draught.asset +++ b/Assets/Data/Items/Vampire's draught.asset @@ -71,4 +71,4 @@ MonoBehaviour: itemName: "Vampire\u2019s Draught" description: 'Cure: +10 Health on Kill, Curse: MaxHealth -10%' icon: {fileID: 0} - price: 0 + price: 120 diff --git a/Assets/Data/Items/Zephyr Cloak.asset b/Assets/Data/Items/Zephyr Cloak.asset new file mode 100644 index 0000000..b3f5bb4 --- /dev/null +++ b/Assets/Data/Items/Zephyr Cloak.asset @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c437a5565f39495281bf1dd14dd6ba40, type: 3} + m_Name: Zephyr Cloak + m_EditorClassIdentifier: + serializationData: + SerializedFormat: 2 + SerializedBytes: + ReferencedUnityObjects: [] + SerializedBytesString: + Prefab: {fileID: 0} + PrefabModificationsReferencedUnityObjects: [] + PrefabModifications: [] + SerializationNodes: + - Name: cures + Entry: 7 + Data: 0|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 1|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 2 + - Name: percent + Entry: 4 + Data: 0.2 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + - Name: curses + Entry: 7 + Data: 2|System.Collections.Generic.List`1[[Interfaces.IStatModifier, Assembly-CSharp]], + mscorlib + - Name: + Entry: 12 + Data: 1 + - Name: + Entry: 7 + Data: 3|Modifiers.PercentStatModifier, Assembly-CSharp + - Name: stat + Entry: 3 + Data: 4 + - Name: percent + Entry: 4 + Data: -0.1 + - Name: + Entry: 8 + Data: + - Name: + Entry: 13 + Data: + - Name: + Entry: 8 + Data: + itemName: Zephyr Cloak + description: 'Cure: MoveSpeed +20%, Curse: Armor -10%' + icon: {fileID: 0} + price: 160 diff --git a/Assets/Data/Items/Zephyr Cloak.asset.meta b/Assets/Data/Items/Zephyr Cloak.asset.meta new file mode 100644 index 0000000..4b47713 --- /dev/null +++ b/Assets/Data/Items/Zephyr Cloak.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f4c9e4a81f95eb220987ed7334bafa34 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/main.unity b/Assets/Scenes/main.unity index 7dd27ed..52bd0c4 100644 --- a/Assets/Scenes/main.unity +++ b/Assets/Scenes/main.unity @@ -334,7 +334,7 @@ Transform: m_GameObject: {fileID: 519420028} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0.15666223, y: -0.3486, z: -13.699087} + m_LocalPosition: {x: -0.16126227, y: -0.3486, z: -13.699087} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -6968,7 +6968,7 @@ PrefabInstance: objectReference: {fileID: 1261447609} - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} propertyPath: possibleItems.Array.size - value: 2 + value: 16 objectReference: {fileID: 0} - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} propertyPath: possibleWeapons.Array.size @@ -6977,11 +6977,67 @@ PrefabInstance: - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} propertyPath: 'possibleItems.Array.data[0]' value: - objectReference: {fileID: 11400000, guid: 08c8a414828d19951b3a413f631a6d70, type: 2} + objectReference: {fileID: 11400000, guid: 62526676dc2201d0f969be5bf43a94d5, type: 2} - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} propertyPath: 'possibleItems.Array.data[1]' value: + objectReference: {fileID: 11400000, guid: bcacab83b7f39aab5a6518ce234218c7, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[2]' + value: + objectReference: {fileID: 11400000, guid: 541d3f3ae588b0ea2863bb2ae56fcd7d, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[3]' + value: + objectReference: {fileID: 11400000, guid: 2205d44251efdfdc6b38ef2feb11c7bc, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[4]' + value: + objectReference: {fileID: 11400000, guid: c9668138a6bceb3ee9a36798c210a7ec, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[5]' + value: + objectReference: {fileID: 11400000, guid: beabba089016cec7cbc6f6f148a2a159, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[6]' + value: + objectReference: {fileID: 11400000, guid: fef35d02fe29afb858026ca3ab83f3f5, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[7]' + value: + objectReference: {fileID: 11400000, guid: b0b06478ab3e2aea8815a78861d48238, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[8]' + value: + objectReference: {fileID: 11400000, guid: 86d260ae7c5ae78589176b4f5654045a, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[9]' + value: + objectReference: {fileID: 11400000, guid: 45f434241590936078685f80ca2d6137, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[10]' + value: + objectReference: {fileID: 11400000, guid: 708bdb39e5d655310a4c74efdbc89afb, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[11]' + value: + objectReference: {fileID: 11400000, guid: 69b951547b3c8a5c7a7c41e109d98665, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[12]' + value: + objectReference: {fileID: 11400000, guid: 80b9021e19df89d888ce03165cb3f9ca, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[13]' + value: + objectReference: {fileID: 11400000, guid: 005dbea6609f1eb6a83b00f45637f418, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[14]' + value: objectReference: {fileID: 11400000, guid: 5366536d04e61959f911fa119df9eca4, type: 2} + - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} + propertyPath: 'possibleItems.Array.data[15]' + value: + objectReference: {fileID: 11400000, guid: f4c9e4a81f95eb220987ed7334bafa34, type: 2} - target: {fileID: 1501730282976965803, guid: 4d1c30f952fa59fb9b0cc1a987f40ad8, type: 3} propertyPath: 'possibleWeapons.Array.data[0]' value: diff --git a/Assets/Scripts/Modifiers/FlatStatModifier.cs b/Assets/Scripts/Modifiers/FlatStatModifier.cs index 4dac451..822df16 100644 --- a/Assets/Scripts/Modifiers/FlatStatModifier.cs +++ b/Assets/Scripts/Modifiers/FlatStatModifier.cs @@ -9,7 +9,7 @@ namespace Modifiers { public Stat stat; public float value; - public string Description => $"{stat} +{value}"; + public string Description => BuildDescription(); public void Apply(CharacterAttributes attributes) { @@ -64,6 +64,11 @@ namespace Modifiers throw new ArgumentOutOfRangeException(); } } - + + private string BuildDescription() + { + var sign = value >= 0 ? "+" : ""; + return $"{stat} {sign}{value}"; + } } } \ No newline at end of file