Thread: barrows....

Results 1 to 3 of 3
  1. #1 barrows.... 
    Jddogg9
    Guest
    okay.. i'm adding barrows and i start thinking.. what if i made dh hit higher and other barrows hit higher ..

    but i don't know how to change what the barrows hit.... my friend said it was in npchandler.java but i couldn't find it...

    any ideas...?
     

  2. #2  
    Austin_
    Guest
    I found out that if you make a npc aggressive, it tends to hit higher... >.> Otherwise, Check NPCHANDLER.JAVA.
     

  3. #3  
    Registered Member
    Join Date
    Aug 2008
    Posts
    56
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    Yes it is in NPCHandler.

    Go in there and find:

    Code:
    public boolean AttackNPC(int NPCID) {
    You should see some stuff like this
    Code:
    if(npcs[NPCID].npcType == 1605) {
    	npcs[NPCID].animNumber = 386; // drags: abberant spector death ( YAY )
    }
    Then add:

    Code:
    if (npcs[NPCID].npcType == XXXX) {
    		hitDiff = 6 +misc.random(45);
    	}
    Ok so XXXX is the ID of the npc (Dh is 2026).
    So it says he will always hit a min of 6 + anything from 1 - 45.

    Thats about it. Just add for all of the brothers.
     


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
  •