23081 {
23082 if (
position.
X < Main.leftWorld + 640f + 16f)
23083 {
23084 Main.cameraX = 0f;
23085 position.X = Main.leftWorld + 640f + 16f;
23086 velocity.X = 0f;
23087 }
23089 {
23090 Main.cameraX = 0f;
23091 position.X = Main.rightWorld - 640f - 32f - (float)
width;
23092 velocity.X = 0f;
23093 }
23094 if (
position.
Y < Main.topWorld + 640f + 16f)
23095 {
23097 {
23099 {
23101 }
23102 if (
position.
Y < Main.topWorld + 320f + 16f)
23103 {
23104 position.Y = Main.topWorld + 320f + 16f;
23106 {
23107 velocity.Y = 0f;
23108 }
23110 }
23111 }
23112 else
23113 {
23114 position.Y = Main.topWorld + 640f + 16f;
23116 {
23117 velocity.Y = 0.11f;
23118 }
23120 }
23122 }
23124 {
23125 position.Y = Main.bottomWorld - 640f - 32f - (float)
height;
23126 velocity.Y = 0f;
23127 }
23129 {
23131 }
23132 }
static PlayerDeathReason ByOther(int type)
static void HandleSpecialEvent(Player player, int eventID)
void KillMe(PlayerDeathReason damageSource, double dmg, int hitDirection, bool pvp=false)