Thread: COuld someone please explain this - Agility class PI

Results 1 to 6 of 6
  1. #1 COuld someone please explain this - Agility class PI 
    Banned

    Join Date
    Jul 2011
    Age
    30
    Posts
    745
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    This is from one of the statements in the origional Project Insanity Agility class, Not to sure what this does, I undestand what it's meant to do, if that helps.

    Dont know if these methods help
    Code:
    private boolean[] gnomeCourse = new boolean[6];
    	private final int[] EXP = {8,8,5,8,5,8,8,39};
    	public void handleGnomeCourse(int object, int objectX, int objectY) {
    Code:
    c.getPA().addSkillXP(EXP[5] * Config.AGILITY_EXPERIENCE, c.playerAgility);
    I'm just trying to get a handle on the skill classes
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    i dont get what your asking for

    a boolean array, an int array and adding skill xp... ?
    Reply With Quote  
     

  3. #3  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Quote Originally Posted by ambientX View Post
    This is from one of the statements in the origional Project Insanity Agility class, Not to sure what this does, I undestand what it's meant to do, if that helps.

    Dont know if these methods help
    Code:
    private boolean[] gnomeCourse = new boolean[6];
    	private final int[] EXP = {8,8,5,8,5,8,8,39};
    	public void handleGnomeCourse(int object, int objectX, int objectY) {
    Code:
    c.getPA().addSkillXP(EXP[5] * Config.AGILITY_EXPERIENCE, c.playerAgility);
    I'm just trying to get a handle on the skill classes
    Code:
    c.getPA().addSkillXP(EXP[5] * Config.AGILITY_EXPERIENCE, c.playerAgility);
    That you need because as you can see it grabs the XP from the config class.

    The rest I'm not exactly sure whether they are needed.


    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2011
    Age
    30
    Posts
    745
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    Yeah I thought so :\ I'll work it out, but thnx peoples
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2011
    Posts
    812
    Thanks given
    195
    Thanks received
    60
    Rep Power
    129
    first time u click on it it gaves 8 xp X ur config.Agility
    2th time 8X config.Agility
    3th time 5X Config.Agility
    u get me?
    u cud just remove them all and hold like private final int[] EXP = {20};
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jul 2011
    Age
    30
    Posts
    745
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    Does this method look right?

    if (object == ### || object == ###) {
    if (object == #### && objectY > c.getY()) {
    c.startAnimation(844);
    c.getPA().movePlayer(c.getX(), c.getY() + #, #);
    c.getPA().addSkillXP(EXP[#] * Config.AGILITY_EXPERIENCE, c.playerAgility);
    }
    }
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 19
    Last Post: 05-25-2010, 02:22 PM
  2. Class20, Class 8, Class 5
    By Exion in forum Help
    Replies: 1
    Last Post: 05-23-2010, 07:20 PM
  3. Someone explain me...
    By Programmer Jeff in forum Application Development
    Replies: 12
    Last Post: 02-28-2010, 06:37 PM
  4. Which class is the object class?
    By Mr. Epic in forum Help
    Replies: 2
    Last Post: 12-22-2009, 12:58 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •