package-info.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (C) 2004-2014 L2J DataPack
  3. *
  4. * This file is part of L2J DataPack.
  5. *
  6. * L2J DataPack is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * L2J DataPack is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. /**
  20. * Group Template AI:<br>
  21. * This folder contains AI scripts for group templates.<br>
  22. * That is, if many different mobs share the same behavior, a group AI script can be created for all of them.<br>
  23. * Such group templates ought to be here.<br>
  24. * <br>
  25. * Group templates can be sub-classed.<br>
  26. * In other words, a group may inherit from another group.<br>
  27. * For example, one group template might define mobs that cast spells.<br>
  28. * Another template may then define the AI for mobs that cast spells AND use shots.<br>
  29. * 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.<br>
  30. * <br>
  31. * "NPC registrations" refers to the addition of NPCs in the various events of the scripts, such as onAttack, onKill, etc.<br>
  32. * Those are done by using methods such as addKillId(..) etc.<br>
  33. * @see quests
  34. * @author Fulminus, Zoey76
  35. */
  36. package ai.group_template;