Thread: 317 [PI] Special

Results 1 to 7 of 7
  1. #1 317 [PI] Special 
    Proud Owner of Unleashed Reality
    317UnleashedReality's Avatar
    Join Date
    Jul 2012
    Age
    30
    Posts
    250
    Thanks given
    8
    Thanks received
    16
    Rep Power
    11
    how can I make a special hit 2 times?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    Find the code where your special does animation or gfx then in same method add:

    Code:
    c.doubleHit = true;
    Reply With Quote  
     

  3. #3  
    Proud Owner of Unleashed Reality
    317UnleashedReality's Avatar
    Join Date
    Jul 2012
    Age
    30
    Posts
    250
    Thanks given
    8
    Thanks received
    16
    Rep Power
    11
    I tried this but all it did was make 2 arrows go, the first hit never registered like it never came up, and the 2nd hit did.
    Reply With Quote  
     

  4. #4  
    Why are you looking here?


    Join Date
    Jul 2012
    Age
    30
    Posts
    3,214
    Thanks given
    830
    Thanks received
    357
    Rep Power
    559
    Quote Originally Posted by 317UnleashedReality View Post
    I tried this but all it did was make 2 arrows go, the first hit never registered like it never came up, and the 2nd hit did.
    Which weapon are you trying to make it for?dbow?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2011
    Posts
    359
    Thanks given
    10
    Thanks received
    9
    Rep Power
    10
    See if this helps you my friend
    Code:
    case 11235: // dark bow	
    			c.usingBow = true;
    			c.dbowSpec = true;
    			c.rangeItemUsed = c.playerEquipment[c.playerArrows];
    			c.getItems().deleteArrow();
    			c.getItems().deleteArrow();
    			c.lastWeaponUsed = weapon;
    			c.hitDelay = 3;
    			c.startAnimation(426);
    			c.projectileStage = 1;
    			c.gfx100(getRangeStartGFX());
    			c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase());
    			if (c.fightMode == 2)
    				c.attackTimer--;
    			if (c.playerIndex > 0)
    				fireProjectilePlayer();
    			else if (c.npcIndex > 0)
    				fireProjectileNpc();
    			c.specAccuracy = 1.75;
    			c.specDamage = 1.50;
    			break;
    		}
    		c.delayedDamage = Misc.random(calculateMeleeMaxHit());
    		c.delayedDamage2 = Misc.random(calculateMeleeMaxHit());
    		c.usingSpecial = false;
    		c.getItems().updateSpecialBar();
    	}
    Reply With Quote  
     

  6. #6  
    Proud Owner of Unleashed Reality
    317UnleashedReality's Avatar
    Join Date
    Jul 2012
    Age
    30
    Posts
    250
    Thanks given
    8
    Thanks received
    16
    Rep Power
    11
    Thanks (: Ill try it out.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2011
    Posts
    359
    Thanks given
    10
    Thanks received
    9
    Rep Power
    10
    Quote Originally Posted by 317UnleashedReality View Post
    Thanks (: Ill try it out.
    If you get it too work, please come and make it on my server .
    If anything though, I could give you the CombatAssistant.java and you could look through it.
    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. 317 real korasi special
    By Cody289 in forum Help
    Replies: 4
    Last Post: 06-15-2012, 10:40 PM
  2. special attacks [317 ]
    By kan savasci in forum Help
    Replies: 1
    Last Post: 03-30-2011, 04:00 AM
  3. Dragon Claw Special, 317
    By Ripvayne in forum Requests
    Replies: 0
    Last Post: 02-04-2011, 06:50 AM
  4. AGS special animation for 317
    By discipl3 in forum Requests
    Replies: 1
    Last Post: 03-02-2009, 01:37 AM
  5. 317 Dragon Hally Special
    By S a n t a Pk in forum Show-off
    Replies: 8
    Last Post: 02-22-2009, 01:28 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
  •