L2JMobius

Public Development => Solved/Invalid Bug Reports => Topic started by: bim on March 19, 2022, 02:29:31 PM

Title: pets skill
Post by: bim on March 19, 2022, 02:29:31 PM
skills do not work for pets, you click on the skill, it does not work
Title: Re: pets skill
Post by: Mobius on March 24, 2022, 05:35:43 PM
Try older branches.
Title: Re: pets skill
Post by: mrk on May 02, 2022, 04:07:06 PM
skills do not work for pets, you click on the skill, it does not work

Patch:
https://www.mediafire.com/file/rtigzimwc837jop/fix_pet_skill_use.patch/file (https://www.mediafire.com/file/rtigzimwc837jop/fix_pet_skill_use.patch/file)

You also need to insert the pet skill(s) handler in game/data/ActionData.xml like this changing UNIQUE_ID AND PET_SKILL_ID:

<action id="UNIQUE_ID" handler="PetSkillUse" option="PET_SKILL_ID" />

And in game/data/stats/pets/YOUR_PET.xml add the skill(s):

<skill minLevel="MIN_LEVEL" skillId="PET_SKILL_ID" skillLevel="LEVEL" />

These last two steps only in case these settings are missing.

Title: Re: pets skill
Post by: Mobius on May 02, 2022, 04:13:10 PM
Fixed on subscriber version.
Took various code changes to make them work.