Re: customPowerups.lua - One more powerup framework! [v1.1]
Posted: Mon Jul 08, 2024 12:21 pm
I don't know much about Luna lua, but from what I can tell the star issue seems to be a silly mistake in the code where it can die from a star. Not sure how to fix that, but maybe make the bubble friendly by default. As for the second issue the only way I could imagine fixing that would be to modify the code. Perhaps you could use the iselectric or health config settings (as there is only like one NPC that actually uses iselectric in the game anyways) to define which ones it can harm and which ones it can't. Again I have little to no experience with Luna lua, so I'm probably missing something.King Mario wrote: ↑Mon Jul 08, 2024 11:27 amI was testing some more and I realized two things:
1. Bubble Flower cannot be used while invincible with Starman. This is a really minor issue though, maybe it's meant to be that way.
2. The More Important Thing: Whenever Bosses (the default ones) get captured by bubbles, they get killed instantly. I was thinking that maybe I could take all of the current Boss NPCs and put them in a blacklist so that the Bubble doesn't instantly kill bosses in one hit. How would I blacklist a set of NPCs though? A little help would be nice.