Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Big Bang] Adventurer Skill Tables/Notes
#23
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&lty=%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]
Reply


Messages In This Thread
[Big Bang] Adventurer Skill Tables/Notes - by Fiel - 2010-10-03, 12:09 PM
[Big Bang] Adventurer Skill Tables/Notes - by 0^2 - 2010-10-13, 09:48 PM
[Big Bang] Adventurer Skill Tables/Notes - by 0^2 - 2010-10-14, 11:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)