I tried merged Bribe's Damage Engine and PDD but i get this error

Level 8
Joined
Jul 22, 2015
Messages
123
Greeting everyone i just try to merge Bribe's Engine (Legacy Version) on pastebin with looking_for_help's PDD i tried to copy the code from Cross-Compatibility but i get this error instead, i have no idea what should i do to this since i'm not jass learned. i just want to merge them for detecting normal attack, spell attack and code attack. :(. Really appreciate it your help, Thanks!

1745369485192.png
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Error: "Function redeclared: GetUnitLife"

Which means that the function highlighted in your picture was declared more than once. You cannot have more than one of the same function, or more specifically, two or more functions with the same name. So delete one of them and see what happens.
 
Top