WORKING ARCHERS + test

big drip
This commit is contained in:
Crizomb 2025-01-15 01:46:16 +01:00
parent ca7ce8e645
commit 95943c415c
6 changed files with 853 additions and 5 deletions

View file

@ -24,7 +24,7 @@ public class AttackSkeleton : AttackHandler
Vector3 diffVector = Vector3.ProjectOnPlane(targetUnit.transform.position - spawnPos.position, Vector3.up);
Vector3 launchVectorNormalized = (localLaunchVector.x * diffVector.normalized + localLaunchVector.y * Vector3.up).normalized;
arrowHandler.LaunchArrow(launchVectorNormalized * arrowBaseSpeed);
arrowHandler.LaunchArrow(launchVectorNormalized * arrowBaseSpeed, _minecraftUnit.IsTeamA);
return true;
}