SHARE
TWEET

Untitled

a guest Mar 25th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public override bool Shoot(Player player, ref Vector2 position, ref float velo, ref int shoot, ref int damage, ref float knockBack)
  2.         {
  3.            
  4.             for (int i = 0; i < 2; i++)
  5.             {
  6.                 float f = Main.rand.NextFloat() * ((float)Math.PI * 2f);
  7.                 Vector2 vector19 = position + f.ToRotationVector2() * MathHelper.Lerp(20f, 60f, Main.rand.NextFloat());
  8.                 Vector2 velo = Main.MouseWorld - vector19;
  9.                 velo.Normalize();
  10.                 Projectile.NewProjectile(vector19.X, vector19.Y, velo, shoot, damage, knockBack, player.whoAmI, 0f, 0f);                
  11.             }
  12.             return false;
  13.            
  14.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top