summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-11-10 17:03:16 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-11-10 17:03:16 -0300
commitf46d058571d453ccf7ddf884ccb5d8694f970d7c (patch)
tree8ccbc7621c0e19977c47c337b1af08f792cb92e2 /scripts
parent5f25fea962905c9ceb10b52490cc56d3ccd463db (diff)
parent1b0582792b7b9169ce8a667bf5533241d083705c (diff)
Merge branch 'master' of github.com:Simplesmente-O-Grupo/projeto-fantasia
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Entities/Actions/ItemAction.cs2
-rw-r--r--scripts/Entities/Actors/PlayerDefinition.cs2
-rw-r--r--scripts/Entities/Entity.cs2
-rw-r--r--scripts/Entities/EntityDefinition.cs2
-rw-r--r--scripts/Entities/Items/GrimoireItemActivation.cs2
-rw-r--r--scripts/Entities/Items/ItemResource.cs2
-rw-r--r--scripts/Entities/Items/SpellEffectItemActivation.cs2
-rw-r--r--scripts/Magic/DamageEffect.cs2
-rw-r--r--scripts/Magic/HealEffect.cs2
-rw-r--r--scripts/Magic/SpellBook.cs2
-rw-r--r--scripts/Magic/SpellEffect.cs2
-rw-r--r--scripts/Magic/SpellResource.cs2
12 files changed, 12 insertions, 12 deletions
diff --git a/scripts/Entities/Actions/ItemAction.cs b/scripts/Entities/Actions/ItemAction.cs
index a3197d4..d888329 100644
--- a/scripts/Entities/Actions/ItemAction.cs
+++ b/scripts/Entities/Actions/ItemAction.cs
@@ -19,4 +19,4 @@ public partial class ItemAction : Action
{
return item.Activate(this);
}
-} \ No newline at end of file
+}
diff --git a/scripts/Entities/Actors/PlayerDefinition.cs b/scripts/Entities/Actors/PlayerDefinition.cs
index 58ae6b4..8e655df 100644
--- a/scripts/Entities/Actors/PlayerDefinition.cs
+++ b/scripts/Entities/Actors/PlayerDefinition.cs
@@ -8,4 +8,4 @@ public partial class PlayerDefinition : ActorDefinition
[ExportCategory("Player Mechanics")]
[Export]
public int InventoryCapacity = 0;
-} \ No newline at end of file
+}
diff --git a/scripts/Entities/Entity.cs b/scripts/Entities/Entity.cs
index 5c643db..61dadc7 100644
--- a/scripts/Entities/Entity.cs
+++ b/scripts/Entities/Entity.cs
@@ -161,4 +161,4 @@ public abstract partial class Entity : Sprite2D, ISaveable
Type = (EntityType)(int)saveData["layer"];
return true;
}
-} \ No newline at end of file
+}
diff --git a/scripts/Entities/EntityDefinition.cs b/scripts/Entities/EntityDefinition.cs
index a6080bd..01a2ce9 100644
--- a/scripts/Entities/EntityDefinition.cs
+++ b/scripts/Entities/EntityDefinition.cs
@@ -20,4 +20,4 @@ public partial class EntityDefinition : Resource
// Se a entidade bloqueia movimento.
[Export]
public bool blocksMovement = true;
-} \ No newline at end of file
+}
diff --git a/scripts/Entities/Items/GrimoireItemActivation.cs b/scripts/Entities/Items/GrimoireItemActivation.cs
index 34c136f..d7da2d0 100644
--- a/scripts/Entities/Items/GrimoireItemActivation.cs
+++ b/scripts/Entities/Items/GrimoireItemActivation.cs
@@ -16,4 +16,4 @@ public partial class GrimoireItemActivation : ItemActivation
consumer.SpellBook.LearnSpell(spell);
return true;
}
-} \ No newline at end of file
+}
diff --git a/scripts/Entities/Items/ItemResource.cs b/scripts/Entities/Items/ItemResource.cs
index 47ea64d..60194e4 100644
--- a/scripts/Entities/Items/ItemResource.cs
+++ b/scripts/Entities/Items/ItemResource.cs
@@ -19,4 +19,4 @@ public partial class ItemResource : Resource
[Export]
public ItemActivation Activation { get; set; }
-} \ No newline at end of file
+}
diff --git a/scripts/Entities/Items/SpellEffectItemActivation.cs b/scripts/Entities/Items/SpellEffectItemActivation.cs
index 3b421c7..0734530 100644
--- a/scripts/Entities/Items/SpellEffectItemActivation.cs
+++ b/scripts/Entities/Items/SpellEffectItemActivation.cs
@@ -16,4 +16,4 @@ public partial class SpellEffectItemActivation : ItemActivation
effect.Apply(consumer, consumer);
return true;
}
-} \ No newline at end of file
+}
diff --git a/scripts/Magic/DamageEffect.cs b/scripts/Magic/DamageEffect.cs
index 211a03a..1263ab6 100644
--- a/scripts/Magic/DamageEffect.cs
+++ b/scripts/Magic/DamageEffect.cs
@@ -28,4 +28,4 @@ public partial class DamageEffect : SpellEffect
target.Hp -= damageDealt;
}
-} \ No newline at end of file
+}
diff --git a/scripts/Magic/HealEffect.cs b/scripts/Magic/HealEffect.cs
index 3e924c3..2fd6807 100644
--- a/scripts/Magic/HealEffect.cs
+++ b/scripts/Magic/HealEffect.cs
@@ -17,4 +17,4 @@ public partial class HealEffect : SpellEffect
int healingDealt = target.Hp - prevHealth;
MessageLogData.Instance.AddMessage($"{caster.DisplayName} restaurou {healingDealt} de HP de {target.DisplayName}");
}
-} \ No newline at end of file
+}
diff --git a/scripts/Magic/SpellBook.cs b/scripts/Magic/SpellBook.cs
index 914add6..11b7d08 100644
--- a/scripts/Magic/SpellBook.cs
+++ b/scripts/Magic/SpellBook.cs
@@ -45,4 +45,4 @@ public partial class SpellBook : Node, ISaveable
return true;
}
-} \ No newline at end of file
+}
diff --git a/scripts/Magic/SpellEffect.cs b/scripts/Magic/SpellEffect.cs
index 482a64f..e2209cc 100644
--- a/scripts/Magic/SpellEffect.cs
+++ b/scripts/Magic/SpellEffect.cs
@@ -7,4 +7,4 @@ namespace TheLegendOfGustav.Magic;
public abstract partial class SpellEffect : Resource
{
public abstract void Apply(Actor caster, Actor target);
-} \ No newline at end of file
+}
diff --git a/scripts/Magic/SpellResource.cs b/scripts/Magic/SpellResource.cs
index bb3fd15..b0487bd 100644
--- a/scripts/Magic/SpellResource.cs
+++ b/scripts/Magic/SpellResource.cs
@@ -33,4 +33,4 @@ public partial class SpellResource : Resource
public int Range { get; set; }
[Export]
public Godot.Collections.Array<SpellEffect> Effects { get; set; } = [];
-} \ No newline at end of file
+}