Thread: adding Strykewyrms [pi]

Results 1 to 3 of 3
  1. #1 adding Strykewyrms [pi] 
    Registered Member
    Join Date
    Dec 2009
    Posts
    27
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    im currently wanting to add strykewyrms to my server.

    currently i need to have the npc 9462 spawned which has a first click option of "investigate"
    so when you investigate the mound, it needs to spawn the npc 9463. how can i do this ?

    i have also a few easy questions to ask..
    as although i have added the attackemote into npchandler.java , the npc still glitches when they attack a player, since my deathemote is working and i added it the same way, i have no clue why it wont work.

    if you could help with any or all of these problems id be very thankfull
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2008
    Posts
    22
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    bump
    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
    Find
    Code:
    public static int getAttackEmote(int i) {
    Added
    Code:
    case 9463:
    case 9465:
    case 9467:
    return 12791;
    Find
    Code:
    public int getDeadEmote(int i) {
    Added
    Code:
    			
                            case 9463:
    			case 9465:			
    			case 9467:
    			return 12793;
    Code:
    			case 9463:
    				random = Misc.random(5);
    				if (random <= 4)
    					npcs[i].attackType = 0;
    				else {
    				c.freezeTimer = 20;
    				npcs[i].attackType = 2;
    				c.sendMessage("The Strykewyrm used his Ice Bite and froze you!");
    				}
    				break;
    			case 9467:
    				random = Misc.random(5);
    				if (random <= 4)
    					npcs[i].attackType = 0;
    				else {
    				if(c.poisonDamage <= 0) {
    				c.getPA().appendPoison(12);
    				npcs[i].attackType = 2;
    				c.sendMessage("The Strykewyrm used his Poison Bite and poisened you!");
    				}
    				}
    			case 9465:
    				random = Misc.random(5);
    				if (random <= 4)
    					npcs[i].attackType = 0;
    				else {
    				c.playerLevel[5] -= (c.playerLevel[5] * .22);
    				npcs[i].attackType = 2;
    				c.sendMessage("The Strykewyrm drained your Prayer points!");
    				c.getPA().refreshSkill(5);
    				}
    				break;
    Distance required to attack
    Code:
    			case 9463:
    			case 9465:
    			case 9467:
    			return 2;
    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. Strykewyrms
    By xnosafepkx in forum Help
    Replies: 15
    Last Post: 06-18-2011, 10:26 PM
  2. need ice strykewyrms ID
    By eskrow in forum Requests
    Replies: 6
    Last Post: 03-12-2011, 07:47 PM
  3. [REQ]strykewyrms ID[REQ]
    By tehGanjaman in forum Requests
    Replies: 4
    Last Post: 02-26-2011, 07:28 PM
  4. [PI] Ice Strykewyrms
    By CASHMAGE in forum Help
    Replies: 4
    Last Post: 02-08-2011, 07:09 PM
  5. strykewyrms gfx help!
    By Monster in forum Help
    Replies: 6
    Last Post: 01-21-2011, 12:08 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •