Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UpdateAbigailStatus()

void Terraria.Player.UpdateAbigailStatus ( )
inlineprivate

Definition at line 11701 of file Player.cs.

11702 {
11703 int num = 963;
11704 if (ownedProjectileCounts[970] < 1)
11705 {
11706 for (int i = 0; i < 1000; i++)
11707 {
11708 Projectile projectile = Main.projectile[i];
11709 if (projectile.active && projectile.owner == whoAmI && projectile.type == num)
11710 {
11711 projectile.Kill();
11712 }
11713 }
11714 }
11715 else if (ownedProjectileCounts[num] < 1)
11716 {
11717 Projectile.NewProjectile(GetProjectileSource_Misc(14), base.Center, Vector2.Zero, num, 0, 0f, whoAmI);
11718 }
11719 }
IEntitySource GetProjectileSource_Misc(int projectileSourceId)
Definition Player.cs:9317
int[] ownedProjectileCounts
Definition Player.cs:2545

References Terraria.Entity.active, Terraria.Projectile.Kill(), Terraria.Projectile.NewProjectile(), Terraria.Projectile.owner, Terraria.Main.projectile, Terraria.Projectile.type, and Microsoft.Xna.Framework.Vector2.Zero.