Blast Module: Difference between revisions

Remove fabricated shop price: ug[i][5] is never read for upgrades (dead data)
Stats from bullet_blast/scrEnemyStomped: 50 dmg, 4-frame window, doodad stomps, pugExplodingKnees
 
Line 11: Line 11:


'''Blast Module''' (ふんしゃモジュール) is an [[Upgrades|upgrade]]. Stomping on enemies causes a blast.
'''Blast Module''' (ふんしゃモジュール) is an [[Upgrades|upgrade]]. Stomping on enemies causes a blast.
== Stats ==
The blast is a <code>bulletBlast</code> object spawned at the stomp position. From the game code:
* It deals '''50 damage''' (<code>bdmg = 50</code>); a normal stomp deals 100. Most common enemies have 25 HP, so the blast alone kills anything the stomp itself would.
* It damages every enemy it overlaps, each once per blast (<code>bConsistent = 1</code>), rather than stopping at the first hit.
* The damage window is the first 4 frames of the 14-frame animation (at half speed, about 8 game frames); after that the explosion is only visual.
* The blast art (<code>sprBlast</code>) is 128 by 128 pixels, one of the largest effect sprites in the game.
* It also triggers when stomping [[Doodads|doodads]], not just enemies.
* Internally the upgrade flag is called <code>pugExplodingKnees</code>; the name ''Blast Module'' appears only in the display strings.
* [[Rocket Jump]] reuses the same <code>bulletBlast</code> object for its jump explosion, reskinned with a different sprite.


[[Category:Upgrades]]
[[Category:Upgrades]]