Description: When you're attacked by creature, your HP will be deducted less and the creature will be stunned
Creating status
UI Design
Step 1 - You will add a conditional structure to check if it is active or not; if it is false, then activate; otherwise, if it is true, then do not activate.
Step 2 - I will gain 'Shield Status' for the player
Step 3 - I will turn off the player's permission “Can take damage”
Step 4 - Change the boolean variable to false and turn on the player's permission “Can take damage”
Step 5 - Now, our task is to determine if the player is using a shield when the creature attacks, if so then stun the creature, otherwise don't. To do that, we use 2 events
Then, we will check the boolean variables to see if they're true. Remember, THAT IS “TARGET PLAYER IN EVENT.”
After, add the gain status trigger
For questions about Developer Tools, join our official Discord server. Mini World Global DEV discord