Last active
March 16, 2016 10:40
-
-
Save Abuwabu/b50f5b403ccbdcd68348 to your computer and use it in GitHub Desktop.
Function Comment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Summary: Calculate hitpoints after attack using formula | |
* new = current - ((enemyStrength*3) - size) | |
* Parameters: cUser — object containing hero's stats | |
* Return: Boolean indicating life or death | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment