19153 {
19155 {
19157 }
19162 bool flag3 =
false;
19164 {
19168 {
19170 }
19172 velocity.Y = 0f -
num3;
19175 return;
19176 }
19178 {
19179 num2 = (float)
Math.
Sign(Main.windSpeedCurrent) * 0.06f;
19180 if (
Math.
Abs(Main.windSpeedCurrent) > 0.5f)
19181 {
19183 }
19185 {
19187 }
19189 {
19191 float num4 = 0.072f;
19193 }
19196 {
19198 }
19199 }
19201 {
19205 {
19207 {
19209 }
19210 }
19212 {
19214 }
19215 }
19217 {
19219 {
19221 {
19223 }
19225 }
19227 {
19229 {
19231 }
19232 else
19233 {
19234 velocity.X = 0f;
19235 }
19236 }
19238 {
19240 {
19242 }
19244 {
19249 {
19250 if (Main.rand.Next(2) == 0)
19251 {
19253 }
19254 if (Main.rand.Next(2) == 0)
19255 {
19257 }
19258 if (Main.rand.Next(2) == 0)
19259 {
19261 }
19262 }
19264 {
19265 if (Main.rand.Next(3) != 0)
19266 {
19268 }
19269 if (Main.rand.Next(3) != 0)
19270 {
19272 }
19273 }
19274 else
19275 {
19277 }
19278 }
19279 }
19281 {
19283 }
19284 }
19286 {
19288 {
19290 {
19292 }
19294 }
19296 {
19298 {
19300 }
19301 else
19302 {
19303 velocity.X = 0f;
19304 }
19305 }
19307 {
19309 {
19311 }
19313 {
19318 {
19319 if (Main.rand.Next(2) == 0)
19320 {
19322 }
19323 if (Main.rand.Next(2) == 0)
19324 {
19326 }
19327 if (Main.rand.Next(2) == 0)
19328 {
19330 }
19331 }
19333 {
19334 if (Main.rand.Next(3) != 0)
19335 {
19337 }
19338 if (Main.rand.Next(3) != 0)
19339 {
19341 }
19342 }
19343 else
19344 {
19346 }
19347 }
19348 }
19350 {
19352 }
19353 }
19355 {
19357 {
19359 {
19361 }
19362 }
19364 {
19366 }
19368 {
19370 {
19372 }
19375 {
19377 }
19378 }
19380 {
19382 {
19384 }
19385 else
19386 {
19387 velocity.X = 0f;
19388 }
19389 }
19391 {
19393 }
19394 }
19396 {
19398 {
19400 {
19402 }
19403 }
19405 {
19407 }
19409 {
19411 {
19413 }
19416 {
19418 }
19419 }
19421 {
19423 {
19425 }
19426 else
19427 {
19428 velocity.X = 0f;
19429 }
19430 }
19432 {
19434 }
19435 }
19437 {
19439 {
19441 {
19443 {
19445 }
19446 else
19447 {
19448 velocity.X = 0f;
19449 }
19450 }
19452 {
19454 {
19456 }
19457 else
19458 {
19459 velocity.X = 0f;
19460 }
19461 }
19462 }
19464 {
19466 }
19468 {
19470 }
19471 }
19473 {
19475 {
19477 }
19479 {
19481 }
19482 else
19483 {
19484 velocity.X = 0f;
19485 }
19486 }
19488 {
19490 {
19492 }
19494 {
19496 }
19497 else
19498 {
19499 velocity.X = 0f;
19500 }
19501 }
19503 {
19505 {
19506 velocity.X +=
num2;
19508 {
19510 }
19511 }
19513 {
19514 velocity.X +=
num2;
19516 {
19518 }
19519 }
19520 }
19521 bool flag4 = mount.Type == 40 || mount.Type == 41 || mount.Type == 42;
19523 {
19526 {
19528 }
19529 rect.Width = 2;
19530 rect.Inflate(6, 12);
19533 {
19535 }
19539 {
19541 }
19545 }
19547 {
19550 {
19552 }
19553 rect2.Width = 2;
19554 rect2.Inflate(6, 12);
19560 }
19562 {
19565 {
19567 }
19568 rect3.Width = 2;
19569 rect3.Inflate(6, 12);
19575 }
19577 {
19580 {
19582 }
19583 rect4.Width = 2;
19584 rect4.Inflate(6, 12);
19590 }
19592 {
19595 {
19597 }
19598 rect5.Width = 2;
19599 rect5.Inflate(6, 12);
19605 }
19608 {
19610 }
19611 }
static float Clamp(float value, float min, float max)
static double Abs(double value)
static int Sign(decimal value)
static void PlaySound(int type, Vector2 position, int style=1)
static readonly LegacySoundStyle Item55
static readonly LegacySoundStyle Item168
Action< Vector2 > MinecartDust
MountDelegatesData Delegations
bool AllowDirectionChange
bool PortalPhysicsEnabled
void SpawnFastRunParticles()
int CollideWithNPCs(Rectangle myRect, float Damage, float Knockback, int NPCImmuneTime, int PlayerImmuneTime)
void TryUsingDiggerCart()
Vector2 fullRotationOrigin