Ejemplo n.º 1
0
 public override bool UseItem(Player player)
 {
     if (flag)
     {
         ConversionHandler.ConvertDown((int)(player.Center.X / 16f), (int)(player.Bottom.Y / 16f) + 3, 40, ConversionType.INFERNO);
     }
     else
     {
         ConversionHandler.ConvertDown((int)(player.Center.X / 16f), (int)(player.Bottom.Y / 16f) + 3, 40, ConversionType.MIRE);
     }
     flag = false;
     return(true);
 }