Thread: Brews

Results 1 to 7 of 7
  1. #1 Brews 
    Registered Member
    Join Date
    Jan 2009
    Posts
    525
    Thanks given
    1
    Thanks received
    8
    Rep Power
    29
    Trying to make brews heal you to 117 if your over 95 hp.

    potions.java:546: not a statement
    c.ifPlayerLevel[3] >= 95;
    ^
    potions.java:549: not a statement
    c.ifPlayerLevel[3] <= 95;
    ^
    2 errors
    Finished!
    Tryck ned valfri tangent för att fortsätta...
    Code:
    c.ifPlayerLevel[3] >= 95;
    c.playerLevel[3] = 117;
    c.currentHealth += 16;
    c.ifPlayerLevel[3] <= 95;
    c.currentHealth += 16;
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Feb 2009
    Posts
    318
    Thanks given
    3
    Thanks received
    9
    Rep Power
    0
    c.ifPlayerLevel[3] >= 99;
    c.playerLevel[3] = 117;
    c.currentHealth += 16;
    c.ifPlayerLevel[3] <= 99;
    c.currentHealth += 16;
    Try that now (EDIT)
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2009
    Posts
    525
    Thanks given
    1
    Thanks received
    8
    Rep Power
    29
    No that 2nd code makes it go to 117 but not imeaditaly. It will heal 16 up to 117


    And kids wtf! Gtfo my thread noob
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Feb 2009
    Posts
    318
    Thanks given
    3
    Thanks received
    9
    Rep Power
    0
    Re-edit my post ,im not sure if this will work..
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2009
    Posts
    525
    Thanks given
    1
    Thanks received
    8
    Rep Power
    29
    Same error. It's < n >'s that there's a problem with.
    Reply With Quote  
     

  6. #6  
    Member Brews Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    You do know Saradomin Brew only heals to 115 on real rs if you're 99 HP?

    Attached imageAttached image
    Reply With Quote  
     

  7. #7  
    Registered Member Jukk's Avatar
    Join Date
    Oct 2006
    Age
    31
    Posts
    1,881
    Thanks given
    0
    Thanks received
    18
    Rep Power
    436
    Code:
    if (c.PlayerLevel[3] >= 95) {
    c.playerLevel[3] = 117;
    } else {
    c.currentHealth += 16;
    }
    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

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