Package ai.incubatorOfEvil

Source Code of ai.incubatorOfEvil.Avanguard_Ellia

package ai.incubatorOfEvil;

import lineage2.commons.util.Rnd;
import lineage2.gameserver.ai.DefaultAI;
import lineage2.gameserver.model.instances.NpcInstance;
import lineage2.gameserver.network.serverpackets.components.NpcString;
import lineage2.gameserver.scripts.Functions;

/**
* @author Iqman
*/
public class Avanguard_Ellia extends DefaultAI
{
  public Avanguard_Ellia(NpcInstance actor)
  {
    super(actor);
  }

  @Override
  public boolean isGlobalAI()
  {
    return false;
  }

  @Override
  protected boolean thinkActive()
  {
    NpcInstance actor = getActor();
    if(Rnd.chance(8))
    {
      Functions.npcSay(actor, NpcString.MY_SUMMONS_ARE_NOT_AFRAID_OF_SHILENS_MONSTER);
    }
    return false;
  }
}
TOP

Related Classes of ai.incubatorOfEvil.Avanguard_Ellia

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.