Jump to content

Reborn12

VIP Member
  • Posts

    2,393
  • Credits

  • Joined

  • Last visited

  • Days Won

    19
  • Feedback

    100%

Posts posted by Reborn12

  1. 1 minute ago, melron said:

    Nice one reborn ;)

     

    You could add a despawn in case they dont kill the next mob (this can be like the classic anti-bot protection where a mob appearing with 1kk p.def and 1kk p.atk :P )

     

    finally you can write your onKill like this

     

    
    	@Override
    	public String onKill(Npc npc, Player killer, boolean isPet)
    	{
    		switch (npc.getNpcId())
    		{
    			case 1009:
    			case 1010:
    			{
    				final Attackable newNpc = (Attackable) addSpawn(npc.getNpcId()+1, npc, true, 0, false);
    				attack(newNpc, killer);
    				break;
    			}	
    		}
    		return super.onKill(npc, killer, isPet);
    	}

     

    anyone can take it and do it what he wants..i was liked this way and i did this way...i like retails :P

  2. package net.sf.l2j.gameserver.scripting.scripts.ai.group;
    
    import net.sf.l2j.gameserver.model.actor.Attackable;
    import net.sf.l2j.gameserver.model.actor.Npc;
    import net.sf.l2j.gameserver.model.actor.instance.Player;
    import net.sf.l2j.gameserver.scripting.EventType;
    import net.sf.l2j.gameserver.scripting.scripts.ai.L2AttackableAIScript;
    
    /**
     * @author Reborn12
     *
     */
    public class PartyZonePolymorph extends L2AttackableAIScript
    {
    		private static final int[] MONSTER_IDS =
    		{
    			1009, //Stage 1 spawn
    			1010, //Stage 2 spawn
    			1011, //Stage 3 spawn
    		};
    		
    	public PartyZonePolymorph()
    	{
    		super("ai/group");
    	}
    	
    	@Override
    	protected void registerNpcs()
    	{
    		addEventIds(MONSTER_IDS, EventType.ON_KILL);
    	}
    	
    	@Override
    	public String onKill(Npc npc, Player killer, boolean isPet)
    	{
    	switch (npc.getNpcId())
    		{
    			case 1009:
    			{
    				final Attackable newNpc = (Attackable) addSpawn(1010, npc, true, 0, false);
    				attack(newNpc, killer);
     			 break;
    			}
    			case 1010:
    			{
    				final Attackable newNpc = (Attackable) addSpawn(1011, npc, true, 0, false);
    				attack(newNpc, killer);
      				break;
    			}
    				
    		}
    		return super.onKill(npc, killer, isPet);
    	}
    }

     

    • Thanks 2
  3. 25 minutes ago, Sahar said:

    Trust me I know, already accepted the fact that no matter what there will be people that won't be pleased, ever.

    But i'll keep working on the server and I got many stuff to do, working on a new set of events atm.

    Yes ofc do that...:p

  4. 29 minutes ago, Sahar said:

    A-grade because of donation? did you even try to play or you looked around and immediately rage quitted?
    A-grade was so cheap everyone could get it within a single day, and S-grade were locked for the start of the season so there were no S-grade donations either.
    But here you are, still whining because of A-grade gear, go check donations on other servers and then come back to me tell me again my donations are OP...

    Just dont reply to any noob sahar you dont need to..they want just all free no farm nothing to be hard and play...this is 2k18 community everyone have something to say even if he play this game for the first day..

  5. 7 hours ago, DarkHackTeam said:

    as the title refers im looking for one who its really skilled on doing balance on classees if your inesteresting leave me a msg via inbox with your skype name then i will contact you and having a conversation about $ and how we will do it. 

    Balance always depends on skills/formulas...if you have broken skills you will never do a good balance

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock