GroupofZhaZha / ZHAZHAFIGHT1

0 stars 0 forks source link

Task 40: Updating HP in Player reference #51

Open KunL21 opened 5 years ago

KunL21 commented 5 years ago
  1. Check if its player or ai still have monster remaining in the battle file (using if statement)
  2. in the if statement, subtract player's hp by how many AI monster were left.

Task test Script: testing if statement by minus 3 hp from player, and if player's hp is deducted, that mean if statement is run now count how many ai monster were left in the battle, and check if player's hp is deducted by that amount by going to game scene and check the hp display