Thread: Summoning Attack

Results 1 to 3 of 3
  1. #1 Summoning Attack 
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    How do i remove summon attack own owner?

    Example - When i summon my Spirit Terrorbird and i walk to wild area, My summon start to attack me. How do i remove it?
    Reply With Quote  
     

  2. #2  
    Registered Member Mikey's Avatar
    Join Date
    Apr 2011
    Posts
    751
    Thanks given
    570
    Thanks received
    32
    Rep Power
    40
    Code:
    	
    	public boolean isAggressive(int i) {
    		switch (npcs[i].npcType) {
    			case 3101:
    			case 3102:
    			case 3103:
    			case 3104:
    			case 50:
    			case 2554: 
    			case 2555:
    			case 2556:
    			case 2557:
    			case 2892:
    			case 2894:
    			case 2881:
    			case 2882:
    			case 2883:
    			case 1459:
    			case 1926:
    			return true;
    			}
    					
    		if (npcs[i].inWild() && npcs[i].MaxHP > 0)
    			return true;
    		if (isFightCaveNpc(i))
    			return true;
    		return false;
    	}
    Code:
    		
    		if (npcs[i].inWild() && npcs[i].MaxHP > 0)
    			return true;
    Could remove that to stop NPCs in wildy from attacking you or you could make something like that but with return false on the end and change some stuff around, can't be bothered thinking about how the exact code would be done atm but I'm sure it would be easy


    Reply With Quote  
     

  3. #3  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    how do i fix them?
    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. Summoning Familiars - Attack / Death emote id's
    By chri55w in forum Configuration
    Replies: 3
    Last Post: 06-14-2011, 05:11 AM
  2. Replies: 1
    Last Post: 05-06-2011, 02:38 AM
  3. Z508 Attack style giving summoning xp!
    By Ninja assassin in forum Help
    Replies: 7
    Last Post: 02-07-2010, 01:33 PM
  4. Replies: 31
    Last Post: 02-10-2008, 07:24 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
  •