Guest User

Untitled

a guest
Jun 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public void UseItemEffect(Player player, Rectangle rectangle) {
  2. Color color = new Color();
  3. //This is the same general effect done with the Fiery Greatsword
  4. int dust = Dust.NewDust(new Vector2((float) rectangle.X, (float) rectangle.Y), rectangle.Width, rectangle.Height, 29, (player.velocity.X * 0.2f) + (player.direction * 3), player.velocity.Y * 0.2f, 100, color, 1.9f);
  5. Main.dust[dust].noGravity = true;
  6. }
Add Comment
Please, Sign In to add comment