Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override bool Shoot(Player player, ref Vector2 position, ref float velo, ref int shoot, ref int damage, ref float knockBack)
- {
- for (int i = 0; i < 2; i++)
- {
- float f = Main.rand.NextFloat() * ((float)Math.PI * 2f);
- Vector2 vector19 = position + f.ToRotationVector2() * MathHelper.Lerp(20f, 60f, Main.rand.NextFloat());
- Vector2 velo = Main.MouseWorld - vector19;
- velo.Normalize();
- Projectile.NewProjectile(vector19.X, vector19.Y, velo, shoot, damage, knockBack, player.whoAmI, 0f, 0f);
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement