# Blowpipe

**"And if you think **Blowpipe** was bad, I'm worse!"**

βFracas to Scourge,

*The Rebirth, Part 2*

**Latest update: **Jul 14, 2019

The cannon **Raider Blowpipe** turns into (*compression cannon* in what follows) rewards us for flipping as many colors as we can. The attack boost it provides can be as high as +5, to which we still need to add the amount of orange we flip. Regardless of its potential, just trying to maximize this attack boost doesn't seem to be the most rewarding choice in a competitive environment. Therefore, we'll follow two different approaches in these notes. In the first part, we'll deviate from the goal of building a tournament competitive deck, and take this chance to dig deeper into the mathematics of flipping many colors. In the second part, we will consider the deck-building space that playing characters with innate Bold would open. We'll see how this allows us to consider more realistic decks, and how we can build our own 5β
Lionizer.

# Part I - Five Colors, No Bold

In this first part we're determining the color composition of a deck optimized at flipping as many colors as we can off the natural two-card attack flip. We'll see that a probability as high as 70% can be reached of flipping 4 or 5 colors, as long as we're willing to impose severe restrictions on the way we build our deck. We've already approached a similar optimization problem when dealing with Metroplex. We are again trying to match a certain color pattern with the icons we flip. Therefore, we want to figure out the optimized deck compositions which maximize our success rate. As with Metroplex, it's very important that we find a way to reduce the excessive number of our parameters, by enforcing a *symmetry* on our deck composition.

Instead of directly simulating our flips, we will first try to work out the probabilities of the possible flips in an analytic way. This will give us a better understanding of the role played by the different kind of cards in our deck. It would have been possible to do the same with Metroplex, but much more cumbersome, because of the combinatorial increase of possibilities caused by Bold. We will eventually simulate our flips, but mainly to verify that our more conceptual understanding is correct. As a bi-product of this we will also quantify the error induced by some approximations that we might mistakenly consider more impactful than they actually are (i.e. difference between probabilities without and with replacements).

Let's start by reconsidering the problem of matching a color pattern in a more general way. We need to flip one of the *right* combination of colors. Each color, or color combination, has its own probability of being featured on the top card of our deck, and that depends on how many cards with that combination we play. If we need to put several cards together to match a pattern, then our success rate will be the product of their individual probabilities of being on top of our deck. The more cards we need to match a pattern, the more products we need to take, and the lower the resulting product will be (e.g. 50% of 50% is 25%, but 50% of 50% of 50% is 12.5%, etc.). This means that **the best way to increase our chances of matching a pattern is by reducing the number of cards we need to put together**. This is, for example, why double-icon cards are so important in Metroplex. They reduce the number of orange and blue cards we need by a factor two. In a case like Metroplex, this is evident. But there are less evident cases, like Grapple. If it wasn't for their effect, we would never play a lot of **πΎπΆ** and **π±πΆ** cards in a Grapple deck when, ideally, we only need **π
πΆ** and **πΎπ±** cards to match our pattern. Of course, with Grapple, we face the problem posed by the scarcity of β
-free **πΎπ±** cards, but we can still achieve about 70% success rate (without Bold!) by investing into some β
-cards, and refusing to dilute the distribution of our colors over **πΎπΆ** or **π±πΆ** cards.

With Blowpipe we deal with the additional complication posed by the fifth battle icon, but the argument still holds, and we can achieve a similar result. We need as many **π
πΆ** cards as we can afford, and leave the remaining colors to the other cards. One reason for that is the abundance of **π
πΆ** cards. They can constitute half our deck if needed. This way we can allocate about half color pattern on a single color combination, notably the one that makes us flip more cards. The remaining half patter will be on about *any* of the other cards.

In the following, n_{GW} will be the number of **π
πΆ** cards in our deck. The other colors, orange (O), blue (B), and black (K) do play a symmetric role. Therefore, we'll include equal number of them, and only through double-icon cards. We will call n_{XY} the common number of **πΎπ±**, **πΎπΊ**, and **π±πΊ** cards in our deck. Therefore, in a 40-card deck, n_{WG} +3 n_{XY} = 40. This is where we enforce the symmetry that allows us to reduce the number of parameters we need to deal with.

## Flips

Let's consider the possibilities for our flips in a deck like the one we are building. We're not including single icon cards. Therefore, we don't count on Bold, and consider only the case in which we attack by flipping two cards. We either flip at least a **π
πΆ** card with our initial flips or we don't. In the first case we end up flipping four cards, in the second case just two.

**Two cards:** Our two cards are not **π
πΆ**, and they either have the same color combination or they don't. In the first case we flip two different colors, in the second case we flip three. We cannot flip four or five colors when we only flip two cards.

