This is Part 25 of Make a Game Like Pokemon in Unity Series. In this video, we'll implement priority moves. So a move like Quick Attack should be performed first even if the other pokemon has higher speed. We'll also prevent the pokemon from performing moves that doesn't have any PP remaining.
Join my Patreon and get access to the Complete Project files of this series (contents with copyright are replaced with free ones)
/ complete-project-39632268
Script files for each part of this series (You can use this to compare with your script and find any mistakes)
/ script-files-for-38708232
Download the art assets needed to follow along with this series
https://github.com/GameDevExperiments...
0:00 - Intro
0:40 - Move Priorities
5:11 - Fix Max HP calculation
5:31 - Don't allow to use a move with 0 PP
8:15 - Also prevent enemies from using moves with 0 PP
If you like this series, consider subscribing to the channel and leave a like on the video to help this channel grow.
Watch video Make A Game Like Pokemon in Unity | #25 - Move Priorities & Bug Fixes online without registration, duration hours minute second in high quality. This video was added by user Game Dev Experiments 03 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,815 once and liked it 317 people.