Thread: Making Verac's armor to help u kill KQ

Results 1 to 6 of 6
  1. #1 Making Verac's armor to help u kill KQ 
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    My code so far: (it doesnt have anything, to give hp or to hit more, yet because they are easy to add, but first i want the other things to work!)

    Code:
            public void WeakenNPC(int NPCID) {
    stillgfx(###, EnemyY, EnemyX);
    sendMessage("Your armor weakens the enemy!");
    updateRequired = true; //just updates the void
    appearanceUpdateRequired = true;
    	}
    (the WeakenNPC void, will be modified to give u bonuses)

    Code:
    public void verac()	
    {
    WeakenNPC(1153);//Kalph worker		
    }
    (this is the void, which you put NPC ids, what you want the weakenNPC work)

    Code:
    if (playerEquipment[playerHat] == 4753 && playerEquipment[playerChest] == 4757 && 
    
    playerEquipment[playerLegs] == 4759 && playerEquipment[playerWeapon] == 4755)
    {
    PkingDelay = 6;
    wepdelay = 6;
    verac();
    }
    (this is just to make, it check the verac void, when u wear full verac)



    CAN ANY1 TELL ME WHY THIS DOESNT WORK!?!?!

    btw, dont say wrong npc id, because im testing this first on kalphite workers, to make it work and then just change the id for kalphite queen....
    Reply With Quote  
     

  2. #2  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
    Quote Originally Posted by mige5 View Post
    My code so far: (it doesnt have anything, to give hp or to hit more, yet because they are easy to add, but first i want the other things to work!)

    Code:
            public void WeakenNPC(int NPCID) {
    stillgfx(###, EnemyY, EnemyX);
    sendMessage("Your armor weakens the enemy!");
    updateRequired = true; //just updates the void
    appearanceUpdateRequired = true;
    	}
    (the WeakenNPC void, will be modified to give u bonuses)

    Code:
    public void verac()	
    {
    WeakenNPC(1153);//Kalph worker		
    }
    (this is the void, which you put NPC ids, what you want the weakenNPC work)

    Code:
    if (playerEquipment[playerHat] == 4753 && playerEquipment[playerChest] == 4757 && 
    
    playerEquipment[playerLegs] == 4759 && playerEquipment[playerWeapon] == 4755)
    {
    PkingDelay = 6;
    wepdelay = 6;
    verac();
    }
    (this is just to make, it check the verac void, when u wear full verac)



    CAN ANY1 TELL ME WHY THIS DOESNT WORK!?!?!

    btw, dont say wrong npc id, because im testing this first on kalphite workers, to make it work and then just change the id for kalphite queen....
    There are gfx's everytime you hit the KQ? i dont think so, let alone any at all.
    Reply With Quote  
     

  3. #3  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    i said this is not ready yet!!! and there reads i will modify it....
    Reply With Quote  
     

  4. #4  
    Donator
    Nightleaf's Avatar
    Join Date
    Apr 2008
    Posts
    440
    Thanks given
    7
    Thanks received
    18
    Rep Power
    75
    Make it check if the player is wearing the verac armor.

    for example:
    Code:
    } else if(npcs[NPCID].npcType == 1160 &&  plr.verac() == true){
    npcs[NPCID].animNumber = 1178;
    plr.specGFX(383);
    hitDiff = 0;
    
    } else if(npcs[NPCID].npcType == 1160 &&  plr.verac() == false){
    npcs[NPCID].animNumber = 1178;
    plr.specGFX(383);
    hitDiff = misc.random(60);
    Hope it helped.
    Reply With Quote  
     

  5. #5  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    thx gonna try it that way.. it looks good, so it is good change, that it works..
    Reply With Quote  
     

  6. #6  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    dont release things that arent done. and if u need help with it post in the requests section..
    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

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