Skip to content
Snippets Groups Projects

Improvements to attacks.

Merged Robin Halseth Sandvik requested to merge master into main
10 files
+ 202
13
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -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;
Loading