Thread: Nex Minion Combat Script 718/742

Results 1 to 6 of 6
  1. #1 Nex Minion Combat Script 718/742 
    Owner of Runixscape
    Aviansie's Avatar
    Join Date
    Mar 2014
    Posts
    230
    Thanks given
    74
    Thanks received
    4
    Rep Power
    0
    Dear rune-server,
    I am requesting a nex minion combat script, not the NexMinion.java NPC class, I'm requesting a class for the combat script specifically since I know most servers lack it.

    Additionally, I here will provide source code for proper animations/game messages for nex minions that were left out of the one from matrix 718/742

    Code:
    @Override
    	public void handleIngoingHit(Hit hit) {
    		if (!hasNoBarrier && hit.getSource() instanceof Player) {
    			setNextGraphics(new Graphics(1549));
    			((Player)hit.getSource()).getPackets().sendGameMessage("The avatar is not weak enough to damage this minion.");
    			hit.setDamage(0);
    		} else
    			super.handleIngoingHit(hit);
    	}
    Reply With Quote  
     

  2. #2  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    1) You can completely remove the 'else' in the small piece of code you provided.
    2) As far as I know, the minions don't really have any complex enough attacks for them to require a combat script. Correct me if I'm wrong here, should be basic one-type attacks which you can define in combat definitions.
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2015
    Age
    24
    Posts
    1,980
    Thanks given
    334
    Thanks received
    1,051
    Rep Power
    5000
    Aren't they just using autoattacks?
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Mar 2011
    Age
    27
    Posts
    555
    Thanks given
    168
    Thanks received
    190
    Rep Power
    0
    I believe they healed nex when they hit, not sure
    Avalon Developer
    Reply With Quote  
     

  5. #5  
    Registered Member Seeker's Avatar
    Join Date
    May 2017
    Age
    27
    Posts
    17
    Thanks given
    4
    Thanks received
    3
    Rep Power
    11
    I don't believe that they had corresponding combat scripts but I do know that the animation is using magic (17401), and the death animation is 17402.
    Reply With Quote  
     

  6. #6  
    Developer


    Join Date
    Aug 2012
    Posts
    2,493
    Thanks given
    180
    Thanks received
    1,732
    Rep Power
    2487
    if u put effort into making an attempt urself and post it here then i'll put some effort into searching for my old 718 and giving u what ur searching for (because iirc i wrote nex entirely myself on that one)
    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. Nex minions bug [718/742]
    By Inoxent in forum Help
    Replies: 2
    Last Post: 03-23-2017, 06:46 AM
  2. Replies: 0
    Last Post: 03-13-2014, 07:14 AM
  3. Abyssall Demon Combat Script 718
    By Ozora in forum Requests
    Replies: 1
    Last Post: 01-18-2014, 05:49 PM
  4. Nex Minions? [718/742]
    By dirty dan420 in forum Help
    Replies: 2
    Last Post: 01-07-2014, 01:25 AM
  5. Replies: 21
    Last Post: 06-04-2013, 07:22 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •