(08-01-2014, 07:47 PM)bashscrazy Wrote: Do balls spawn with 500 hp?They do, but as mentioned they only decrease from hit_a in the ball itself. You can't hurt the ball's HP otherwise. See Julian's D>J Soul Bomb - I used to believe it had actual HP until I realized it was actually a 3006 with a timer via hit_a - the ball may slow down and be frozen in a frame, but the HP timer will go on regardless until it reaches 0, whereupon it becomes a state 3000 that will explode on contact.
Nya's method should work if you are looking for a projectile that can take damage, but if you want to make the projectile also damage itself when it hits something, then nope - weapons only take damage when they drop or are hit directly, not when they hit enemies.
Maybe you can make a state 3000 ball that:
1) On hitting (enemy) or on hit (projectile/weapon I think) will lose HP via hit_a, then continue travelling as a ball.
2) On rebound it would disappear. But don't worry about it, because the ball won't have a bdy that can be hit under normal circumstances.
3) Once it reaches 0 HP, it'd go into another frame determined by hit_d for explosions perhaps.
Something like that. My worry is that there will be a problem with the ball switching teams, but should work fine otherwise.
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza