Thread: Make an NPC attack like a Blue Dragon/KBD

Results 1 to 2 of 2
  1. #1 Make an NPC attack like a Blue Dragon/KBD 
    Registered Member Innovator's Avatar
    Join Date
    Jul 2011
    Posts
    270
    Thanks given
    63
    Thanks received
    21
    Rep Power
    23
    Hey guys,

    I've searched countless of times, but how can I make it so a certain NPC attacks like a blue dragon or KBD.

    I added Frost Dragons and everything works fine except its attack styles.

    Help appreciated.

    edit: got it, u can close
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jul 2010
    Posts
    15
    Thanks given
    2
    Thanks received
    1
    Rep Power
    1
    go no

    npchandler.java and add this case #of npc:
    random = Misc.random(1);
    if (random == 1) {
    npcs[i].attackType = 0;
    } else {
    npcs[i].forceChat("You will never defeat me!");
    npcs[i].attackType = 1;
    npcs[i].forceChat("Taste my Wrath!");
    npcs[i].attackType = 2;
    }
    break;
    "attacktype is eaither 0-melee, 1-range, 2-mage, that should work
    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. [REQUEST] 508 baby blue dragon map data
    By ciubas in forum Requests
    Replies: 3
    Last Post: 05-16-2009, 08:24 AM
  2. red/blue dragon plates
    By Assassin2 in forum Models
    Replies: 11
    Last Post: 09-22-2008, 01:53 PM
  3. Blue Dragon - No Models Sorry
    By ThatGuyGlazed in forum Configuration
    Replies: 2
    Last Post: 08-25-2008, 09:03 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
  •