IF you obviously copy a whole addon and then just change a few lines and even leave the original function GS_OnAddOnLoaded
form Greyskull Weapon & Spell Dmg tracker in
Provide proper credits in your addon description to the original addon and author please!
btw: Check if the other addon got a license and follow that one too. Also check if it (the license) disallows addon copy/changes.
Or did you get an "Ok" from Ghostbane, then please send me a PM with his mesage/your conversation.
Else I'm going to remove the addon here again, thanks for your understanding.
Edit:
As you showed you got permissison by the author of the original addon to use it but he also clearly said this:
So please clearly add that to your addon description (and at best into the lua files too).
Link the original addon and the author name and state your addon is a copy, only slightly changed.
Thanks for that.