Definition at line 17767 of file Player.cs.
17768 {
17769
17770
17771
17772
17773
17774
17776 {
17780 {
17784 {
17786 }
17787 }
17788 }
17789 else
17790 {
17792 }
17794 {
17798 {
17800 }
17802 {
17804 }
17805 }
17807 {
17809 }
17811 {
17815 {
17817 }
17819 {
17821 }
17824 {
17826 }
17828 }
17829 else
17830 {
17832 }
17835 {
17839 {
17842 }
17844 {
17845 continue;
17846 }
17848 {
17850 for (int i = 0; i < 5; i++)
17851 {
17852 int num3 = Dust.NewDust(
position,
width,
height, 45, 0
f, 0
f, 255,
default(Color), (float)Main.rand.Next(20, 26) * 0.1f);
17853 Main.dust[
num3].noLight =
true;
17854 Main.dust[
num3].noGravity =
true;
17856 obj.velocity *= 0.5f;
17857 }
17858 }
17860 }
17861 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
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.
bool IsStandingStillForSpecialEffects
int statManaMax2
The maximum mana this player can have, adjusted by buffs and equipment.
float manaRegenDelayBonus
int statMana
The current mana of this player. Capped at F:Terraria.Player.statManaMax2. If you increase this val...
References Terraria.Main.dust, Terraria.Player.grappling, Terraria.Entity.height, Terraria.Player.IsStandingStillForSpecialEffects, Terraria.Player.manaRegen, Terraria.Player.manaRegenBonus, Terraria.Player.manaRegenBuff, Terraria.Player.manaRegenCount, Terraria.Player.manaRegenDelay, Terraria.Player.manaRegenDelayBonus, Terraria.Main.myPlayer, Terraria.Player.nebulaLevelMana, Terraria.Player.nebulaManaCounter, Terraria.Dust.NewDust(), Terraria.Audio.SoundEngine.PlaySound(), Terraria.Entity.position, Terraria.Main.rand, Terraria.Player.statMana, Terraria.Player.statManaMax2, Terraria.Player.usedArcaneCrystal, Terraria.Entity.whoAmI, and Terraria.Entity.width.
Referenced by Terraria.Player.Update().