Cheat Engine Damage Multiplier: Player vs Enemy
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
script is injecting our code right here, where health is getting subtracted by damage, which is normally the perfect place to insert code for damage modifiers. And keep in mind, all this code will run when the player or an enemy takes damage, and since our scripted code is right in the middle of this, it will affect both the player and the enemies. So, in the script, I'm using this reference to create two distinct paths. One for the player, where the value of max health is getting placed into the current health address, and one for the enemies, where the damage they receive is being multiplied by a symbol that we can control in the address list.