Yoshirocks90 Member Aug 28, 2017 #1 How do i use lua to check if the player has a fire flower? The closest I can get is checking if the player's color is white and if they have a shield.
How do i use lua to check if the player has a fire flower? The closest I can get is checking if the player's color is white and if they have a shield.
742mph My work is never done yet Aug 28, 2017 #2 Use (player.powers[pw_shield] & SH_FIREFLOWER) to check if player has a Fire Flower. Here's the relevant wiki article.
Use (player.powers[pw_shield] & SH_FIREFLOWER) to check if player has a Fire Flower. Here's the relevant wiki article.