DARK SOULS in Unity – Ep. 105

Up until now our light attacks have done the same amount of damage as our heavy attacks. In this video we change that. We create “Attack Types”, which are values stored on our character depending on what kind of attack they are doing. Depending on the current Attack Type, we modify the incoming damage based on our new Attack Type’s damage modifier. To give an example, in the video we set our light attacks modifier to 1, and our heavy attack’s to 2. This makes it so that when a light attack lands, the damage becomes 1 multiplied by the base damage of weapon, where as when a heavy attack lands, the damage becomes 2 multiplied by the base damage of the weapon.

Sebastian Graves