**Four cards:** We're flipping at least one **π
πΆ** card. Therefore, we cannot flip exactly three colors, and we flip just two colors only if all four cards are **π
πΆ**. We flip four colors when the remaining three cards have the same two-color combination, when they're not **π
πΆ** themselves. Lastly, we flip five colors when we have at least two different non-**π
πΆ** cards.

We can summarize the different possibilities as follows:

**Table 1**

## Probabilities

The probability of flipping a **π
πΆ** card from the top of our shuffled, 40-card deck is P_{WG} = n_{WG}/40, i.e. the relative number n_{WG} of **π
πΆ** cards in our deck. Similarly, the probability for the top card to be **πΎπ±** is P_{XY} = n_{YX}/40, and it's the same for **πΎπΊ** and **π±πΊ** cards, as we're building our deck with equal numbers of **πΎπ±**, **πΎπΊ**, or a **π±πΊ** cards. These probabilities change when we flip more than just one card. For example, if the first card we flip is **π
πΆ**, then our chances of flipping a second **π
πΆ** card becomes (n_{WG }β 1)/39. In the same scenario, the probability that the second card is **πΎπ±** is n_{YX}/39. It is possible to work out these probabilities, and the result is conceptually simpler than lofty names like *hypergeometric distribution* would suggest. But we will follow an even simpler approach in these note. We will pretend that additional flips happen after we reshuffle every card we've already flipped back into our deck. Therefore, our *probability with replacements* of flipping a **π
πΆ** card will always be P_{WG}. The probability of flipping an **πΎπ±** card will always be P_{YX}, etc. We will check how impactful this simplification is by comparing our result with an actual simulation of our flips, as simulations easily take into account the effect of being depleting our deck as we flip multiple cards.

With this simplification in mind, we can now write simple formulae for the probabilities of the different flips listed in table 1 in terms of P_{WG} and P_{XY} :

P ( 2 colors with 2 cards ) = **3** P_{XY}^{2}

P ( 3 colors with 2 cards ) = **6** P_{XY}^{2}

P ( 2 colors with 4 cards ) = P_{WG}^{4}

P ( 4 colors with 4 cards ) = **12** P_{WG}^{3} P_{XY} + **15** P_{WG}^{2} P_{XY}^{2} + **6** P_{WG} P_{XY}^{3}

P ( 5 colors with 4 cards ) = **30** P_{WG}^{2} P_{XY}^{2} + **48** P_{WG} P_{XY}^{3}

These probabilities are derived by counting the individual ways of flipping a given number of colors (boldface numbers). They're boring, but not complicated to derive. Let's just go through a simple case together, and evaluate P ( 2 colors with 2 cards ). We've seen that we can flip two 2 colors with 2 cards only if the cards share the same, non-**π
πΆ** color combination. As there are three different combinations of this type, there are three different ways of obtaining this result. The probability of drawing each one of the two copies is P_{XY}. Therefore, P ( 2 colors with 2 cards ) = 3 P_{XY}^{2 }. The other probabilities might require more work, but are derived in a similar way.

Combining them together, we can write down the probabilities of flipping any number of colors:

P ( 2 colors ) = P ( 2 colors with 2 cards ) + P ( 2 colors with 4 cards )

P ( 3 colors ) = P ( 3 colors with 2 cards )

P ( 4 colors ) = P ( 4 colors with 4 cards )

P ( 5 colors ) = P ( 5 colors with 4 cards )

As P_{WG }+ 3 P_{XY} = 1, P_{XY} can be rewritten in terms P_{WG} of as P_{XY} = ( 1 β P_{WG }) / 3 , which allows us to express these probabilities in terms of P_{WG} only (formulae omitted, just replace P_{XY} = ( 1 β P_{WG }) / 3 wherever it appears), and plot them as functions of n_{WG}. The result is shown in figure 1.

**Figure 1**

**Figure 2**

Figure 2 shows how well our analytical approximations compare to the more precise result obtained by averaging over 100'000 simulations of our flips (dashed lines). Each individual panel in figure 3 refers to a fixed value of n_{WG} and, therefore, of n_{XY}. The first conclusion that we can draw is that **neglecting deck depletion is not a bad approximation, as long as we are flipping a limited number of cards from the top of our entire deck**.

And now that we know that we can trust our analytical result, we can use it to better understand the *anatomy* of our flips.

With reference to figure 2, let's consider the far left region of the plot, corresponding to a very small number of **π
πΆ** cards. In this case, we almost always flip only two cards. Therefore, we flip 2 or 3 colors most of the times. We more often flip 3 colors, as we need to flip two non-**π
πΆ** cards with the same color combination to flip just 2 colors.

When the number of **π
πΆ** cards increases, so does our probability of flipping 4 cards, and, therefore, 4 or 5 colors. We never flip 3 colors with 4 cards. Therefore P ( 3 colors ) is a decreasing function of n_{WG}. The same is not always true about P ( 2 colors ). But let's first consider P ( 5 colors ). Its maximum corresponds to n_{WG }β 16. This is also the turning point for P ( 2 colors ) because, as we increase n_{WG}, we also increase our chances of flipping 4 **π
πΆ** cards.

We can still capitalize on the slower rate at which P ( 2 colors ) is increasing, when compared to P ( 4 colors ). This being true at least until n_{WG }reaches approximately 28. That's when our chances of flipping 4 colors are at their peak. After that, our chances of flipping double-**π
πΆ** are just two high. Eventually, P ( 2 colors ) becomes 100%, and any other probability drops to zero.

We can conclude that the optimal number of **π
πΆ** cards must be somewhere between 18 and 28. And a good way to identify it is trying to maximize our chances of flipping either 4 or 5 colors. As

P ( 3 or less colors ) + P ( 4 or more colors ) = 1 ,

maximizing P ( 4 or more colors ) also corresponds to minimizing P ( 3 or less colors ). Clearly

P ( 3 or less colors ) = P ( 2 colors ) + P ( 3 colors )

and

P ( 4 or more colors ) = P ( 4 colors ) + P ( 5 colors ) .

Figures 3 and 4 are the analogous of figures 1 and 2 for these two sums, and they show the result in very simple terms: **The optimal number of π
πΆ cards would be about 22-25. 70% of times it would correspond to an attack bonus of +5** (plus the the number of orange icons we flip).

**Figure 3**

**Figure 4**

Choosing 22 **π
πΆ** cards, we are left with 18 cards, that conveniently correspond to the two β
-free playsets of **πΎπ±**, **πΎπΊ**, and **π±πΊ** cards we have as of wave 3.

This is what was meant at the very beginning of these set of notes. Optimizing our attack total with Blowpipe would impose serious constraints on the way we build our deck. Of course we can increase the versatility of our deck by compromising over this attack boost. And the right way of doing so ultimately depends on our preferences, team of characters, group of players, etc. The first part of these notes was aimed at showing what's the highest attack boost we can achieve with Blowpipe, and how consistently we can get there by building our deck with that goal in mind. Ideally, as more cards will get released, the number of suboptimal options this goal would require will also decrease.

## Departure from the maximum

Having found the distribution of icons in our deck which maximizes our attack boost, we can now check how much it would cost do move away from it in order to build a better deck. One of the first cards we might like to include is **Quartermaster**. As our deck is built around Blowpipe, having the possibility to bring him back from the KO zone seems mandatory. **Quartermaster** is a **π
** card. Therefore its playset will replace 3 **π
πΆ** cards. **Peace Through Tyranny** is a suboptimal way to KO Blowpipe, and used here just an example to show of how much our success rate would be worsened by the inclusion of a mono-color, double-icon card. As we're considering an **πΎπΎ** card, we will cut either 3 **πΎπ±** or **πΎπΊ** cards to space for it.

Figures 5 and 6 compare the following three cases:

- 22
**π πΆ**, 6**πΎπ±**, 6**πΎπΊ**, 6**π±πΊ**(our maximum) - 19
**π πΆ ,**3**π **, 6**πΎπ±**, 6**πΎπΊ**, 6**π±πΊ**(3x**Quartermaster**) - 19
**π πΆ ,**3**π ,**3**πΎπΎ ,**3**πΎπ±**, 6**πΎπΊ**, 6**π±πΊ**(3Γ**Quartermaster**and 3x**Peace Through Tyranny**)

**Figure 5**

**Figure 6**

P ( 4 or more colors ) is barely affected by the inclusion of **Quartermaster**, and worsened by an acceptable 6% by a mono-color, double-icon card. The reason for the stability of our result is the fact that we are keeping the most important features intact: 1) Color pattern split between two sets of interchangeable cards; 2) About half our cards featuring a white icon.

The two cards considered here are worth being included regardless of our team of characters. Any additional modification will instead depend on the rest of our team. Therefore, the next section will feature some good teammates for Blowpipe.

## Teammates

**Slipstream, Strategic Seeker. **Slipstream is among the first characters coming to mind, because of how similar her bot ability is to the one printed on the compression cannon. Slipstream's ability adds +3 attack when we flip 3 or more colors. Nothing more if we flip more colors, nothing at all if we flip less. She's not really our best partner for Blowpipe, as we're about to see, but still worth considering. Figure 7 shows the probability distribution of her attack total in bot mode, in a deck with 19 **π
πΆ**, 3 **π
** (**Quartermaster**), 3 **πΎπ±**, 6 **πΎπΊ**, 6 **π±πΊ**, and 3 **πΎπΎ** cards (**Peace Through Tyranny**). All other charts in this section assume this same color composition, and their corresponding characters in their bot modes. Slipstream has a considerable chance of attacking for less than 10, including cases when we only flip white and green cards, or two **π±πΊ** cards, for an attack total of just 5.

**Bumblebee, Courageous Scout.** Bumblebee is a better option than Slipstream, as his base attack already starts from 6. In a deck filled with white icons, his ability is very often equivalent to Bold 2. Its ability also triggers off defensive white flips. Therefore, it also simulates Tough 2, which is not totally irrelevant in a deck with 9 blue icons. His chances of attacking for less than 10 are less than 5%.

**Arcee, Skilled Fighter.** Arcee doesn't have any specific synergy with the compression cannon. Her synergy his directly with knocking out your enemies, which makes her worth considering.

**Figure 7**

**Figure 8**

**Figure 9**

**Starscream, Decepticon King. **Starscream is not considered here because of its synergy with the cannon, but because he can actually make good use of some **π
πΆ** cards, namely **Decepticon Crown** and **Secret Dealings**. These are cards we would include in our deck anyway (with no doubt about the crown). Besides, Starscream's high base attack makes mixed color builds preferable to almost mono-color ones. The distribution of his attack total is not plotted, given how much it depends on the number of crowns we flip. But the compression cannon makes flipping just one crown as good, or even better, than flipping more than one. Planning for a crown means that we're flipping four cards. Two colors come from the crown itself, for an additional +2. The remaining three cards will almost always feature at least another color, but very often two, and sometimes 3.

**Figure 10**

**Figure 11**

**Wheeljack, Weapons Inventor.** With King Starscream we got a first glimpse at ways Blowpipe might be used in competitive scenarios. The other part of the story is gonna be told by Wheeljack. In a deck optimized at flipping 4 or 5 colors off the natural 2 flips, Bold makes flipping all 5 colors very simple (figure 10). In his bot mode, and with a weapon in our scrap pile, Wheeljack has innate Bold 3, meaning that we almost always flip 7 cards off his attack. The most likely attack boost is +7, corresponding to 5 different colors and 2 orange icons (figure 11).

Given how impactful Bold is in increasing the average number of colors we flip, we might consider relaxing the tight constraints we put on our deck. In the second part of these notes we will concede to the allure of aggressive, unsophisticated strategies. We'll just splash non-orange icons, and consider more competitive ways of playing Blowpipe in an orange shell.

# Part II - How to Build a 5β
Lion

We can either put a lot of thought into maximizing the attack boost with our compression cannon, or just play orange and Bold. The second option seems to have much better chances of winning us some games. Therefore, it's time to part from our mathematical playground, and consider the role of Blowpipe in an orange shell. The main subject of this section is the comparison between Blowpipe, and the archetypal aggressive Battlemaster, Lionizer. We'll see that Blowpipe can be just as aggressive, with the additional bonus of costing 2β less.

Part I was entirely focused on a deck with 22 white cards, which many might rightfully consider debatable at best. Here we consider a color composition we might choose anyway for an aggro deck. The only additional cost is going to be spacing for the suboptimal **πΎπΊ** cards:

- 6
**πΎπΆ**cards (**Enforcement Batons**,**Bashing Shield**,**Press the Advantage**, are just some of the good examples.) - 6
**πΎπΊ**cards (No options in this case. Let's play**Rock Toss**and**Combat Dagger**, and stop whining.) - 3
**πΎπ±**cards (Maybe**Roll Out!**) - 3
**π πΆ**cards (**Spare Parts**to protect the cannon,**Espionage**,**Escape Route**, etc.) - 3
**π **cards (**Quartermaster**) - 3
**π±**(**Start your Engines**,**Dino Chomp!**Don't forget**Swap Missions**.) - 10
**πΎ**cards - 6
**πΎπΎ**cards

Let's consider again a Bold 3 Wheeljack (a double-flipped Grimlock would work as well) first upgraded with the compression cannon (Blowpipe), and then with the **RS Firesteel Saber** (i.e. **Lionizer, Ground Command Β· Artillery** in his "weapon mode"). The striking similarity between the two cases is shown in the two panels of figure 12. As we can see, Lionizer is still slightly more aggressive, but definitely not 2β
more aggressive.

**Figure 12**

**Figure 13**

Our last figure shows the probability distribution of the number of colors we flip. It's worse than the one in figure 10, as it should be, given that figure 10 is the solution of an optimization problem. We are trading a +1 or +2 bonus in figure 13 for the largely increased amount of orange icons we flip.

As a final remark, another little reward we get from choosing Blowpipe over Lionizer is that we still gain at least an additional +1 bonus -more if we flip more than just orange- even when our opponent shuts down Bold.

## External Links

Ken Nagle - Nagleβs Notes: A Colorful Raider