Thread: Dragonfire Shield Special attack request 718

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Dragonfire Shield Special attack request 718 
    Donator

    Join Date
    Mar 2012
    Posts
    530
    Thanks given
    27
    Thanks received
    22
    Rep Power
    0
    Need a dragonfire shield special attack for 718/742 rune-evo
    Reply With Quote  
     

  2. #2  
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    24
    Posts
    3,337
    Thanks given
    801
    Thanks received
    1,185
    Rep Power
    189
    I think its 6696 or a few numbers around that number and its matrix

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Mar 2012
    Posts
    530
    Thanks given
    27
    Thanks received
    22
    Rep Power
    0
    Quote Originally Posted by Santa Hat View Post
    I think its 6696 or a few numbers around that number and its matrix
    Explain how to add? I know 6696 is the animation.
    Reply With Quote  
     

  4. #4  
    Always 1 step In front Of the Rest!

    lol ftw lol's Avatar
    Join Date
    Nov 2008
    Age
    30
    Posts
    597
    Thanks given
    68
    Thanks received
    35
    Rep Power
    91
    emote 6695 when u recharge it and 6696 when u attack with it
    I Always do my best to make us progress
    Dont Ask Yes I'm French That Why I'm Not The Best In English!
    RuneScape is copyright © Jagex Ltd 1999-2014. RuneScape and Jagex are registered trademarks of Jagex Ltd.
    Orion is not affiliated with Jagex Ltd in any way and exists solely for educational purposes.

    Reply With Quote  
     

  5. #5  
    私はちょうど何が重要か

    Jae`'s Avatar
    Join Date
    Mar 2012
    Posts
    1,496
    Thanks given
    236
    Thanks received
    246
    Rep Power
    79
    I did it through PlayerCombat, you'd have to code it yourself... no one's going to give it to you for free.
    Reply With Quote  
     

  6. #6  
    I like your mom.
    frozenfart's Avatar
    Join Date
    Feb 2013
    Age
    30
    Posts
    169
    Thanks given
    9
    Thanks received
    10
    Rep Power
    11
    Dont listen to Jae. I have no clue why he is even commenting this thread, when he is obviously not helping anyone.

    Add this to InventoryOptionHandler.java

    Code:
     public static void DFS(Player player, final int slotId, final int itemId) {
    		if (itemId == 11283) {
    			player.out("You're shield has " +player.DFS+ " charges.");
    		} else {
    		}
    	}
    Add these two in Player.java

    Code:
    public void DfsSpec(final int shieldId) {
    		if (combatDefinitions.hasDfs()) {
    			
    		}
    			
    	}
    Code:
    public int DFS = 0;
    Add these two in PlayerCombat.java

    Code:
    if (player.getEquipment().getShieldId() == 11283 && player.DFS >= 1) {
    		player.setNextAnimation(new Animation(6696));
    		player.DFS--;
    		delayMagicHit(2, getMagicHit(player, getRandomMagicMaxHit(player, (5 * player.getSkills().getLevel(Skills.MAGIC)) - 180)));
    		player.out("BOOM OWNED!");
    		}
    Code:
     case 11283:
    				player.setNextAnimation(new Animation(6696));
    				player.DFS--;
    				target.setNextGraphics(new Graphics(1194));
    				delayNormalHit(
    						shieldId,
    						attackStyle,
    						getMagicHit(player, 50 + Utils.getRandom(100)),
    						getMagicHit(
    								player,
    								getRandomMaxHit(player, shieldId, attackStyle,
    										false, true, 1.1, true)));
    				break;
    Add this in Combat.java

    Code:
    public static boolean hasAntiDragProtection(Entity target) {
    		if (target instanceof NPC)
    			return false;
    		Player p2 = (Player) target;
    		int shieldId = p2.getEquipment().getShieldId();
    		if (shieldId == 11283) {
    		p2.setNextAnimation(new Animation(6695));
    		p2.DFS++;
    		}
    		return shieldId == 1540 || shieldId == 11283 || shieldId == 11284;
    	}
    	
    	public static boolean hasDragonFire(Entity target) {
    		if (target instanceof NPC)
    			return false;
    		Player p2 = (Player) target;
    		int shieldId = p2.getEquipment().getShieldId();
    		if (shieldId == 11283 && p2.DFS >= 1) {
    		p2.setNextAnimation(new Animation(6696));
    		p2.DFS--;
    		return true;
    		}
    		return shieldId == 11283;
    	}
    Add this to CombatDefinitions.java

    Code:
     public boolean hasDfs() {
    		return player.getEquipment().getShieldId() == 11283;
    	}
    Let me know if you are getting any errors and if im missing anything.
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2011
    Posts
    1,772
    Thanks given
    495
    Thanks received
    426
    Rep Power
    0
    Quote Originally Posted by frozenfart View Post
    Dont listen to Jae. I have no clue why he is even commenting this thread, when he is obviously not helping anyone.

    Add this to InventoryOptionHandler.java

    Code:
     public static void DFS(Player player, final int slotId, final int itemId) {
    		if (itemId == 11283) {
    			player.out("You're shield has " +player.DFS+ " charges.");
    		} else {
    		}
    	}
    Add these two in Player.java

    Code:
    public void DfsSpec(final int shieldId) {
    		if (combatDefinitions.hasDfs()) {
    			
    		}
    			
    	}
    Code:
    public int DFS = 0;
    Add these two in PlayerCombat.java

    Code:
    if (player.getEquipment().getShieldId() == 11283 && player.DFS >= 1) {
    		player.setNextAnimation(new Animation(6696));
    		player.DFS--;
    		delayMagicHit(2, getMagicHit(player, getRandomMagicMaxHit(player, (5 * player.getSkills().getLevel(Skills.MAGIC)) - 180)));
    		player.out("BOOM OWNED!");
    		}
    Code:
     case 11283:
    				player.setNextAnimation(new Animation(6696));
    				player.DFS--;
    				target.setNextGraphics(new Graphics(1194));
    				delayNormalHit(
    						shieldId,
    						attackStyle,
    						getMagicHit(player, 50 + Utils.getRandom(100)),
    						getMagicHit(
    								player,
    								getRandomMaxHit(player, shieldId, attackStyle,
    										false, true, 1.1, true)));
    				break;
    Add this in Combat.java

    Code:
    public static boolean hasAntiDragProtection(Entity target) {
    		if (target instanceof NPC)
    			return false;
    		Player p2 = (Player) target;
    		int shieldId = p2.getEquipment().getShieldId();
    		if (shieldId == 11283) {
    		p2.setNextAnimation(new Animation(6695));
    		p2.DFS++;
    		}
    		return shieldId == 1540 || shieldId == 11283 || shieldId == 11284;
    	}
    	
    	public static boolean hasDragonFire(Entity target) {
    		if (target instanceof NPC)
    			return false;
    		Player p2 = (Player) target;
    		int shieldId = p2.getEquipment().getShieldId();
    		if (shieldId == 11283 && p2.DFS >= 1) {
    		p2.setNextAnimation(new Animation(6696));
    		p2.DFS--;
    		return true;
    		}
    		return shieldId == 11283;
    	}
    Let me know if you are getting any errors and if im missing anything.

    Missing hasDfs method in combatdefinifions
    And shieldId playercombat
    Reply With Quote  
     

  8. #8  
    I like your mom.
    frozenfart's Avatar
    Join Date
    Feb 2013
    Age
    30
    Posts
    169
    Thanks given
    9
    Thanks received
    10
    Rep Power
    11
    Quote Originally Posted by RuneTwist View Post
    Missing hasDfs method in combatdefinifions
    And shieldId playercombat
    Updated !
    Thanks alot buddy.
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jul 2011
    Posts
    1,772
    Thanks given
    495
    Thanks received
    426
    Rep Power
    0
    Quote Originally Posted by frozenfart View Post
    Updated !
    Thanks alot buddy.
    What about the method

    "shieldId"
    My source doesn't seem to have it.
    Reply With Quote  
     

  10. #10  
    I like your mom.
    frozenfart's Avatar
    Join Date
    Feb 2013
    Age
    30
    Posts
    169
    Thanks given
    9
    Thanks received
    10
    Rep Power
    11
    Quote Originally Posted by RuneTwist View Post
    What about the method



    My source doesn't seem to have it.
    Sorry, you need to figure that one out alone :/ What source are you using if i may ask?
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. [718+] Dragonfire shield special attack? [REQ]
    By Chaos105 in forum Requests
    Replies: 0
    Last Post: 08-31-2013, 03:24 AM
  2. [718] Dragonfire Shield Special [REQ]
    By Lost Redemption in forum Requests
    Replies: 2
    Last Post: 06-03-2013, 10:37 PM
  3. Replies: 3
    Last Post: 11-22-2012, 02:03 AM
  4. Dragonfire Shield Special Attack
    By tucybro in forum Help
    Replies: 6
    Last Post: 10-27-2012, 12:30 PM
  5. Replies: 126
    Last Post: 08-30-2011, 01:13 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
  •