alot of stuff i forgot to commit

This commit is contained in:
Sylvia 2026-06-24 22:09:38 -07:00
parent fc2329a873
commit b8d516e734
60 changed files with 7397 additions and 64 deletions

View file

@ -11,12 +11,12 @@ public class ShootBullet : Ability
{
base.AbilityEffects();
Projectile newProjectile = Instantiate(projectile, thisEntity.transform.position, projectile.transform.rotation);
newProjectile.owner = thisEntity;
//newProjectile.owner = thisEntity;
newProjectile.tag = thisEntity.tag;
newProjectile.speed = projectileSpeed;
newProjectile.damage = power;
newProjectile.lifetime = projectileLifetime;
newProjectile.pierceAmount = pierceAmount;
newProjectile.transform.Lookat2D(thisEntity.stats.attackOriginPoint.position); //targetLocation);
newProjectile.transform.Lookat2D(thisEntity.attackOriginPoint.position); //targetLocation);
}
}