43287 {
43289 {
43290 return;
43291 }
43294 pointPoisition.X = (float)Main.mouseX + Main.screenPosition.X;
43296 {
43297 pointPoisition.Y = (float)Main.mouseY + Main.screenPosition.Y - (
float)
height;
43298 }
43299 else
43300 {
43301 pointPoisition.Y = Main.screenPosition.Y + (float)Main.screenHeight - (float)Main.mouseY;
43302 }
43303 pointPoisition.X -=
width / 2;
43306 {
43307 return;
43308 }
43311 if ((Main.tile[num,
num2].wall == 87 && !
NPC.downedPlantBoss && (Main.remixWorld || (
double)
num2 > Main.worldSurface)) || Collision.SolidCollision(
pointPoisition,
width,
height))
43312 {
43313 return;
43314 }
43317 if (
sItem.type != 1326)
43318 {
43319 return;
43320 }
43322 {
43325 if (Main.rand.Next(2) == 0)
43326 {
43328 }
43330 {
43332 }
43335 }
43337 }
static PlayerDeathReason ByOther(int type)
void ApplyItemTime(Item sItem)
void KillMe(PlayerDeathReason damageSource, double dmg, int hitDirection, bool pvp=false)
void Teleport(Vector2 newPos, int Style=0, int extraInfo=0)
void LimitPointToPlayerReachableArea(ref Vector2 pointPoisition)
void AddBuff(int type, int timeToAdd, bool quiet=true, bool foodHack=false)