Thread: [PI] Wep Req. & Barrage

Results 1 to 5 of 5
  1. #1 [PI] Wep Req. & Barrage 
    Registered Member
    Join Date
    Jun 2009
    Posts
    254
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    1. How do you edit an item so that it has a requirement to weild like now my sara sword can be weilded at level 1 attack, I want to make it weild able only at level 70.

    2. How do you fix barrage in PI. When you barrage players its ok, but when you barrage NPCs, my character runs up to the NPC.
     

  2. #2  
    Registered Member
    Join Date
    Sep 2010
    Age
    29
    Posts
    430
    Thanks given
    11
    Thanks received
    19
    Rep Power
    23
    add this to itemassistant.java in the weapon requirements section:

    Code:
    		if(itemName.contains("saradomin sword")) {
    			c.attackLevelReq = 70;
    		}
    and are you autocasting barrage (ie an ancient staff)? because if you autocast ancients your character won't run over to the npc but if you just free cast it, then your character will run up to the npc and try to attack with melee.
     

  3. #3  
    Registered Member
    Join Date
    Mar 2010
    Posts
    1,011
    Thanks given
    2
    Thanks received
    4
    Rep Power
    11
    Yea, I noticed that too. Is there anyway to make the manual cast not run up to it?
    Looking to join a team of developers* to work on a RSPS.
    Will put in time and effort for the project.

    * Developers must have basic understanding of Java. I would love to work and learn from experts, but it's rare that they would want to work with someone that isn't on the same level as them.
     

  4. #4  
    Registered Member
    Join Date
    Dec 2010
    Posts
    172
    Thanks given
    3
    Thanks received
    2
    Rep Power
    1
    when u barrage or range or something its becouse u dont fixed the distance between a npc and a player. just search for like npc distance PI
     

  5. #5  
     


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
  •