2using Microsoft.Xna.Framework;
40 Vector2
vector2 =
default(Vector2);
43 for (
int i = 0; i < 5; i++)
53 obj.scale = 1
f +
Main.
rand.NextFloat() * 0.8f;
68 obj.velocity = Vector2.Zero;
70 obj.scale = 0.5f +
Main.
rand.NextFloat() * 0.8f;
77 player.runAcceleration *= 3
f;
78 player.maxRunSpeed *= 1.5f;
static int NewDust(Vector2 Position, int Width, int Height, int Type, float SpeedX=0f, float SpeedY=0f, int Alpha=0, Color newColor=default(Color), float Scale=1f)
Attempts to spawn a single Dust into the game world. The Position, Width, and Height parameters dicta...
Dust are particles effects used to add visual elements to weapons and other effects....
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
int height
The height of this Entity's hitbox, in pixels.
static ArmorShaderDataSet Armor
static UnifiedRandom rand
override float GetDurationMultiplier(Player player)
override void ShowVisuals(Player player)
Spawn effects that should appear while the player is performing this jump here. Only runs while the ...
override void UpdateHorizontalSpeeds(Player player)
Modify the player's horizontal movement while performing this jump here. Only runs while the jump is...
override void OnStarted(Player player, ref bool playSound)
This hook runs when the player uses this jump via pressing the jump key Effects that should appear w...
int cMount
The armor shader ID applied to the Mount equipment slot by a dye item (F:Terraria....