diff --git a/Zennysoft.Game.Ma/src/enemy/Enemy.cs b/Zennysoft.Game.Ma/src/enemy/Enemy.cs index de85cd319..0a96ed12e 100644 --- a/Zennysoft.Game.Ma/src/enemy/Enemy.cs +++ b/Zennysoft.Game.Ma/src/enemy/Enemy.cs @@ -229,12 +229,11 @@ public abstract partial class Enemy : CharacterBody3D, IEnemy, IProvide 0.01) + if (GlobalPosition.DistanceTo(look) > 0.01) LookAt(look, Vector3.Up); } diff --git a/Zennysoft.Game.Ma/src/enemy/behaviors/FleeBehavior.cs b/Zennysoft.Game.Ma/src/enemy/behaviors/FleeBehavior.cs index 4ff8a17f1..33cda195b 100644 --- a/Zennysoft.Game.Ma/src/enemy/behaviors/FleeBehavior.cs +++ b/Zennysoft.Game.Ma/src/enemy/behaviors/FleeBehavior.cs @@ -39,7 +39,7 @@ public partial class FleeBehavior : Node3D, IBehavior var rooms = _game.CurrentFloor.Rooms; var validRooms = new Godot.Collections.Array(rooms.OfType()); var randomRoom = validRooms.PickRandom(); - _navigationAgent.TargetPosition = new Vector3(randomRoom.PlayerSpawn.GlobalPosition.X, GlobalPosition.Y, randomRoom.PlayerSpawn.GlobalPosition.Z); + _navigationAgent.TargetPosition = randomRoom.PlayerSpawn.GlobalPosition; SetPhysicsProcess(true); } diff --git a/Zennysoft.Game.Ma/src/enemy/behaviors/FollowBehavior.cs b/Zennysoft.Game.Ma/src/enemy/behaviors/FollowBehavior.cs index 349696126..42a92934f 100644 --- a/Zennysoft.Game.Ma/src/enemy/behaviors/FollowBehavior.cs +++ b/Zennysoft.Game.Ma/src/enemy/behaviors/FollowBehavior.cs @@ -37,11 +37,11 @@ public partial class FollowBehavior : Node3D, IBehavior SetPhysicsProcess(false); } - private void OnTimeout() => _navigationAgent.TargetPosition = new Vector3(_player.GlobalPosition.X, GlobalPosition.Y, _player.GlobalPosition.Z); + private void OnTimeout() => _navigationAgent.TargetPosition = _player.GlobalPosition; public void StartFollow(NavigationAgent3D navigationAgent) { - _navigationAgent.TargetPosition = new Vector3(_player.GlobalPosition.X, GlobalPosition.Y, _player.GlobalPosition.Z); + _navigationAgent.TargetPosition = _player.GlobalPosition; _thinkTimer.Start(); SetPhysicsProcess(true); } @@ -56,8 +56,7 @@ public partial class FollowBehavior : Node3D, IBehavior { var nextVelocity = _navigationAgent.GetNextPathPosition(); var parent = GetParent() as Node3D; - var position = new Vector3(parent.GlobalPosition.X, GlobalPosition.Y, parent.GlobalPosition.Z); - var velocity = position.DirectionTo(nextVelocity) * (float)_followSpeed * (float)delta; + var velocity = parent.GlobalPosition.DirectionTo(nextVelocity) * (float)_followSpeed * (float)delta; EmitSignal(SignalName.OnVelocityComputed, velocity); } diff --git a/Zennysoft.Game.Ma/src/enemy/behaviors/PatrolBehavior.cs b/Zennysoft.Game.Ma/src/enemy/behaviors/PatrolBehavior.cs index 663cedda1..05f89fa43 100644 --- a/Zennysoft.Game.Ma/src/enemy/behaviors/PatrolBehavior.cs +++ b/Zennysoft.Game.Ma/src/enemy/behaviors/PatrolBehavior.cs @@ -2,6 +2,7 @@ using Chickensoft.Introspection; using Godot; using Godot.Collections; +using System.Linq; using Zennysoft.Game.Abstractions.Entity; namespace Zennysoft.Game.Ma; @@ -72,8 +73,7 @@ public partial class PatrolBehavior : Node3D, IBehavior { var nextVelocity = _navigationAgent.GetNextPathPosition(); var parent = GetParent() as Node3D; - var position = new Vector3(parent.GlobalPosition.X, GlobalPosition.Y, parent.GlobalPosition.Z); - var velocity = position.DirectionTo(nextVelocity) * (float)_patrolSpeed * (float)delta; + var velocity = parent.GlobalPosition.DirectionTo(nextVelocity) * (float)_patrolSpeed * (float)delta; EmitSignal(SignalName.OnVelocityComputed, velocity); } @@ -83,16 +83,9 @@ public partial class PatrolBehavior : Node3D, IBehavior rng.Randomize(); var randomPointX = rng.RandfRange(-_patrolRange, _patrolRange); var randomPointZ = rng.RandfRange(-_patrolRange, _patrolRange); - _navigationAgent.TargetPosition = HomePosition + new Vector3(randomPointX, 0, randomPointZ); - if (!_navigationAgent.IsTargetReachable()) - { - _recursiveCounter++; - if (_recursiveCounter <= 100) - SetPatrolTarget(); - else - _navigationAgent.TargetPosition = HomePosition; - } - _recursiveCounter = 0; + var patrolPoint = HomePosition + new Vector3(randomPointX, 0, randomPointZ); + var rid = NavigationServer3D.GetMaps().Single(); + _navigationAgent.TargetPosition = NavigationServer3D.MapGetClosestPoint(rid, patrolPoint); } private void PatrolTimer_Timeout() => SetPatrolTarget(); diff --git a/Zennysoft.Game.Ma/src/enemy/enemy_types/02. michael/Michael.tscn b/Zennysoft.Game.Ma/src/enemy/enemy_types/02. michael/Michael.tscn index c53b58250..5c9514328 100644 --- a/Zennysoft.Game.Ma/src/enemy/enemy_types/02. michael/Michael.tscn +++ b/Zennysoft.Game.Ma/src/enemy/enemy_types/02. michael/Michael.tscn @@ -90,6 +90,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.71715, 0) [node name="PatrolBehavior" parent="Components" instance=ExtResource("5_fkx5j")] unique_name_in_owner = true +_patrolSpeed = 60.0 +_patrolRange = 15.0 +_patrolTime = 20.0 [node name="FollowBehavior" parent="Components" instance=ExtResource("6_bun8r")] unique_name_in_owner = true diff --git a/Zennysoft.Game.Ma/src/enemy/enemy_types/03. filth_eater/FilthEater.tscn b/Zennysoft.Game.Ma/src/enemy/enemy_types/03. filth_eater/FilthEater.tscn index cfec05ded..646e05427 100644 --- a/Zennysoft.Game.Ma/src/enemy/enemy_types/03. filth_eater/FilthEater.tscn +++ b/Zennysoft.Game.Ma/src/enemy/enemy_types/03. filth_eater/FilthEater.tscn @@ -49,7 +49,7 @@ script = ExtResource("1_p438s") [node name="LineOfSight" type="Area3D" parent="."] unique_name_in_owner = true -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1.55601, 0) +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 2.25757, 0) collision_layer = 2 collision_mask = 2 @@ -59,17 +59,17 @@ shape = SubResource("CylinderShape3D_jbgmx") [node name="CollisionShape" type="CollisionShape3D" parent="."] unique_name_in_owner = true -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1.55601, 0) +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 2.25757, 0) shape = SubResource("CapsuleShape3D_cwfph") [node name="Raycast" type="RayCast3D" parent="."] unique_name_in_owner = true -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6093, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.31086, 0) target_position = Vector3(0, 0, -5) collision_mask = 3 [node name="Collision" type="Area3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55601, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.25757, 0) collision_layer = 2048 collision_mask = 0 @@ -84,7 +84,7 @@ EnemyLoreInfo = SubResource("Resource_fv5vf") [node name="PlayerDetector" type="Area3D" parent="."] unique_name_in_owner = true -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55601, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.25757, 0) collision_layer = 0 collision_mask = 34 @@ -93,7 +93,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2771, 0) shape = SubResource("CylinderShape3D_qbmfg") [node name="Components" type="Node3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55601, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.25757, 0) [node name="PatrolBehavior" parent="Components" instance=ExtResource("5_pvjvo")] unique_name_in_owner = true @@ -113,7 +113,7 @@ height = 2.0 radius = 3.0 [node name="HitSounds" type="Node3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55601, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.25757, 0) [node name="AbsorbSFX" type="AudioStreamPlayer3D" parent="HitSounds"] unique_name_in_owner = true diff --git a/Zennysoft.Game.Ma/src/items/accessory/resources/MysteryAccessory.tres b/Zennysoft.Game.Ma/src/items/accessory/resources/MysteryAccessory.tres index 79306c6d6..7106c0a2f 100644 --- a/Zennysoft.Game.Ma/src/items/accessory/resources/MysteryAccessory.tres +++ b/Zennysoft.Game.Ma/src/items/accessory/resources/MysteryAccessory.tres @@ -1,4 +1,4 @@ -[gd_resource type="Resource" load_steps=3 format=3 uid="uid://ecmjxvihuahv"] +[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://ecmjxvihuahv"] [ext_resource type="Texture2D" uid="uid://esqaln68twiw" path="res://src/items/Icons/Unidentified Item.png" id="1_fbxyn"] [ext_resource type="Script" uid="uid://b8arlmivk68b" path="res://src/items/accessory/AccessoryStats.cs" id="1_xc7fh"] @@ -9,7 +9,7 @@ AccessoryTag = 0 Name = "Unknown Mask" StatDescription = "Unidentified mask." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/ammo/Ammo.cs b/Zennysoft.Game.Ma/src/items/ammo/Ammo.cs index f2349d74a..ee335a93a 100644 --- a/Zennysoft.Game.Ma/src/items/ammo/Ammo.cs +++ b/Zennysoft.Game.Ma/src/items/ammo/Ammo.cs @@ -42,6 +42,7 @@ public partial class Ammo : Node3D, IEquipableItem, IStackable public void SetCount(int count) => Count.OnNext(count); + [Save("ammo_element")] public ElementType AmmoElement => Stats.AmmoElement; diff --git a/Zennysoft.Game.Ma/src/items/ammo/resources/AeolicAmmo.tres b/Zennysoft.Game.Ma/src/items/ammo/resources/AeolicAmmo.tres index af6b950f3..a6ec319aa 100644 --- a/Zennysoft.Game.Ma/src/items/ammo/resources/AeolicAmmo.tres +++ b/Zennysoft.Game.Ma/src/items/ammo/resources/AeolicAmmo.tres @@ -12,7 +12,7 @@ StatDescription = "Ammo. Can be used with a Geomantic Reactor. Element: Aeolic" FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/ammo/resources/Bullet.tres b/Zennysoft.Game.Ma/src/items/ammo/resources/Bullet.tres index 11db29178..2c7e145dc 100644 --- a/Zennysoft.Game.Ma/src/items/ammo/resources/Bullet.tres +++ b/Zennysoft.Game.Ma/src/items/ammo/resources/Bullet.tres @@ -12,7 +12,7 @@ StatDescription = "Ammo Can be used with a Persuader. " FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/ammo/resources/HydricAmmo.tres b/Zennysoft.Game.Ma/src/items/ammo/resources/HydricAmmo.tres index 9ad7a9215..1f0da7a18 100644 --- a/Zennysoft.Game.Ma/src/items/ammo/resources/HydricAmmo.tres +++ b/Zennysoft.Game.Ma/src/items/ammo/resources/HydricAmmo.tres @@ -12,7 +12,7 @@ StatDescription = "Ammo Can be used with a Geomantic Reactor. Element: Hydric" FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/ammo/resources/IgneousAmmo.tres b/Zennysoft.Game.Ma/src/items/ammo/resources/IgneousAmmo.tres index 109d12607..0cd5130b2 100644 --- a/Zennysoft.Game.Ma/src/items/ammo/resources/IgneousAmmo.tres +++ b/Zennysoft.Game.Ma/src/items/ammo/resources/IgneousAmmo.tres @@ -12,7 +12,7 @@ StatDescription = "Ammo Can be used with a Geomantic Reactor. Element: Igneous" FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/AtonersAdornments.tres b/Zennysoft.Game.Ma/src/items/armor/resources/AtonersAdornments.tres index cfb74ea5b..e959f8075 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/AtonersAdornments.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/AtonersAdornments.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Atoner's Adornments" StatDescription = "" FlavorText = "" -SpawnRate = 0.25 +SpawnRate = 0.4 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/BlastArmor.tres b/Zennysoft.Game.Ma/src/items/armor/resources/BlastArmor.tres index 237727ead..39e4e55a3 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/BlastArmor.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/BlastArmor.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Blast Armor" StatDescription = "" FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 0 BonusDefense = 4 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/BlessedArmor.tres b/Zennysoft.Game.Ma/src/items/armor/resources/BlessedArmor.tres index c7dc80673..c8275bd4f 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/BlessedArmor.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/BlessedArmor.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Blessed Armor" StatDescription = "Raises Maximum HP by 25." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 7 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/CeremonialVestments.tres b/Zennysoft.Game.Ma/src/items/armor/resources/CeremonialVestments.tres index f7e2ab68d..1723486dc 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/CeremonialVestments.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/CeremonialVestments.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Ceremonial Vestments" StatDescription = "" FlavorText = "" -SpawnRate = 0.2 +SpawnRate = 0.5 BonusAttack = 0 BonusDefense = 1 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/Commitment.tres b/Zennysoft.Game.Ma/src/items/armor/resources/Commitment.tres index a948a04e7..da1e3df5a 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/Commitment.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/Commitment.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Commitment" StatDescription = "Breaks if unequipped." FlavorText = "" -SpawnRate = 0.25 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 8 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/DemonRobe.tres b/Zennysoft.Game.Ma/src/items/armor/resources/DemonRobe.tres index 8d1dae3e6..c4d0f23a8 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/DemonRobe.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/DemonRobe.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Demon Robe" StatDescription = "Raises Luck." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 7 BonusLuck = 15 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/GiftOfGrace.tres b/Zennysoft.Game.Ma/src/items/armor/resources/GiftOfGrace.tres index 699d44a4f..6a500ed22 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/GiftOfGrace.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/GiftOfGrace.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Gift of Grace" StatDescription = "Raises Maximum VT by 25." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.08 BonusAttack = 0 BonusDefense = 7 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/HolyBarrier.tres b/Zennysoft.Game.Ma/src/items/armor/resources/HolyBarrier.tres index 55d45bb9f..6cd54ae31 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/HolyBarrier.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/HolyBarrier.tres @@ -16,7 +16,7 @@ ArmorTag = 1 Name = "Holy Barrier" StatDescription = "Loses luster upon receiving damage." FlavorText = "" -SpawnRate = 0.05 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 20 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/IronCage.tres b/Zennysoft.Game.Ma/src/items/armor/resources/IronCage.tres index 0de02aa61..dc951379f 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/IronCage.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/IronCage.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Iron Cage" StatDescription = "" FlavorText = "" -SpawnRate = 0.15 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 4 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/JaguarSuit.tres b/Zennysoft.Game.Ma/src/items/armor/resources/JaguarSuit.tres index 03ea2c108..c741017f0 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/JaguarSuit.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/JaguarSuit.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Jaguar Suit" StatDescription = "Raises ATK by 3." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.08 BonusAttack = 3 BonusDefense = 7 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/MysteryArmor.tres b/Zennysoft.Game.Ma/src/items/armor/resources/MysteryArmor.tres index cf4047d5d..d4d7d873e 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/MysteryArmor.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/MysteryArmor.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Unknown Coat" StatDescription = "Unidentified armor." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/RustedPlate.tres b/Zennysoft.Game.Ma/src/items/armor/resources/RustedPlate.tres index 6fff9f4f1..a42a5fd46 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/RustedPlate.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/RustedPlate.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Rusted Plate" StatDescription = "" FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.4 BonusAttack = 0 BonusDefense = 3 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/SaintCloth.tres b/Zennysoft.Game.Ma/src/items/armor/resources/SaintCloth.tres index 4824e6ed0..e5bb44f47 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/SaintCloth.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/SaintCloth.tres @@ -18,7 +18,7 @@ StatDescription = "Raises Maximum HP by 50. Raises Maximum VT by 50. Resistant to all elements." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.01 BonusAttack = 0 BonusDefense = 12 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/Stoic.tres b/Zennysoft.Game.Ma/src/items/armor/resources/Stoic.tres index 01350db3b..4c1f24ecc 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/Stoic.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/Stoic.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Stoic" StatDescription = "" FlavorText = "" -SpawnRate = 0.05 +SpawnRate = 0.5 BonusAttack = 0 BonusDefense = 6 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/StoneSafety.tres b/Zennysoft.Game.Ma/src/items/armor/resources/StoneSafety.tres index 30c69f9e2..280ba32ef 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/StoneSafety.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/StoneSafety.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Stone Safety" StatDescription = "Cannot be removed once equipped." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 5 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/armor/resources/WoodenArmament.tres b/Zennysoft.Game.Ma/src/items/armor/resources/WoodenArmament.tres index fa08bdaaf..f1a53f383 100644 --- a/Zennysoft.Game.Ma/src/items/armor/resources/WoodenArmament.tres +++ b/Zennysoft.Game.Ma/src/items/armor/resources/WoodenArmament.tres @@ -16,7 +16,7 @@ ArmorTag = 0 Name = "Wooden Armament" StatDescription = "" FlavorText = "" -SpawnRate = 0.3 +SpawnRate = 0.6 BonusAttack = 0 BonusDefense = 2 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/AlluringAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/AlluringAcquisition.tres index 59926ba57..76cfbcc86 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/AlluringAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/AlluringAcquisition.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Alluring Acquisition" StatDescription = "Contains a Basic Item." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/Asceticism.tres b/Zennysoft.Game.Ma/src/items/box/resources/Asceticism.tres index 0da3b51a9..e0a79ed1a 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/Asceticism.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/Asceticism.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Asceticism" StatDescription = "Forcibly unequips all items." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/BloodAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/BloodAcquisition.tres index ad576f92e..496f87f60 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/BloodAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/BloodAcquisition.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Blood Acquisition" StatDescription = "Contains a rare item in exchange for all HP." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.08 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/EmptyPromise.tres b/Zennysoft.Game.Ma/src/items/box/resources/EmptyPromise.tres index 900551a16..c53ecef5b 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/EmptyPromise.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/EmptyPromise.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Empty Promise" StatDescription = "An empty box." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/EquivalenceBox.tres b/Zennysoft.Game.Ma/src/items/box/resources/EquivalenceBox.tres index f3b604e3e..49ea8895f 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/EquivalenceBox.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/EquivalenceBox.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Equivalence Box" StatDescription = "Trades a random item for another item." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/FashionableAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/FashionableAcquisition.tres index e2e705e7e..a15fa4813 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/FashionableAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/FashionableAcquisition.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Fashionable Acquisition" StatDescription = "Contains armor." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/FuriousAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/FuriousAcquisition.tres index d2e36b6a7..ade10ad5f 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/FuriousAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/FuriousAcquisition.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Furious Acquisition" StatDescription = "Contains a weapon." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/GlueJar.tres b/Zennysoft.Game.Ma/src/items/box/resources/GlueJar.tres index d5bba9f8f..4ec589037 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/GlueJar.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/GlueJar.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Glue Jar" StatDescription = "All currently equipped items will not be removable without force." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/HealthyAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/HealthyAcquisition.tres index a450a754a..2f295165c 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/HealthyAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/HealthyAcquisition.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Healthy Acquisition" StatDescription = "Contains restorative." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/IdentityAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/IdentityAcquisition.tres index 5765b58a8..7daa2e6b6 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/IdentityAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/IdentityAcquisition.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Identity Acquisition" StatDescription = "Contains mask." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/LotteryBox.tres b/Zennysoft.Game.Ma/src/items/box/resources/LotteryBox.tres index 06a282a70..1884d9fc5 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/LotteryBox.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/LotteryBox.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Lottery Box" StatDescription = "Trades all inventory items for random items." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/Malfunction.tres b/Zennysoft.Game.Ma/src/items/box/resources/Malfunction.tres index f8e3fb366..d6dd53f11 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/Malfunction.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/Malfunction.tres @@ -8,7 +8,7 @@ DamageToPlayer = 70 Name = "Malfunction" StatDescription = "Deals a significant amount of damage." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/ScholarsBox.tres b/Zennysoft.Game.Ma/src/items/box/resources/ScholarsBox.tres index 498298751..cd6ae4223 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/ScholarsBox.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/ScholarsBox.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Scholar's Box" StatDescription = "Contains an item that is currently not in the inventory." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/SpeculativeAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/SpeculativeAcquisition.tres index 50236bcc9..7c9120f72 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/SpeculativeAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/SpeculativeAcquisition.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Speculative Acquisition" StatDescription = "Contains a box." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/SpellSignAcquisition.tres b/Zennysoft.Game.Ma/src/items/box/resources/SpellSignAcquisition.tres index ac20b04b6..9f51d001f 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/SpellSignAcquisition.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/SpellSignAcquisition.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Spell Sign: Acquisition" StatDescription = "Contains random spell." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/TrickstersBox.tres b/Zennysoft.Game.Ma/src/items/box/resources/TrickstersBox.tres index 0bb14c2bb..dcba0da10 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/TrickstersBox.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/TrickstersBox.tres @@ -9,7 +9,7 @@ DamageToPlayer = 0 Name = "Trickster's Box" StatDescription = "Forcibly ejects all items from inventory." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/box/resources/TrinketBox.tres b/Zennysoft.Game.Ma/src/items/box/resources/TrinketBox.tres index 6294b5b47..060baff63 100644 --- a/Zennysoft.Game.Ma/src/items/box/resources/TrinketBox.tres +++ b/Zennysoft.Game.Ma/src/items/box/resources/TrinketBox.tres @@ -9,10 +9,10 @@ DamageToPlayer = 0 Name = "Trinket Box" StatDescription = "Contains a jewel." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/consumable/resources/AmritShard.tres b/Zennysoft.Game.Ma/src/items/consumable/resources/AmritShard.tres index c7fc075df..7c9c70db7 100644 --- a/Zennysoft.Game.Ma/src/items/consumable/resources/AmritShard.tres +++ b/Zennysoft.Game.Ma/src/items/consumable/resources/AmritShard.tres @@ -13,7 +13,7 @@ Name = "Amrit Shard" StatDescription = "Restores 60 HP. If HP is currently full, raises Maximum HP by 16." FlavorText = "A droplet of the heavenly elixir, frozen in time." -SpawnRate = 0.05 +SpawnRate = 0.25 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/consumable/resources/MysteryConsumable.tres b/Zennysoft.Game.Ma/src/items/consumable/resources/MysteryConsumable.tres index 85468ba2a..feeba9e70 100644 --- a/Zennysoft.Game.Ma/src/items/consumable/resources/MysteryConsumable.tres +++ b/Zennysoft.Game.Ma/src/items/consumable/resources/MysteryConsumable.tres @@ -12,7 +12,7 @@ PermanentRaiseVTAmount = 0 Name = "Unknown Fragment" StatDescription = "Unknown restorative." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/consumable/resources/SteloFragment.tres b/Zennysoft.Game.Ma/src/items/consumable/resources/SteloFragment.tres index aec872b01..07d77a8b4 100644 --- a/Zennysoft.Game.Ma/src/items/consumable/resources/SteloFragment.tres +++ b/Zennysoft.Game.Ma/src/items/consumable/resources/SteloFragment.tres @@ -13,7 +13,7 @@ Name = "Stelo Fragment" StatDescription = "Restores 30 VT. If VT is currently full, raises Maximum VT by 8." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.33 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/consumable/resources/SunaFragment.tres b/Zennysoft.Game.Ma/src/items/consumable/resources/SunaFragment.tres index ba78fb1e9..6682a50f4 100644 --- a/Zennysoft.Game.Ma/src/items/consumable/resources/SunaFragment.tres +++ b/Zennysoft.Game.Ma/src/items/consumable/resources/SunaFragment.tres @@ -13,7 +13,7 @@ Name = "Suna Fragment" StatDescription = "Restores 60 VT. If HP is currently full, raises Maximum VT by 16." FlavorText = "" -SpawnRate = 0.1 +SpawnRate = 0.25 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/consumable/resources/YdunicShard.tres b/Zennysoft.Game.Ma/src/items/consumable/resources/YdunicShard.tres index c66cc0a14..4d7fea372 100644 --- a/Zennysoft.Game.Ma/src/items/consumable/resources/YdunicShard.tres +++ b/Zennysoft.Game.Ma/src/items/consumable/resources/YdunicShard.tres @@ -13,7 +13,7 @@ Name = "Ydunic Shard" StatDescription = "Restores 30 HP. If HP is currently full, raises Maximum HP by 8." FlavorText = "" -SpawnRate = 0.1 +SpawnRate = 0.33 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/AeolicCaster.tres b/Zennysoft.Game.Ma/src/items/effect/resources/AeolicCaster.tres index 99bd01071..1b35844a9 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/AeolicCaster.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/AeolicCaster.tres @@ -10,7 +10,7 @@ ElementalDamageType = 1 Name = "Aeolic Caster" StatDescription = "Deals Aeolic damage to all enemies inside the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/AnBradanFeasa.tres b/Zennysoft.Game.Ma/src/items/effect/resources/AnBradanFeasa.tres index 46a2369bd..c5b69a0a4 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/AnBradanFeasa.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/AnBradanFeasa.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "An Bradán Feasa" StatDescription = "Temporarily doubles rate of experience gained." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/BlueTalisman.tres b/Zennysoft.Game.Ma/src/items/effect/resources/BlueTalisman.tres index df37145be..4ca3f2f2d 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/BlueTalisman.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/BlueTalisman.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Blue Talisman" StatDescription = "Permanently increases DEF by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 1 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/FerrumCaster.tres b/Zennysoft.Game.Ma/src/items/effect/resources/FerrumCaster.tres index c0e64fad6..ec8309a94 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/FerrumCaster.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/FerrumCaster.tres @@ -10,7 +10,7 @@ ElementalDamageType = 5 Name = "Ferrum Caster" StatDescription = "Deals Ferrum damage to all enemies inside the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/GreenTalisman.tres b/Zennysoft.Game.Ma/src/items/effect/resources/GreenTalisman.tres index f90f3bbb1..7d07dd984 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/GreenTalisman.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/GreenTalisman.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Green Talisman" StatDescription = "Permanently increases Luck by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/HydricCaster.tres b/Zennysoft.Game.Ma/src/items/effect/resources/HydricCaster.tres index 435ba797b..e60c6cc37 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/HydricCaster.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/HydricCaster.tres @@ -10,7 +10,7 @@ ElementalDamageType = 3 Name = "Hydric Caster" StatDescription = "Deals Hydric damage to all enemies inside the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/IgneousCaster.tres b/Zennysoft.Game.Ma/src/items/effect/resources/IgneousCaster.tres index 471e5a755..e4f18acf2 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/IgneousCaster.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/IgneousCaster.tres @@ -10,7 +10,7 @@ ElementalDamageType = 4 Name = "Igneous Caster" StatDescription = "Deals Igneous damage to all enemies inside the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/MysteryTag.tres b/Zennysoft.Game.Ma/src/items/effect/resources/MysteryTag.tres index 30a8d8d5d..08a2fdec0 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/MysteryTag.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/MysteryTag.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Unknown Seal" StatDescription = "Unknown spell." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/RedTalisman.tres b/Zennysoft.Game.Ma/src/items/effect/resources/RedTalisman.tres index 0afda0ae3..71464ae5e 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/RedTalisman.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/RedTalisman.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Red Talisman" StatDescription = "Permanently increases ATK by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 1 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SciptureSignHeavensRebellion.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SciptureSignHeavensRebellion.tres index 0255924c7..d45e6bdb5 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SciptureSignHeavensRebellion.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SciptureSignHeavensRebellion.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Scripture Sign: Heaven's Rebellion" StatDescription = "Heals all present in the room to full health." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDevicBalance.tres b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDevicBalance.tres index 5b7f2082a..62465b408 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDevicBalance.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDevicBalance.tres @@ -10,10 +10,10 @@ ElementalDamageType = 0 Name = "Scripture Sign: Devic Balance" StatDescription = "Destroys half of the enemies in the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDivinityRecall.tres b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDivinityRecall.tres index 78bc93300..7c232ef0e 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDivinityRecall.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignDivinityRecall.tres @@ -10,10 +10,10 @@ ElementalDamageType = 0 Name = "Scripture Sign: Divinity Recall" StatDescription = "Summons all enemies on the floor to the current room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfDimension.tres b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfDimension.tres index f038fa8f0..58c0170cd 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfDimension.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfDimension.tres @@ -11,7 +11,7 @@ Name = "Scripture Sign: Gospel of Dimension" StatDescription = "Warps you to the exit. Does nothing if the exit has yet to be found." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfPaths.tres b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfPaths.tres index f1191efdc..2f007b08e 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfPaths.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignGospelOfPaths.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Scripture Sign: Gospel of Paths" StatDescription = "Warps you to a random room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignKyuuketsuki.tres b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignKyuuketsuki.tres index 4c762c2af..c7af6024a 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignKyuuketsuki.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignKyuuketsuki.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Scripture Sign: Kyuuketsuki" StatDescription = "Absorb HP from all enemies in the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignSineMorphization.tres b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignSineMorphization.tres index fc30d643a..a1851380f 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignSineMorphization.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/ScriptureSignSineMorphization.tres @@ -10,10 +10,10 @@ ElementalDamageType = 0 Name = "Scripture Sign: Sine Morphization" StatDescription = "Turns all enemies in the room into restorative items." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAblution.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAblution.tres index d5d58829e..270e248dd 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAblution.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAblution.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Ablution" StatDescription = "Lowers target to 1 HP." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.25 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAtomization.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAtomization.tres index 6e87c4c28..4c245d962 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAtomization.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignAtomization.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Atomization" StatDescription = "Lowers target's DEF." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 1 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCellDegradation.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCellDegradation.tres index 33ba2ed9b..c83f42988 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCellDegradation.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCellDegradation.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Cell Degradation" StatDescription = "Lowers all stats by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 1 BonusDefense = 1 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClone.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClone.tres index 9b28b7824..c6d43bafa 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClone.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClone.tres @@ -11,7 +11,7 @@ Name = "Spell Sign: Clone" StatDescription = "Clones the target. No effect if used." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClothResolution.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClothResolution.tres index 472537615..e49449a22 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClothResolution.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignClothResolution.tres @@ -11,7 +11,7 @@ Name = "Spell Sign: Cloth Resolution" StatDescription = "Raise currently equipped armor's DEF by 1. Does nothing if no armor is equipped." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCosmos.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCosmos.tres index 1f4e901d5..8be0cda75 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCosmos.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignCosmos.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Cosmos" StatDescription = "Raises level by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignDullness.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignDullness.tres index 1edef35d9..ad4355eac 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignDullness.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignDullness.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Dullness" StatDescription = "Lowers ATK by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 1 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignEntropicSeal.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignEntropicSeal.tres index d9313b9cb..e45d9843a 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignEntropicSeal.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignEntropicSeal.tres @@ -11,7 +11,7 @@ Name = "Spell Sign: Entropic Seal" StatDescription = "Uses a random spell in the inventory. No effect if no usable spells exist." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFerrousResolution.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFerrousResolution.tres index 63329fbe0..af7623e96 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFerrousResolution.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFerrousResolution.tres @@ -11,7 +11,7 @@ Name = "Spell Sign: Ferrous Resolution" StatDescription = "Raises currently equipped weapon's ATK by 1. Does nothing if no weapon is equipped." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFortune.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFortune.tres index 4c541f60e..78a85b9f2 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFortune.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignFortune.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Fortune" StatDescription = "Doubles the amount of stack items." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.25 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignGrudge.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignGrudge.tres index beccb5b3e..c5fec6793 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignGrudge.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignGrudge.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Grudge" StatDescription = "Lowers Luck." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignMelticalWave.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignMelticalWave.tres index 684e5a57f..d83db665a 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignMelticalWave.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignMelticalWave.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Meltical Wave" StatDescription = "Melts all currently equipped items." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignPerspective.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignPerspective.tres index e34dfa15e..2bb247e30 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignPerspective.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignPerspective.tres @@ -10,10 +10,10 @@ ElementalDamageType = 0 Name = "Spell Sign: Perspective" StatDescription = "Swaps current HP and current VT." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.1 BonusAttack = 0 BonusDefense = 0 -BonusLuck = 0.05 +BonusLuck = 5 BonusHP = 0 BonusVT = 0 AeolicResistance = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRecall.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRecall.tres index 1d42c9edf..88f662880 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRecall.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRecall.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Recall" StatDescription = "Identifies a random unknown item in inventory." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRegression.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRegression.tres index e9728808a..b8b81e5e0 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRegression.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRegression.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Regression" StatDescription = "Lowers Level by 1." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignReprieval Wave.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignReprieval Wave.tres index e43dd5fcd..6cd97dcfd 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignReprieval Wave.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignReprieval Wave.tres @@ -10,7 +10,7 @@ ElementalDamageType = 0 Name = "Spell Sign: Reprieval Wave" StatDescription = "Restores all stat parameters." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRustIndicator.tres b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRustIndicator.tres index 3a0ff7cf3..f8ff06ba8 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRustIndicator.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/SpellSignRustIndicator.tres @@ -11,7 +11,7 @@ Name = "Spell Sign: Rust Indicator" StatDescription = "Lowers currently equipped armor's DEF by 1. Does nothing if no armor is equipped." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/effect/resources/TelluricCaster.tres b/Zennysoft.Game.Ma/src/items/effect/resources/TelluricCaster.tres index dcdb272da..46d01591e 100644 --- a/Zennysoft.Game.Ma/src/items/effect/resources/TelluricCaster.tres +++ b/Zennysoft.Game.Ma/src/items/effect/resources/TelluricCaster.tres @@ -10,7 +10,7 @@ ElementalDamageType = 2 Name = "Telluric Caster" StatDescription = "Deals Telluric damage to all enemies inside the room." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/AeolicJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/AeolicJewel.tres index d7956c8c8..b8a206be4 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/AeolicJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/AeolicJewel.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Weapon: Weapon type becomes Aeolic. Armor/Accessory: Increases Aeolic resistance." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/AnabolicJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/AnabolicJewel.tres index 63eabbd43..cbc4b9ae5 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/AnabolicJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/AnabolicJewel.tres @@ -10,7 +10,7 @@ Name = "Anabolic Jewel" StatDescription = "Augment Increases HP recovery rate." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/BlackEgg.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/BlackEgg.tres index 228d6ae63..a9ead8e66 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/BlackEgg.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/BlackEgg.tres @@ -10,7 +10,7 @@ Name = "Black Egg" StatDescription = "Augment Increases ATK, DEF, and Luck." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.02 BonusAttack = 3 BonusDefense = 3 BonusLuck = 15 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/CatsEye.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/CatsEye.tres index 4cbaa4592..25182d917 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/CatsEye.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/CatsEye.tres @@ -10,7 +10,7 @@ Name = "Cat's Eye" StatDescription = "Augment Drastically increases Luck." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.01 BonusAttack = 0 BonusDefense = 0 BonusLuck = 25 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/CinnabarStructure.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/CinnabarStructure.tres index 0636b62b6..d8254475e 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/CinnabarStructure.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/CinnabarStructure.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Increases VT consumption rate. Chance of granting Rust." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/FoolishOrb.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/FoolishOrb.tres index 56a53e3d8..edb2fc43f 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/FoolishOrb.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/FoolishOrb.tres @@ -10,7 +10,7 @@ Name = "Foolish Orb" StatDescription = "Augment Decreases EXP gain rate." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.25 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/GlueOrb.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/GlueOrb.tres index 9c2dbe680..14de6a2f8 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/GlueOrb.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/GlueOrb.tres @@ -10,7 +10,7 @@ Name = "Glue Orb" StatDescription = "Augment Prevents augmented item from being unequipped." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/HeirloomStone.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/HeirloomStone.tres index 1148ab58a..a35b021a9 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/HeirloomStone.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/HeirloomStone.tres @@ -10,7 +10,7 @@ Name = "Heirloom Stone" StatDescription = "Augment Sends item to the surface." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.05 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/HydricJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/HydricJewel.tres index dce1ddbe9..30645048a 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/HydricJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/HydricJewel.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Weapon: Weapon type becomes Hydric. Armor/Accessory: Increases Hydric resistance." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/IgenousJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/IgenousJewel.tres index 07b3ba30a..3db6eb04b 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/IgenousJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/IgenousJewel.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Weapon: Weapon type becomes Igneous. Armor/Accessory: Increases Igneous resistance." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/MeditativeOrb.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/MeditativeOrb.tres index 6e1b42058..303ae17af 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/MeditativeOrb.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/MeditativeOrb.tres @@ -10,7 +10,7 @@ Name = "Meditative Stone" StatDescription = "Augment Increases EXP gain rate." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/MercuryPrism.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/MercuryPrism.tres index 5695ad1a2..672da3b47 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/MercuryPrism.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/MercuryPrism.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Slows HP recovery rate. Chance of granting Rust." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/MetabolicJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/MetabolicJewel.tres index 3b488da2d..e98f7b0c9 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/MetabolicJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/MetabolicJewel.tres @@ -10,7 +10,7 @@ Name = "Metabolic Jewel" StatDescription = "Augment Slows VT reduction rate." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/OssifiedCortex.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/OssifiedCortex.tres index 9cd62f0ef..85883f331 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/OssifiedCortex.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/OssifiedCortex.tres @@ -10,7 +10,7 @@ Name = "Ossified Cortex" StatDescription = "Augment Automatically identifies all items." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.08 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/RejectionStone.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/RejectionStone.tres index ad3f39b61..11601d5cc 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/RejectionStone.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/RejectionStone.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Revives the user once. Breaks augmented item after use." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.003 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/TarnishedJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/TarnishedJewel.tres index 88d7233ce..8fb5d3c2d 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/TarnishedJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/TarnishedJewel.tres @@ -10,7 +10,7 @@ Name = "Tarnished Jewel" StatDescription = "Augment No effect." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.25 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/jewels/resources/TelluricJewel.tres b/Zennysoft.Game.Ma/src/items/jewels/resources/TelluricJewel.tres index 19fbbc6f0..69cd4e00c 100644 --- a/Zennysoft.Game.Ma/src/items/jewels/resources/TelluricJewel.tres +++ b/Zennysoft.Game.Ma/src/items/jewels/resources/TelluricJewel.tres @@ -11,7 +11,7 @@ StatDescription = "Augment Weapon: Weapon type becomes Telluric. Armor/Accessory: Increases Telluric resistance." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.15 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/misc/Plastique.tscn b/Zennysoft.Game.Ma/src/items/misc/Plastique.tscn index 3072a4b12..518ca85b9 100644 --- a/Zennysoft.Game.Ma/src/items/misc/Plastique.tscn +++ b/Zennysoft.Game.Ma/src/items/misc/Plastique.tscn @@ -14,7 +14,7 @@ ElementalDamageType = 4 Name = "Plastique" StatDescription = "" FlavorText = "Stable destructive substance." -SpawnRate = 0.5 +SpawnRate = 0.0 BonusAttack = 0 BonusDefense = 0 BonusLuck = 5 diff --git a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceAeolic.tres b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceAeolic.tres index 848cf0bc2..ca777cbfd 100644 --- a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceAeolic.tres +++ b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceAeolic.tres @@ -14,7 +14,7 @@ MaximumCount = 8 Name = "Geomantic Dice - Aeolic" StatDescription = "Throw to deal minor Aeolic damage to enemy." FlavorText = "" -SpawnRate = 1.0 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceFerrum.tres b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceFerrum.tres index 6165286e3..a41661352 100644 --- a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceFerrum.tres +++ b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceFerrum.tres @@ -14,7 +14,7 @@ MaximumCount = 8 Name = "Geomantic Dice - Ferrum" StatDescription = "Throw to deal minor Aeolic damage to enemy." FlavorText = "" -SpawnRate = 1.0 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceHydric.tres b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceHydric.tres index a4d49bb92..d9754e75e 100644 --- a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceHydric.tres +++ b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceHydric.tres @@ -14,7 +14,7 @@ MaximumCount = 8 Name = "Geomantic Dice - Hydric" StatDescription = "Throw to deal minor Aeolic damage to enemy." FlavorText = "" -SpawnRate = 1.0 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceIgneous.tres b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceIgneous.tres index b30b0f36f..e13556dec 100644 --- a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceIgneous.tres +++ b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceIgneous.tres @@ -14,7 +14,7 @@ MaximumCount = 8 Name = "Geomantic Dice - Igneous" StatDescription = "Throw to deal minor Aeolic damage to enemy." FlavorText = "" -SpawnRate = 1.0 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceTelluric.tres b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceTelluric.tres index ffb0bba69..a862b0eb7 100644 --- a/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceTelluric.tres +++ b/Zennysoft.Game.Ma/src/items/throwable/resources/GeomanticDiceTelluric.tres @@ -14,7 +14,7 @@ MaximumCount = 8 Name = "Geomantic Dice - Telluric" StatDescription = "Throw to deal minor Aeolic damage to enemy." FlavorText = "" -SpawnRate = 1.0 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/throwable/resources/MysteryDice.tres b/Zennysoft.Game.Ma/src/items/throwable/resources/MysteryDice.tres index 656c07dec..5da546536 100644 --- a/Zennysoft.Game.Ma/src/items/throwable/resources/MysteryDice.tres +++ b/Zennysoft.Game.Ma/src/items/throwable/resources/MysteryDice.tres @@ -14,7 +14,7 @@ MaximumCount = 8 Name = "Unknown Dice" StatDescription = "Unknown dice." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.2 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/BlackPlumeSword.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/BlackPlumeSword.tres index f568a4f87..ff631ecdf 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/BlackPlumeSword.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/BlackPlumeSword.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Black Plume Sword" StatDescription = "Element: Curse" FlavorText = "A profane blade to vanquish the sacred." -SpawnRate = 0.1 +SpawnRate = 0.05 BonusAttack = 8 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/Ciello.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/Ciello.tres index 78ac639ed..3164bdcd6 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/Ciello.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/Ciello.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Ciello" StatDescription = "Triple Strike." FlavorText = "A performance of blades." -SpawnRate = 0.1 +SpawnRate = 0.05 BonusAttack = 4 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/CrossSword.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/CrossSword.tres index 3bb8e84db..eacd70fad 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/CrossSword.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/CrossSword.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Cruciform Sword" StatDescription = "Element: Holy" FlavorText = "Wielded by the heroine of a convent from the late 176th Century." -SpawnRate = 0.1 +SpawnRate = 0.02 BonusAttack = 9 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/GeomanticReactor.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/GeomanticReactor.tres index 4126d0f9c..eaac284b8 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/GeomanticReactor.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/GeomanticReactor.tres @@ -14,7 +14,7 @@ Name = "Geomantic Reactor" StatDescription = "Projectile. Requires Geomantic Ammo to operate." FlavorText = "Standard armament of holy ecologists dispatched to the tower a thousand years ago." -SpawnRate = 0.1 +SpawnRate = 0.03 BonusAttack = 15 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/HopesEdge.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/HopesEdge.tres index b7f96cc16..edffd66f7 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/HopesEdge.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/HopesEdge.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Last Reward" StatDescription = "Grows more powerful at lower HP." FlavorText = "" -SpawnRate = 0.1 +SpawnRate = 0.025 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/HuracansBlade.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/HuracansBlade.tres index f44845dfe..36d69a015 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/HuracansBlade.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/HuracansBlade.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Huracán's Blade" StatDescription = "Element: Igneous" FlavorText = "" -SpawnRate = 0.1 +SpawnRate = 0.08 BonusAttack = 7 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/Persuader.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/Persuader.tres index 966ee827e..7fc05fe79 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/Persuader.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/Persuader.tres @@ -14,7 +14,7 @@ Name = "Persuader" StatDescription = "Projectile. Requires Kugloj to operate." FlavorText = "A traveler's tool or path of extreme violence." -SpawnRate = 0.1 +SpawnRate = 0.005 BonusAttack = 0 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/PlasmaSword.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/PlasmaSword.tres index a0e7daf3c..bf073ce8e 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/PlasmaSword.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/PlasmaSword.tres @@ -13,7 +13,7 @@ SoundEffect = 25 Name = "Plasma Sword" StatDescription = "Has the power to occasionally disintegrate an enemy" FlavorText = "Rare protorelic found in the tower." -SpawnRate = 0.5 +SpawnRate = 0.005 BonusAttack = 14 BonusDefense = 0 BonusLuck = 10 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/RustedBlade.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/RustedBlade.tres index 7965c11f8..dfd3c6d56 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/RustedBlade.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/RustedBlade.tres @@ -14,7 +14,7 @@ Name = "Rusted Blade" StatDescription = "Element: Ferrum Chance to grant Rust." FlavorText = "Small chance to give enemy and self a lethal infection." -SpawnRate = 0.1 +SpawnRate = 0.25 BonusAttack = 1 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/SealedSword.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/SealedSword.tres index 46a23567a..7c0939aad 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/SealedSword.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/SealedSword.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Sealed Sword" StatDescription = "Cannot pass beyond current floor once equipped." FlavorText = "" -SpawnRate = 0.5 +SpawnRate = 0.3 BonusAttack = 2 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/ShiningHalberd.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/ShiningHalberd.tres index 943d507d7..71be51494 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/ShiningHalberd.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/ShiningHalberd.tres @@ -13,7 +13,7 @@ SoundEffect = 24 Name = "Shining Halberd" StatDescription = "Loses luster on every swing." FlavorText = "" -SpawnRate = 0.3 +SpawnRate = 0.1 BonusAttack = 8 BonusDefense = 0 BonusLuck = 0 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/SpadedStaff.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/SpadedStaff.tres index b913abec5..cca41c3eb 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/SpadedStaff.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/SpadedStaff.tres @@ -13,7 +13,7 @@ SoundEffect = 24 Name = "Spaded Staff" StatDescription = "Slow." FlavorText = "" -SpawnRate = 0.3 +SpawnRate = 0.25 BonusAttack = 8 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/Swan Sword Odette.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/Swan Sword Odette.tres index 4202c1ada..1de143ae3 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/Swan Sword Odette.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/Swan Sword Odette.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Swan Sword; Odette" StatDescription = "" FlavorText = "The blade of a thousand faced heroine." -SpawnRate = 0.01 +SpawnRate = 0.008 BonusAttack = 10 BonusDefense = 0 BonusLuck = 20 diff --git a/Zennysoft.Game.Ma/src/items/weapons/resources/Talwar.tres b/Zennysoft.Game.Ma/src/items/weapons/resources/Talwar.tres index 5453aa15c..ab5cd68ac 100644 --- a/Zennysoft.Game.Ma/src/items/weapons/resources/Talwar.tres +++ b/Zennysoft.Game.Ma/src/items/weapons/resources/Talwar.tres @@ -13,7 +13,7 @@ SoundEffect = 23 Name = "Talwar" StatDescription = "" FlavorText = "" -SpawnRate = 0.3 +SpawnRate = 0.5 BonusAttack = 3 BonusDefense = 0 BonusLuck = 0.05 diff --git a/Zennysoft.Game.Ma/src/player/Player.cs b/Zennysoft.Game.Ma/src/player/Player.cs index 6328ab9a2..f4f8da2d8 100644 --- a/Zennysoft.Game.Ma/src/player/Player.cs +++ b/Zennysoft.Game.Ma/src/player/Player.cs @@ -384,8 +384,6 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide if (accessory.AccessoryTag == AccessoryTag.BoostEXPGainRate) ExperiencePointsComponent.ModifyExpGainRate(ExperiencePointsComponent.ExpGainRate.Value - 0.2f); } - if (equipable.ItemTag == ItemTag.BreaksOnUnequip) - Inventory.Remove(equipable); } public void ApplyNewAugment(IAugmentItem jewel, IAugmentableItem augmentableItem) diff --git a/Zennysoft.Game.Ma/src/player/Player.tscn b/Zennysoft.Game.Ma/src/player/Player.tscn index b92c43a20..ee967de20 100644 --- a/Zennysoft.Game.Ma/src/player/Player.tscn +++ b/Zennysoft.Game.Ma/src/player/Player.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=1596 format=3 uid="uid://cfecvvav8kkp6"] +[gd_scene load_steps=1574 format=3 uid="uid://cfecvvav8kkp6"] [ext_resource type="Script" uid="uid://yxmiqy7i0t7r" path="res://src/player/Player.cs" id="1_xcol5"] [ext_resource type="PackedScene" uid="uid://dqvlemme0iwa" path="res://src/camera/ShakeCamera.tscn" id="2_jtmj1"] @@ -661,7 +661,7 @@ tracks/1/keys = { [sub_resource type="Animation" id="Animation_rcq5i"] resource_name = "ItemBreak" -length = 1.58334 +length = 1.21667 step = 0.0166667 tracks/0/type = "value" tracks/0/imported = false @@ -682,10 +682,10 @@ tracks/1/path = NodePath("Spell Signs:frame") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { -"times": PackedFloat32Array(0, 1.58333), +"times": PackedFloat32Array(0, 1.21667), "transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [0, 95] +"values": [0, 159] } [sub_resource type="Animation" id="Animation_53c8b"] @@ -1773,94 +1773,6 @@ _data = { &"take_damage": SubResource("Animation_g183x") } -[sub_resource type="AtlasTexture" id="AtlasTexture_1t7ua"] -atlas = ExtResource("489_w5dir") -region = Rect2(0, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_de11d"] -atlas = ExtResource("489_w5dir") -region = Rect2(512, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_uiup0"] -atlas = ExtResource("489_w5dir") -region = Rect2(1024, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_h2y2x"] -atlas = ExtResource("489_w5dir") -region = Rect2(1536, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_w87tc"] -atlas = ExtResource("489_w5dir") -region = Rect2(2048, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3uvd6"] -atlas = ExtResource("489_w5dir") -region = Rect2(2560, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_o0k2a"] -atlas = ExtResource("489_w5dir") -region = Rect2(3072, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_5w451"] -atlas = ExtResource("489_w5dir") -region = Rect2(3584, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_nw4v5"] -atlas = ExtResource("489_w5dir") -region = Rect2(4096, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_vlw8a"] -atlas = ExtResource("489_w5dir") -region = Rect2(4608, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_lokei"] -atlas = ExtResource("489_w5dir") -region = Rect2(5120, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_217y4"] -atlas = ExtResource("489_w5dir") -region = Rect2(5632, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_skejj"] -atlas = ExtResource("489_w5dir") -region = Rect2(6144, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_4a6k6"] -atlas = ExtResource("489_w5dir") -region = Rect2(6656, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jqmwl"] -atlas = ExtResource("489_w5dir") -region = Rect2(7168, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0gcsk"] -atlas = ExtResource("489_w5dir") -region = Rect2(7680, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_xrquc"] -atlas = ExtResource("489_w5dir") -region = Rect2(8192, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_qlerd"] -atlas = ExtResource("489_w5dir") -region = Rect2(8704, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_hyd01"] -atlas = ExtResource("489_w5dir") -region = Rect2(9216, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_onylb"] -atlas = ExtResource("489_w5dir") -region = Rect2(9728, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_o8i4i"] -atlas = ExtResource("489_w5dir") -region = Rect2(10240, 0, 512, 512) - -[sub_resource type="AtlasTexture" id="AtlasTexture_4mb1r"] -atlas = ExtResource("489_w5dir") -region = Rect2(10752, 0, 512, 512) - [sub_resource type="AtlasTexture" id="AtlasTexture_l80om"] atlas = ExtResource("489_w5dir") region = Rect2(11264, 0, 512, 512) @@ -3135,72 +3047,6 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_1t7ua") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_de11d") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_uiup0") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_h2y2x") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_w87tc") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3uvd6") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_o0k2a") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_5w451") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_nw4v5") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_vlw8a") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_lokei") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_217y4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_skejj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_4a6k6") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jqmwl") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_0gcsk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_xrquc") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_qlerd") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_hyd01") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_onylb") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_o8i4i") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_4mb1r") -}, { -"duration": 1.0, "texture": SubResource("AtlasTexture_l80om") }, { "duration": 1.0, @@ -3422,7 +3268,7 @@ animations = [{ "duration": 1.0, "texture": SubResource("AtlasTexture_dk8i1") }], -"loop": true, +"loop": false, "name": &"EquipmentBreak", "speed": 24.0 }, { diff --git a/Zennysoft.Game.Ma/src/ui/inventory_menu/ActionPanel.cs b/Zennysoft.Game.Ma/src/ui/inventory_menu/ActionPanel.cs index 80793175a..14f358463 100644 --- a/Zennysoft.Game.Ma/src/ui/inventory_menu/ActionPanel.cs +++ b/Zennysoft.Game.Ma/src/ui/inventory_menu/ActionPanel.cs @@ -156,6 +156,14 @@ public partial class ActionPanel : Panel { _player.Unequip(equipable); SfxDatabase.Instance.Play(SoundEffect.Unequip); + + if (equipable.ItemTag == ItemTag.BreaksOnUnequip) + { + _player.Inventory.Remove(equipable); + ActionPanelClosing?.Invoke(); + ReturnToGameAction?.Invoke(); + _player.PlaySpellFX(SpellFXEnum.ItemBreak); + } } else {