View Poll Results: 1 or 2?

Voters
5. You may not vote on this poll
  • 1

    4 80.00%
  • 2

    1 20.00%

Thread: whats better for dh effect? (the code)

Results 1 to 8 of 8
  1. #1 whats better for dh effect? (the code) 
    Member

    Join Date
    Nov 2008
    Age
    27
    Posts
    4,859
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    1.

    Code:
    // Dharoks effect
    		if(c.playerEquipment[c.playerWeapon] == 4718 && c.playerEquipment[c.playerHat] == 4716 && c.playerEquipment[c.playerChest] == 4720 && c.playerEquipment[c.playerLegs] == 4722) {
    				maxHit += (c.getPA().getLevelForXP(c.playerXP[3]) - c.playerLevel[3]) / 2;
    		}



    2.

    Code:
    if(FullDEquipped() && Misc.random(2)==1 && c.playerLevel[3] > 80 && c.playerLevel[3] < 100){
    int damage = Misc.random(8+calculateMeleeMaxHit());
    
    }
    if(FullDEquipped() && Misc.random(2)==1 && c.playerLevel[3] > 60 && c.playerLevel[3] < 79){
    int damage = Misc.random(18+calculateMeleeMaxHit());
    
    }
    if(FullDEquipped() && Misc.random(2)==1 && c.playerLevel[3] > 40 && c.playerLevel[3] < 59){
    int damage = Misc.random(28+calculateMeleeMaxHit());
    
    }
    if(FullDEquipped() && Misc.random(2)==1 && c.playerLevel[3] > 20 && c.playerLevel[3] < 39){
    int damage = Misc.random(38+calculateMeleeMaxHit());
    
    }
    if(FullDEquipped() && Misc.random(2)==1 && c.playerLevel[3] > 0 && c.playerLevel[3] < 18){
    int damage = Misc.random(58+calculateMeleeMaxHit());
    
    }
    Reply With Quote  
     

  2. #2  
    Watching Anime 24/7
    Aimi Haraguni's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    325
    Thanks given
    7
    Thanks received
    6
    Rep Power
    45
    I recon 2 becuase the code looks so much neater
    but saying that number one is using less space
    Reply With Quote  
     

  3. #3  
    RuneFatality

    Join Date
    May 2009
    Age
    27
    Posts
    2,350
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    Quote Originally Posted by eaten View Post
    I recon 2 becuase the code looks so much neater
    but saying that number one is using less space
    It's a shit load of if statements?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Ninja assassin's Avatar
    Join Date
    Oct 2008
    Posts
    1,961
    Thanks given
    217
    Thanks received
    115
    Rep Power
    77
    1. = sexy
    Btc: 1tpWTbAznzWYh6YpoUJeQ3MDVK56GGJ
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,253
    Thanks given
    1,145
    Thanks received
    909
    Rep Power
    2081
    1 because it uses conventions.
    Reply With Quote  
     

  6. #6  
    PokeNation! Xaves's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    3,476
    Thanks given
    356
    Thanks received
    788
    Rep Power
    646
    bunch of idiots, its not about how it looks, it must be effective..

    and the answer is none of them..

    Tip.it RuneScape Help :: Max Hit Calc :: The Original RuneScape help site! and check the jscripts
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,253
    Thanks given
    1,145
    Thanks received
    909
    Rep Power
    2081
    Quote Originally Posted by Xaves View Post
    bunch of idiots, its not about how it looks, it must be effective..

    and the answer is none of them..

    Tip.it RuneScape Help :: Max Hit Calc :: The Original RuneScape help site! and check the jscripts
    It says "the code" I don't give a shit if he meant max hit he should of said that lol.
    Reply With Quote  
     

  8. #8  
    Express Yourself

    Join Date
    Nov 2007
    Posts
    758
    Thanks given
    4
    Thanks received
    10
    Rep Power
    63
    1st one.
    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. Whats wrong with this code?
    By Envy in forum Help
    Replies: 7
    Last Post: 10-12-2010, 03:46 AM
  2. Whats wrong with this code?
    By Envy in forum Help
    Replies: 5
    Last Post: 10-12-2010, 03:15 AM
  3. Whats wrong with this code?
    By The Situationist in forum Help
    Replies: 0
    Last Post: 08-22-2010, 04:16 AM
  4. Whats wrong with this code?
    By 2ndOfMay in forum Application Development
    Replies: 9
    Last Post: 08-15-2010, 08:01 AM
  5. Whats wrong with this code?
    By Ken in forum Application Development
    Replies: 7
    Last Post: 11-19-2009, 10:47 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •