2010-10-03, 12:33 PM
Fiel Wrote:I don't know what language you're using to pump this stuff out, but putting in hitboxes is very easy:
Code:[noparse]
rangeURL = 'http://www.southperry.net/maplerange.php?ltx=%s<y=%s&rbx=%s&rby=%s&size=1024'
def GetRangeName(rangeURL, rangeDict)
if self.rangeDict['lt.x'] == '0':
#int makes it a number. abs() makes it positive, then str transforms it back to a string
nameRange = str(abs(int(rangeDict['rb.x'])))
else:
nameRange = str(abs(int(rangeDict['lt.x'])))
return Format.Link(GetRangeURL(), nameRange + '% Range')
#returns "[url=ARGUMENT_1]ARGUMENT_2[/url]"
#GetRangeURL() transforms the variable "rangeURL" into the url for the hitbox
[/noparse]
I'm using Perl, but that should be easy enough. Thanks!
kruimel0 Wrote:Jesus amazing...
Just some very minor things I saw:
Add %s at Chance Attack (Crusader)
Something's wrong with Dark Force (30 When HP is greater than -150%, +60% damage, Dragon Crusher attacks increased by 1...?)
It's a very good sort-of-guide anyways. Nicely done!
That's what I get for putting 80-2x instead of 80-2*x

