summaryrefslogtreecommitdiff
path: root/scripts/entities/items/HealingConsumableDefinition.cs
diff options
context:
space:
mode:
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