Thread: Dragon Bolt(e) Effect [more accurate, works according to the real effect]

Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1 Dragon Bolt(e) Effect [more accurate, works according to the real effect] 
    ⚓Manic-Owner⚓


    Join Date
    Nov 2007
    Posts
    2,711
    Thanks given
    47
    Thanks received
    9
    Rep Power
    650
    Well I saw koed's and it didn't even work like the real one, so mine is better, but not exact, but it's close.
    Add:


    Code:
    public boolean usingDbolts() {
     if(playerEquipment[playerWeapon] == 837 && playerEquipment[playerArrows] == 881)
      {
       return true;
      }
     return false;			
    }

    under

    Code:
    if(FullGuthanEquipped()) {
    add
    Code:
    f(usingDbolts()){
    if(AttackingOn2.playerLevel[1] <= 30) {
    hitDiff = playerMaxHit/2 + playerMaxHit + playerMaxHit/4;
    }
    if(AttackingOn2.playerLevel[1] <= 45 && != 30) {
    hitDiff = playerMaxHit/3 + playerMaxHit + playerMaxHit/5;
    }
    if(AttackingOn2.playerLevel[1] >= 60 && != 45) {
    hitDiff = playerMaxHit/4 + playerMaxHit + playerMaxHit/6;
    }
    hitDiff = AttackingOn2.playerLevel[1]
    if (AttackingOn2.playerEquipment[AttackingOn2.playerShield] == 1540|| AttackingOn2.playerEquipment[AttackingOn2.playerShield]== 2621
    || AttackingOn2.ProtRange) {
    hitDiff /= 1.2;
    }
    stillgfx(446, EnemyY, EnemyX);
    }
    }
    Credit to koed. Bracket's may be off, fix that yourself if it is.
    MY DISCORD:
    bluejay#1504
    Reply With Quote  
     

  2. #2  
    Registered Wizard

    Jesse's Avatar
    Join Date
    Sep 2009
    Age
    29
    Posts
    5,119
    Thanks given
    1,519
    Thanks received
    1,148
    Rep Power
    5000
    nice 0.0



    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Aug 2008
    Posts
    2,823
    Thanks given
    362
    Thanks received
    448
    Rep Power
    965
    Code:
        if(usingDbolts()){
            if(AttackingOn2.playerLevel[1] <= 30) {
                hitDiff = playerMaxHit/2 + playerMaxHit + playerMaxHit/4;
            }
            if(AttackingOn2.playerLevel[1] <= 45 && != 30) {
                hitDiff = playerMaxHit/3 + playerMaxHit + playerMaxHit/5;
            }
            if(AttackingOn2.playerLevel[1] >= 60 && != 45) {
                hitDiff = playerMaxHit/4 + playerMaxHit + playerMaxHit/6;
            }
            hitDiff = AttackingOn2.playerLevel[1]
            if (AttackingOn2.playerEquipment[AttackingOn2.playerShield] == 1540|| AttackingOn2.playerEquipment[AttackingOn2.playerShield]== 2621 || AttackingOn2.ProtRange) {
                hitDiff /= 1.2;
            }
            stillgfx(446, EnemyY, EnemyX);
        }
    }
    Yw and this has too many brackets, will cause an error
    Reply With Quote  
     

  4. #4  
    ⚓Manic-Owner⚓


    Join Date
    Nov 2007
    Posts
    2,711
    Thanks given
    47
    Thanks received
    9
    Rep Power
    650
    Quote Originally Posted by 1337™ View Post
    Code:
        if(usingDbolts()){
            if(AttackingOn2.playerLevel[1] <= 30) {
                hitDiff = playerMaxHit/2 + playerMaxHit + playerMaxHit/4;
            }
            if(AttackingOn2.playerLevel[1] <= 45 && != 30) {
                hitDiff = playerMaxHit/3 + playerMaxHit + playerMaxHit/5;
            }
            if(AttackingOn2.playerLevel[1] >= 60 && != 45) {
                hitDiff = playerMaxHit/4 + playerMaxHit + playerMaxHit/6;
            }
            hitDiff = AttackingOn2.playerLevel[1]
            if (AttackingOn2.playerEquipment[AttackingOn2.playerShield] == 1540|| AttackingOn2.playerEquipment[AttackingOn2.playerShield]== 2621 || AttackingOn2.ProtRange) {
                hitDiff /= 1.2;
            }
            stillgfx(446, EnemyY, EnemyX);
        }
    }
    Yw and this has too many brackets, will cause an error
    ty i guess. and rune-server fucks up my convetions for some reason.
    MY DISCORD:
    bluejay#1504
    Reply With Quote  
     

  5. #5  
    Registered Wizard

    Jesse's Avatar
    Join Date
    Sep 2009
    Age
    29
    Posts
    5,119
    Thanks given
    1,519
    Thanks received
    1,148
    Rep Power
    5000
    well should keep it in there so ppl can learn them selves to fix cuz its all about learning



    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2008
    Posts
    2,084
    Thanks given
    1,908
    Thanks received
    1,053
    Rep Power
    5000
    Code:
    public boolean usingDbolts() {
    	if(playerEquipment[playerWeapon] == 837 && playerEquipment[playerArrows] == 881) {
       		return true;
      	}
     	return false;			
    }
    Code:
    if (FullGuthanEquipped()) {

    Code:
    if (usingDbolts()) {
    	if (AttackingOn2.playerLevel[1] <= 30) {
    		hitDiff = playerMaxHit/2 + playerMaxHit + playerMaxHit/4;
    	}
    	if (AttackingOn2.playerLevel[1] <= 45 && != 30) {
    		hitDiff = playerMaxHit/3 + playerMaxHit + playerMaxHit/5;
    	}
    	if (AttackingOn2.playerLevel[1] >= 60 && != 45) {
    		hitDiff = playerMaxHit/4 + playerMaxHit + playerMaxHit/6;
    	}
    	if (AttackingOn2.playerEquipment[AttackingOn2.playerShield] == 1540
    		|| AttackingOn2.playerEquipment[AttackingOn2.playerShield]== 2621
    		|| AttackingOn2.ProtRange) {
    		hitDiff /= 1.2;
    	}
    	hitDiff = AttackingOn2.playerLevel[1]
    	stillgfx(446, EnemyY, EnemyX);
    }

    Is it honestly that hard? >_>
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Quote Originally Posted by Jeff View Post
    Code:
    public boolean usingDbolts() {
    	if(playerEquipment[playerWeapon] == 837 && playerEquipment[playerArrows] == 881) {
       		return true;
      	}
     	return false;			
    }
    Code:
    if (FullGuthanEquipped()) {

    Code:
    if (usingDbolts()) {
    	if (AttackingOn2.playerLevel[1] <= 30) {
    		hitDiff = playerMaxHit/2 + playerMaxHit + playerMaxHit/4;
    	}
    	if (AttackingOn2.playerLevel[1] <= 45 && != 30) {
    		hitDiff = playerMaxHit/3 + playerMaxHit + playerMaxHit/5;
    	}
    	if (AttackingOn2.playerLevel[1] >= 60 && != 45) {
    		hitDiff = playerMaxHit/4 + playerMaxHit + playerMaxHit/6;
    	}
    	if (AttackingOn2.playerEquipment[AttackingOn2.playerShield] == 1540
    		|| AttackingOn2.playerEquipment[AttackingOn2.playerShield]== 2621
    		|| AttackingOn2.ProtRange) {
    		hitDiff /= 1.2;
    	}
    	hitDiff = AttackingOn2.playerLevel[1]
    	stillgfx(446, EnemyY, EnemyX);
    }

    Is it honestly that hard? >_>
    Code:
    public boolean usingDbolts() {
    	return playerEquipment[playerWeapon] == 837 && playerEquipment[playerArrows] == 881 ? true : false;		
    }
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Dec 2008
    Posts
    3,004
    Thanks given
    10
    Thanks received
    198
    Rep Power
    0
    Quote Originally Posted by Aeterna View Post
    Code:
    public boolean usingDbolts() {
    	return playerEquipment[playerWeapon] == 837 && playerEquipment[playerArrows] == 881 ? true : false;		
    }
    You dont need true or false at end. It is returning true to having the dbolts + the rune cbow in the first place.

    Also, the effect is lowered if the opponent is to be wearing a anti dragon shield or a dragonfire shield as the dbolts have the dragons breath effect.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2008
    Posts
    2,084
    Thanks given
    1,908
    Thanks received
    1,053
    Rep Power
    5000
    Quote Originally Posted by ~Vitiello~ View Post
    You dont need true or false at end. It is returning true to having the dbolts + the rune cbow in the first place.

    Also, the effect is lowered if the opponent is to be wearing a anti dragon shield or a dragonfire shield as the dbolts have the dragons breath effect.
    I know. But I was fixing his code. I don't have a right to change it lol.

    Get on MSN fatty.
    Reply With Quote  
     

  10. #10  
    Super Donator


    Join Date
    Sep 2008
    Age
    30
    Posts
    1,894
    Thanks given
    677
    Thanks received
    776
    Rep Power
    456
    looks bad
    Reply With Quote  
     

Page 1 of 3 123 LastLast

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
  •