Thread: Dark bow and Dragon claws pvp specs

Results 1 to 8 of 8
  1. #1 Dark bow and Dragon claws pvp specs 
    Registered Member
    Grant_'s Avatar
    Join Date
    Aug 2014
    Posts
    495
    Thanks given
    96
    Thanks received
    109
    Rep Power
    136
    Hello Rune-server, I noticed today that my Dark Bow special attack and Dragon Claw special attacks don't display the hit splats correctly. Not sure if this might be a client issue, if so I will get it moved to the client help section. Here are some pictures.

    Instead of 2 hit splats the Dark bow special only shows one.
    Attached image

    Instead of 4 hit splats the Dragon Claw special only shows two.
    Attached image

    Also, this only happens in PVP. It works fine on npc's.

    Cheers, Grant
    Attached image
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jul 2015
    Posts
    607
    Thanks given
    520
    Thanks received
    660
    Rep Power
    0
    Hey mate, it'd help if you posted some code, lol.
    How are the special attacks handled?
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Grant_'s Avatar
    Join Date
    Aug 2014
    Posts
    495
    Thanks given
    96
    Thanks received
    109
    Rep Power
    136
    Code:
    case 14484: // Dragon claws
    			c.startAnimation(10961);
    			c.usingClaws = true;
    			c.doubleHit = true;
    			c.specDamage = 1.95;
    			c.hitDelay = c.getCombat().getHitDelay(
    					i,
    					ItemAssistant.getItemName(c.playerEquipment[Player.playerWeapon])
    							.toLowerCase());
    			break;
    Code:
    case 11235:
    		case 15701:
    		case 15702:
    		case 15703:
    		case 15704: // dark bow
    			c.usingBow = true;
    			c.dbowSpec = true;
    			c.rangeItemUsed = c.playerEquipment[c.playerArrows];
    			c.getItems().deleteArrow();
    			c.getItems().deleteArrow();
    			if (c.playerIndex > 0) {
    				c.getItems().dropArrowPlayer();
    			} else if (c.npcIndex > 0) {
    				c.getItems().dropArrowNpc();
    			}
    			c.lastWeaponUsed = weapon;
    			c.hitDelay = 3;
    			c.startAnimation(426);
    			c.projectileStage = 1;
    			c.gfx100(c.getCombat().getRangeStartGFX());
    			c.hitDelay = c.getCombat().getHitDelay(
    					i,
    					ItemAssistant.getItemName(c.playerEquipment[Player.playerWeapon])
    							.toLowerCase());
    			if (c.fightMode == 2)
    				c.attackTimer--;
    			if (c.playerIndex > 0)
    				c.getCombat().fireProjectilePlayer();
    			else if (c.npcIndex > 0)
    				c.getCombat().fireProjectileNpc();
    			c.specAccuracy = 1.85;
    			c.specDamage = 1.65;
    			break;
    		}
    Attached image
    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Jul 2015
    Posts
    607
    Thanks given
    520
    Thanks received
    660
    Rep Power
    0
    For the dark bow, try adding this in the special attack;
    Code:
    c.doubleHit = true;
    Not sure about the claws lol, don't remember how Project Insanity handles 4 hits..
    Check playerupdating.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    793
    Thanks given
    204
    Thanks received
    176
    Rep Power
    173
    Quote Originally Posted by Psychotic View Post
    doubleHit is for the dragon dagger's special attack (the one that hits twice), as I said a lot of lazy developers just re-use this code for the claws.
    They then augment the damage output so special attack deals the equivalent of 4x damage in only 2 hits.

    This fucks claws up, since each of the 4 hits is meant to be calculated individually. For this reason, claws are massively OP on many PI servers.

    specEffect is an integer used to determine which extra actions a special attack should perform (e.g. Zamorak godsword freezing an enemy which is 2 in my source). Not sure why claws are using that.
    See the above quote, and the thread upon which the post it corresponds to resides.
    Reply With Quote  
     

  7. #6  
    Registered Member
    Grant_'s Avatar
    Join Date
    Aug 2014
    Posts
    495
    Thanks given
    96
    Thanks received
    109
    Rep Power
    136
    Quote Originally Posted by Psychotic View Post
    See the above quote, and the thread upon which the post it corresponds to resides.
    Quote Originally Posted by Swiffy View Post
    For the dark bow, try adding this in the special attack;
    Code:
    c.doubleHit = true;
    Not sure about the claws lol, don't remember how Project Insanity handles 4 hits..
    Check playerupdating.
    I went through and removed the doubleHit variable from the claws spec and It didn't effect anything negative or positive. It still 4 hits on npcs and 2 on players
    Attached image
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Dec 2011
    Posts
    793
    Thanks given
    204
    Thanks received
    176
    Rep Power
    173
    Quote Originally Posted by Grant_ View Post
    I went through and removed the doubleHit variable from the claws spec and It didn't effect anything negative or positive. It still 4 hits on npcs and 2 on players
    Find the code in your NPC attacking method that allows claws to hit four times. Replicate it in your player attacking method.
    Reply With Quote  
     

  9. #8  
    Registered Member
    Grant_'s Avatar
    Join Date
    Aug 2014
    Posts
    495
    Thanks given
    96
    Thanks received
    109
    Rep Power
    136
    Quote Originally Posted by Psychotic View Post
    Find the code in your NPC attacking method that allows claws to hit four times. Replicate it in your player attacking method.
    I searched the claws id. There are no cases of it in and NPC Class.
    Attached image
    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: 32
    Last Post: 09-23-2010, 02:28 PM
  2. [REQ] Dragon claws gfx spec
    By Purple in forum Models
    Replies: 2
    Last Post: 03-05-2010, 04:40 PM
  3. [Requesting] Dark bow and real ss spec models
    By karbon v2 in forum Requests
    Replies: 0
    Last Post: 01-24-2010, 09:58 PM
  4. Dark Bow And Claws.
    By rayzr in forum Requests
    Replies: 1
    Last Post: 07-25-2009, 12:58 AM
  5. [525] Dragon claw combat spec[525]
    By shimen123 in forum Requests
    Replies: 12
    Last Post: 03-22-2009, 03:25 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
  •