Thread: [PI] Godwars help (simple)

Results 1 to 4 of 4
  1. #1 [PI] Godwars help (simple) 
    Banned

    Join Date
    Oct 2009
    Posts
    734
    Thanks given
    168
    Thanks received
    54
    Rep Power
    0
    Ok so I want to do something pretty simple, I want to make it so that the arma boss and his minions cannot be attacked with melee (becuase they are flying npcs and melee shouldn't work on them, I believe runescape is like this too).

    So please write it for me, I tried for like an hour and just couldn't get it...

    Heres my combatassistant class:

    Rune-Server Official Pastebin
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2009
    Posts
    734
    Thanks given
    168
    Thanks received
    54
    Rep Power
    0
    bumppppppp
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2009
    Posts
    734
    Thanks given
    168
    Thanks received
    54
    Rep Power
    0
    bump
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Age
    27
    Posts
    2,528
    Thanks given
    544
    Thanks received
    584
    Rep Power
    411
    Here you go

    Add this in the void attackNpc

    Code:
    				if (armaNpc(i) && !usingCross && !usingBow && !c.usingMagic && !usingCrystalBow() && !usingOtherRangeWeapons) {				
    					resetPlayerAttack();
    					return;
    				}
    Thn add this somewhere

    Code:
    	public boolean armaNpc(int i) {
    		switch (Server.npcHandler.npcs[i].npcType) {
    			case 2558:
    			case 2559:
    			case 2560:
    			case 2561:
    			return true;	
    		}
    		return false;	
    	}
    Reply With Quote  
     

  5. 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. How do i do Godwars
    By R4nger 0wnz in forum Help
    Replies: 3
    Last Post: 07-20-2010, 06:15 PM
  2. [Emulous] Simple Godwars
    By R&R' in forum Tutorials
    Replies: 6
    Last Post: 08-30-2009, 03:51 PM
  3. A simple question requires a simple answer!
    By Matt_ in forum RS2 Server
    Replies: 2
    Last Post: 12-23-2007, 12:10 AM
  4. Replies: 14
    Last Post: 12-13-2007, 12:39 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
  •