Marioman2007 wrote: ↑Wed Jul 10, 2024 2:21 am
King Mario wrote: ↑Mon Jul 08, 2024 11:27 am
I 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.
1. Oops, that's a mistake on my part.
2. There are blacklist and whitelist functions, you can use them like this:
Code: Select all
local bubble = require("AI/smbw_bubble")
bubble.whitelist(id)
bubble.blacklist(id)
Thanks for the help! Truth to tell, I actually figured out the solution a little while ago. What I did was a little different. I took this code
and changed it to this
Code: Select all
local blacklist = table.map{15, 39, 86, 200, 201, 351, 209, 262, 267, 268, 280, 281, 413, 608}
and it works! Now the Bubble Flower no longer insta-kills Bosses! Regardless, thanks for your help and Cat King's, I really appreciate it.