diff --git a/MrBigsock/Assets/Code/Core/Abilities/BasicProjectile1.cs b/MrBigsock/Assets/Code/Core/Abilities/BasicProjectile1.cs index 5c82b09e44abfff11e1330b0f565bb9263d886d8..890ca018151261e81ad9bc108ccd6a9ca40a2064 100644 --- a/MrBigsock/Assets/Code/Core/Abilities/BasicProjectile1.cs +++ b/MrBigsock/Assets/Code/Core/Abilities/BasicProjectile1.cs @@ -28,6 +28,8 @@ namespace BigSock { Range = 10f, ProjectileSpeed = 10f, AttackSpeed = 1f, + CritChance = 0.1f, + CritDamageModifier = 2f, }; } @@ -42,7 +44,8 @@ namespace BigSock { protected override bool Activate(Character actor, Vector3? target) { if(target == null) return false; - var attack = (AttackStats) AttackStats.Apply(actor.Stats); + var attack = (AttackStats) AttackStats.Calculate(actor.Stats); + //var attack = (AttackStats) AttackStats.Apply(actor.Stats); attack.Actor = actor; diff --git a/MrBigsock/Assets/Code/Core/Abilities/BiggerSlowerProjectile.cs b/MrBigsock/Assets/Code/Core/Abilities/BiggerSlowerProjectile.cs index 19968e12c872a34d8bd8efeadb6c5423783bc334..16b370fc3a615b5c8b78b562633d2fb6025d5e22 100644 --- a/MrBigsock/Assets/Code/Core/Abilities/BiggerSlowerProjectile.cs +++ b/MrBigsock/Assets/Code/Core/Abilities/BiggerSlowerProjectile.cs @@ -28,6 +28,9 @@ namespace BigSock { Range = 5f, ProjectileSpeed = 3f, AttackSpeed = 1f, + CritChance = 0.25f, + CritDamageModifier = 3f, + DamageVariance = 0.5f, }; Cooldown = new TimeSpan(0, 0, 0, 2, 0); @@ -44,7 +47,8 @@ namespace BigSock { protected override bool Activate(Character actor, Vector3? target) { if(target == null) return false; - var attack = (AttackStats) AttackStats.Apply(actor.Stats); + var attack = (AttackStats) AttackStats.Calculate(actor.Stats); + //var attack = (AttackStats) AttackStats.Apply(actor.Stats); attack.Actor = actor;