Results 1 to 4 of 4

Thread: Small Update To Agility.scar

  1. #1
    Join Date
    May 2007
    Location
    Sydney, Australia (Faggot Region)
    Posts
    1,465
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default Small Update To Agility.scar

    Code:
    //-----------------------------------------------------------------//
    //--               Scar Standard Resource Library                --//
    //-----------------------------------------------------------------//
    
    // * function GetCourseXP(Course : String) : Extended; //by Mad Cow
    
    {*******************************************************************************
    function GetCourseXP(Course: String): Extended;
    By: Mad Cow, Hobbit, Simtoon
    Description: Returns the experience for a certain agility course.
    *******************************************************************************}
    
    function GetCourseXP(Course: string): Extended;
    var
      CourseXP: Extended;
    begin
      case LowerCase(Course) of
        'agiliy dungeon ledge': CourseXP := 22.5;
        'gnome course': CourseXP := 86.5;
        'gnome course extra': CourseXP := 725;
        'barbarian course': CourseXP := 153.2;
        'barbarian course extra': CourseXP := 740.67;
        'werewolves course': CourseXP := 540;
        'penguin course': CourseXP := 540;
        'wilderness course': CourseXP := 571.4;
        'ape atoll course': CourseXP := 580;
        'agility pyramid': CourseXP := 1014;
        'dorgesh-kaan long(2)': CourseXP := 2750;
        'dorgesh-kaan long+grapple': CourseXP := 1429;
        'dorgesh-kaan grapple(2)': CourseXP := 108;
      end;
      Result := CourseXP;
    end;


  2. #2
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Committed
    STOP PM'ING ME

  3. #3
    Join Date
    May 2007
    Location
    Sydney, Australia (Faggot Region)
    Posts
    1,465
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    YAY first thing i ever made gets Committed


  4. #4
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Simtoon View Post
    YAY first thing i ever made gets Committed
    You should make more things then.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •