So I'm working on a character for personal use. It's mostly ta help me learn Mugen coding, in vague hopes of possibly creating my own character some day.I recently found out how to make one of the character's specials affect an ally, and heal them a bit, while still damaging an enemy if the enemy is hit.However, I also noticed I could change the attack ta hit multiple targets.My problem is that if the attack does hit multiple targets, if one of the targets is an ally, the attack has a 50/50 chance of dealing damage ta all the targets, or healing all the targets.Is there a way ta separate multiple targets and the way they're dealt with in a single state? A way so that if the attack captures an ally and an enemy at the same time, the ally is healed and the enemy is damaged? Can I have my cake and eat it too?
Create a double helper. I have this exact thing in my Samus. When she drops the bombs, it affects both the enemy and the team. Spawn two helpers, make one the visible one, another that's invisible. Use an animation that uses sprite -1 with a time that's the same as the original animation.Lock the invisible helper to the visible helper. Should do what you want.
I can look inta that, but I think I should've mentioned that it was a grab move and not a projectile.Although that's a neat trick ta remember...