Thread: 317 PI How can i change the speed that a npc can attack with?

Results 1 to 6 of 6
  1. #1 317 PI How can i change the speed that a npc can attack with? 
    Registered Member
    Join Date
    Jul 2013
    Posts
    80
    Thanks given
    9
    Thanks received
    3
    Rep Power
    11
    Is there anyway for me to speed up the ticks that a specific npc can attack with?
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,472
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by loliepopcool View Post
    Is there anyway for me to speed up the ticks that a specific npc can attack with?
    speed up the ticks? you mean like how the server cycles every 600ms, or

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2013
    Posts
    80
    Thanks given
    9
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Eclipse View Post
    speed up the ticks? you mean like how the server cycles every 600ms, or
    No, i mean like so that i can make an npc attack as fast as an blowpipe does for example
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2013
    Posts
    181
    Thanks given
    9
    Thanks received
    14
    Rep Power
    0
    you can change it in npchandler.java
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2013
    Posts
    80
    Thanks given
    9
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by janceboy View Post
    you can change it in npchandler.java
    O what should i add code wise?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2013
    Posts
    181
    Thanks given
    9
    Thanks received
    14
    Rep Power
    0
    Search for
    Code:
    public int getNpcDelay(int i) {
    and add
    Code:
    case XXXX:
    			if (npcs[i].attackType == attacktype 1-3)
    				return "speed of attack";
    Reply With Quote  
     

  7. Thankful user:



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: 9
    Last Post: 10-23-2011, 08:46 AM
  2. Replies: 1
    Last Post: 08-14-2011, 08:36 PM
  3. Replies: 1
    Last Post: 05-11-2011, 02:36 PM
  4. Replies: 2
    Last Post: 09-10-2010, 11:08 PM
  5. Replies: 3
    Last Post: 07-10-2010, 09:07 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •