This is Part 10 of Make a Game Like Pokemon in Unity Series. In this video, I'll cover critical hits and type effectiveness (It's super effective :) ). We'll use a 2d array to store the effectiveness of all types and use them while calculating the damage of an attacks.
Get the Complete Project Files of the series by becoming a supporter on Patreon
/ complete-project-39632268
Get script files for each part of this series (Useful to find mistakes in your script)
/ script-files-for-38708232
Download the art assets needed to follow along with this series
https://github.com/GameDevExperiments...
0:00 - Intro
0:37 - Creating the type effectiveness chart
4:34 - Get effectiveness from the chart
6:12 - Use type effectiveness to calculate damage
7:03 - Critical hits
8:10 - Show effectiveness & critical hits in the dialogue box
12:02 - Testing & adding delay after each dialogue