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

◆ SummonSuperStarSlash()

void Terraria.Projectile.SummonSuperStarSlash ( Vector2 target)
inlineprivate

Definition at line 13945 of file Projectile.cs.

13946 {
13947 //IL_000f: Unknown result type (might be due to invalid IL or missing references)
13948 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
13949 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
13950 //IL_0042: Unknown result type (might be due to invalid IL or missing references)
13951 //IL_0043: Unknown result type (might be due to invalid IL or missing references)
13952 //IL_0048: Unknown result type (might be due to invalid IL or missing references)
13953 //IL_0052: Unknown result type (might be due to invalid IL or missing references)
13954 //IL_0057: Unknown result type (might be due to invalid IL or missing references)
13955 //IL_005e: Unknown result type (might be due to invalid IL or missing references)
13956 //IL_005f: Unknown result type (might be due to invalid IL or missing references)
13957 //IL_0065: Unknown result type (might be due to invalid IL or missing references)
13958 //IL_006a: Unknown result type (might be due to invalid IL or missing references)
13959 //IL_006f: Unknown result type (might be due to invalid IL or missing references)
13960 //IL_0097: Unknown result type (might be due to invalid IL or missing references)
13961 Vector2 v = Main.rand.NextVector2CircularEdge(200f, 200f);
13962 if (v.Y < 0f)
13963 {
13964 v.Y *= -1f;
13965 }
13966 v.Y += 100f;
13967 Vector2 vector = v.SafeNormalize(Vector2.UnitY) * 6f;
13968 NewProjectile(GetProjectileSource_FromThis(), target - vector * 20f, vector, 729, (int)((double)damage * 0.75), 0f, owner, 0f, target.Y);
13969 }
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...
int damage
This will always be set in Projectile.NewProjectile based on the weapons damage and player stat modif...
IEntitySource GetProjectileSource_FromThis()
static int NewProjectile(IEntitySource spawnSource, Vector2 position, Vector2 velocity, int Type, int Damage, float KnockBack, int Owner=-1, float ai0=0f, float ai1=0f, float ai2=0f)
This particular overload uses a Vector2 instead of X and Y to determine the actual spawn position and...

References Terraria.Projectile.damage, Terraria.Projectile.GetProjectileSource_FromThis(), Terraria.Projectile.NewProjectile(), Terraria.Projectile.owner, and Terraria.Main.rand.

Referenced by Terraria.Projectile.Damage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: