summaryrefslogtreecommitdiff
path: root/scripts/entities/items/HealingConsumableDefinition.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-04 18:31:40 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-04 18:31:40 -0300
commit1e248d3dd18f7c6bfaf8066c4662facbbb89e8f9 (patch)
tree8250335d5ad8176da05f7243052b9af85802c7ed /scripts/entities/items/HealingConsumableDefinition.cs
parent147bb12b5d48c5432aa1bd1cbe60b8435294445b (diff)
Itens na masmorra
Diffstat (limited to 'scripts/entities/items/HealingConsumableDefinition.cs')
-rw-r--r--scripts/entities/items/HealingConsumableDefinition.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/entities/items/HealingConsumableDefinition.cs b/scripts/entities/items/HealingConsumableDefinition.cs
new file mode 100644
index 0000000..2562e9e
--- /dev/null
+++ b/scripts/entities/items/HealingConsumableDefinition.cs
@@ -0,0 +1,11 @@
+using Godot;
+
+[GlobalClass]
+public partial class HealingConsumableDefinition : ConsumableItemDefinition {
+ ///<summary>
+ /// Porcentagem da vida do ator para restaurar.
+ ///</summary>
+ [ExportCategory("Item Mechanics")]
+ [Export]
+ public float healingPercentage = 10;
+} \ No newline at end of file