summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actions/SpellAction.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-18 12:06:59 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-18 12:06:59 -0300
commit5146895cf537dd69867da612abed5b4abaf805cd (patch)
tree70212352a07922b58db99ba2564f76ca072af200 /scripts/Entities/Actions/SpellAction.cs
parenteacdd15612c70ff86f3446982c46a09272249936 (diff)
ME ELIMINE AAAAAAAAAAAAAAAAAAAAAAAAAAAA
Diffstat (limited to 'scripts/Entities/Actions/SpellAction.cs')
-rw-r--r--scripts/Entities/Actions/SpellAction.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Entities/Actions/SpellAction.cs b/scripts/Entities/Actions/SpellAction.cs
index d9e9952..28d6caa 100644
--- a/scripts/Entities/Actions/SpellAction.cs
+++ b/scripts/Entities/Actions/SpellAction.cs
@@ -16,7 +16,7 @@ public partial class SpellAction : DirectionalAction
{
this.spell = spell;
- Cost = 5;
+ cost = 5;
}
public override bool Perform()
@@ -53,7 +53,7 @@ public partial class SpellAction : DirectionalAction
effect.Apply(Actor, target);
}
- Actor.Energy -= Cost;
+ Actor.Energy -= cost;
return true;
}
}