TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ MountFishronSpecial

bool Terraria.Player.MountFishronSpecial
get

Definition at line 4381 of file Player.cs.

4382 {
4383 get
4384 {
4385 //IL_0045: Unknown result type (might be due to invalid IL or missing references)
4386 if (statLife >= statLifeMax2 / 2 && (!wet || lavaWet || honeyWet) && !dripping && !(MountFishronSpecialCounter > 0f))
4387 {
4388 if (Main.raining)
4389 {
4390 return WorldGen.InAPlaceWithWind(position, width, height);
4391 }
4392 return false;
4393 }
4394 return true;
4395 }
4396 }
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
Definition Entity.cs:57
bool honeyWet
Definition Entity.cs:61
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51
int statLifeMax2
The maximum health this player can have, adjusted by buffs and equipment.
Definition Player.cs:2092
int statLife
The current health of this player. Capped at F:Terraria.Player.statLifeMax2. If you increase this v...
Definition Player.cs:2102
float MountFishronSpecialCounter
Definition Player.cs:3117

Referenced by Terraria.Player.Update().