/* * Copyright (C) 2004-2015 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * L2J DataPack is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /** * Group Template AI:
* This folder contains AI scripts for group templates.
* That is, if many different mobs share the same behavior, a group AI script can be created for all of them.
* Such group templates ought to be here.
*
* Group templates can be sub-classed.
* In other words, a group may inherit from another group.
* For example, one group template might define mobs that cast spells.
* Another template may then define the AI for mobs that cast spells AND use shots.
* In that case, instead of rewriting all the attack and spell-use AI, we can inherit from the first group template, then add the new behaviors, and split up the NPC registrations appropriately.
*
* "NPC registrations" refers to the addition of NPCs in the various events of the scripts, such as onAttack, onKill, etc.
* Those are done by using methods such as addKillId(..) etc.
* @see quests * @author Fulminus, Zoey76 */ package ai.group_template;