Created
May 14, 2013 00:12
-
-
Save desg/5572611 to your computer and use it in GitHub Desktop.
runescape combat
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
mage = 99.0 | |
defence = 80. | |
hp = 81.0 | |
prayer = 70.0 | |
attack = 80.0 | |
strength = 80. | |
rangeL = 1.0 | |
baseLevel = .25 * ( defence + hp + (prayer/2)) | |
wLevel = 13.0/40.0 * (attack + strength) | |
rLevel = 13.0/40.0 * ((3/2) + rangeL) | |
mLevel = 13.0/40.0 * ((3.0/2.0) + mage) | |
print max(wLevel, mLevel, rLevel) + baseLevel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment