Skip to content
Snippets Groups Projects
Commit dcab7193 authored by Rumen Nikiforov's avatar Rumen Nikiforov
Browse files

BETA: ai scripts revise:

	* All scripts extending AbstractNpcAI instead of L2AttackableAIScript.
	* All static variables to upper-case.
	* All constructors moved just after variables and private instead of public.
	* Initiating script with new Script(Script.class.getSimpleName(), "ai") instead of new Script("Script", "ai")
	* Removed useless checks example addKillId(123) onKill() if (npc.getNpcId() == 123).
	* Moved registerMobs method into AbstractNpcAI.
	* L2AttackableAIScript is now final please do not extend it anymore.
	* Cleanup
parent e1ece59f
No related branches found
No related tags found
No related merge requests found
Showing
with 876 additions and 621 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment