Integrating damage formula into the code

Damage formula is working correctly in-game now and dodge and crit are
being handled. Currently, dodge doesn't do anything or send any message,
but we can expand on that in the future.