These are some of the functions used to calculate damage, i might not have included all the functions that are used so feel free to request any other piece of code that you think may have relevance in calculating the damage, i might have missed quite a few.


http://pastebin.com/tLZGfqsn