Thread: npc's use magic?

Results 1 to 4 of 4
  1. #1 npc's use magic? 
    Registered Member
    Edd -'s Avatar
    Join Date
    Jul 2011
    Posts
    664
    Thanks given
    62
    Thanks received
    43
    Rep Power
    84
    how can i make npc's use magic like the mage arena monsters?
    also how can i change the max hit of the spell there using

    im tryin to get ice trolls to use ice barrage
    repp+++ and thank
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    loadSpell method in NPCHandler, npcs[i].attackType = 2;,etc, theres alot fo examples in there you can work off
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Oct 2011
    Posts
    388
    Thanks given
    33
    Thanks received
    45
    Rep Power
    0
    Quote Originally Posted by relex lawl View Post
    loadSpell method in NPCHandler, npcs[i].attackType = 2;,etc, theres alot fo examples in there you can work off
    Goes in ActionHandler.java
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    Quote Originally Posted by Desupty View Post
    Goes in ActionHandler.java
    Reply With Quote  
     

  5. Thankful user:



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. Protect from Melee/Magic/Range on NPC's Improved
    By MrClassic in forum Snippets
    Replies: 11
    Last Post: 09-15-2011, 07:57 AM
  2. [508]Magic on non-attackable NPC'S
    By S3R0 in forum Help
    Replies: 1
    Last Post: 09-06-2011, 01:10 AM
  3. magic on npc's (switch statments)
    By joey. in forum Snippets
    Replies: 8
    Last Post: 06-08-2009, 11:24 PM
  4. Replies: 11
    Last Post: 03-24-2009, 10:43 AM
  5. Magic on NPC's Handler
    By elwappo08 in forum Tutorials
    Replies: 38
    Last Post: 02-17-2009, 03:35 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
  •