Skip to content
Snippets Groups Projects
Commit 99cac02d authored by Robin Halseth Sandvik's avatar Robin Halseth Sandvik
Browse files

Set up settings for some abilities.

parent 5cb1a947
No related branches found
No related tags found
1 merge request!56New ability fire rework. (Charging)
......@@ -32,6 +32,7 @@ namespace BigSock {
CritDamageModifier = 2f,
};
ManaCost = 1;
FireType = FireType.FullAuto;
}
......
......@@ -35,6 +35,10 @@ namespace BigSock {
Cooldown = new TimeSpan(0, 0, 0, 2, 0);
ManaCost = 5;
FireType = FireType.Charge;
MinCharge = 1f;
MaxCharge = 3f;
}
......@@ -51,6 +55,8 @@ namespace BigSock {
if(target == null) return false;
Debug.Log($"[BiggerSlowerProjectile.Activate()] Charge: {par.ChargeTime:N1} ({par.ChargeTimePercent:P0})");
var attack = (AttackStats) AttackStats.Calculate(actor.Stats);
attack.Actor = actor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment