Talk:Bubble Gun

Okay, since none of us can seem to decide, is the Bubble Gun unable to get Mythical because of the mana cost or the speed? Sodapone (talk) 16:24, 16 May 2014 (UTC)
 * Probably the mana cost. Megashark fires faster and can still obtain Unreal, which provides the same speed bonus as Mythical.  Equazcion ( talk ) 16:30, 16 May 2014 (UTC)


 * Looks like I might be wrong, as other mana-reducing mods work. Although the general consensus on Crystal Storm is that it can't get Mythical due to the same mana cost.


 * The explanation on this page currently says the Bubble Gun can get every other "buff", though interestingly, Manic and Taboo seem to be impossible. Those are the magic-only mods that offer speed increases -- though the same increase can be gotten through any of the "common" mods, like Quick, Deadly, Nasty, which this weapon does take.


 * It seems to simply not take any Magic-only mod that increases speed? Maybe. I'm not aware of a mechanic that would cause such a limitation.  Equazcion ( talk ) 20:32, 16 May 2014 (UTC)


 * Think I found the problem. In the game code, the actual multipliers for speed are different for the common and magic mods:


 * 0.9f = Mythical useAnimation multiplier
 * 0.95f = Superior useAnimation multiplier


 * The mod limits are enforced by performing the multiplication, then rounding to the nearest whole number. If the rounded value turns out to be the same as the base value -- ie. there wasn't enough of a change to push it over to the next whole number when rounding -- the mod isn't applied.


 * Crystal Storm has an even faster speed, so it can't get either one: Its rounded value after multiplying by both of these numbers is the same as its base speed. But the Bubble Gun is just slow enough to cause the rounded value to equal one more than its base value when using the slightly larger multiplier that Superior etc. offer.


 * Complicated, sorry for the tech speak, but whoever programs here might appreciate the issue :)  Equazcion ( talk ) 21:58, 16 May 2014 (UTC)