Changeset 219
MASSIVE UPDATE - YOU NEED TO USE JDK 7 FROM NOW.
Well it's a really huge update. JDK 7 is now needed. Ty xblx for the libs update.
GENERAL
- Updates of all existing libs, leading to heavy changes (mainly Trove-based codes).
- Update of base64 code.
- Update of internal Java-engine (scripts engine) which needs JDK 7.
- build.xml will now check if you use JDK 7 or no. If no, build will fail, and an error message will invite you to dl latest JDK.
- Addition of L2TIntObjectHashMap on util.
NCPS RELATED
- NpcTable code is fully reworked, utilitary "getters" aswell. More infos on GS start aswell.
- update of npcskills (ty to old DiNoR rework), using L2OFF values. Changes are huge and correct known issues (ex : Prismeval island) :
- active skills => from 15894 skills, it now loads 20844 skills.
- passive skills => 7k~ skills added.
- L2NpcTemplate values are now private. Creation and use of "getters". Addition of isType("").
- Aggro value is now loaded from AI (instead of npc.sql). All aggro ranges > 1 and < 500 have been changed for 500.
- Sieges guards AI has been updated.
- overhit flag is reseted when the L2Attackable dies.
- creation of _staticAIData on L2Npc, which avoids to refer to template each time.
PETS && SUMMONS RELATED
- Baby pets are fully reworked (addition of conditions such as mp consumption, pet mental behavior (betrayed, blabla), etc).
- Tamed beasts got a little update, as getSkillsArray() exist now.
- Levels of pets skills are now correctly calculated. It can use lvl 1-12 skills levels following pet level.
- fix an issue about items consumption @ SiegeSummon, leading to "ghosts" summons. Ty xblx for fix.
- if you try to use a skill than a summon should have but haven't, it shows you the missing skillId to add on npcskills.
- When you try to use a pet skill but difference of lvl is > 20, you can't control the pet.
MISC
- Harvest/Sow skillhandlers are reworked, and Seed system too.
- addition of _skillMaxLevel in SkillTable, preloading max level of skills in a map for future uses (before it was made on the fly).
- orc mages are now considered as mages, not as fighters anymore (should fix the SpellForce issue).
- fix Orfen messages for retail ones.
- Correction of a couple of items. Ty SweeTs for patch, it is *untested* but should work at first look.
I'm aware there's an issue about pets. HP/MP are not working as intented (not readed from PetDataTable). It leads to problems like a lvl 15 wolf got same HPs than a lvl 55 one, or a pet can't use properly a skill because asked MP consumption for skill use is higher than maxMP. Others stats are correctly working.