From c10168d5e6257f36718b600fffcd7e4840029dd2 Mon Sep 17 00:00:00 2001 From: Zoey76 <zoey_76@msn.com> Date: Thu, 7 Oct 2021 23:16:08 -0300 Subject: [PATCH] Fixed and updated skills to High Five Blessed Scroll of Resurrection: Pet (2179) Baby Food Skill (22126) --- src/main/resources/data/stats/skills/02100-02199.xml | 8 ++++---- src/main/resources/data/stats/skills/22100-22199.xml | 5 ++++- src/main/resources/data/xsd/skills.xsd | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/resources/data/stats/skills/02100-02199.xml b/src/main/resources/data/stats/skills/02100-02199.xml index 29fa16917a..f1f4f91b2c 100644 --- a/src/main/resources/data/stats/skills/02100-02199.xml +++ b/src/main/resources/data/stats/skills/02100-02199.xml @@ -1185,11 +1185,11 @@ <set name="operateType" val="A1" /> <set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" /> <set name="targetType" val="PC_BODY" /> - <cond msgId="113" addName="1"> - <target npcType="L2PetInstance" /> - </cond> <cond> - <player canResurrect="true" /> + <and> + <player companion="PET" /> + <player canResurrect="true" /> + </and> </cond> <effects> <effect name="Resurrection"> diff --git a/src/main/resources/data/stats/skills/22100-22199.xml b/src/main/resources/data/stats/skills/22100-22199.xml index ae2d6ca5ec..0c492658f7 100644 --- a/src/main/resources/data/stats/skills/22100-22199.xml +++ b/src/main/resources/data/stats/skills/22100-22199.xml @@ -630,7 +630,10 @@ <set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" /> <set name="targetType" val="TARGET" /> <cond msgId="109"> - <target npcId="1538" /> + <and> + <player companion="PET" /> + <target npcId="1538" /> + </and> </cond> </skill> <skill id="22127" levels="1" name="Summon Warm Kotatz"> diff --git a/src/main/resources/data/xsd/skills.xsd b/src/main/resources/data/xsd/skills.xsd index c17cac3205..1775f2cd58 100644 --- a/src/main/resources/data/xsd/skills.xsd +++ b/src/main/resources/data/xsd/skills.xsd @@ -107,6 +107,7 @@ <xs:attribute type="xs:string" name="canResurrect" /> <xs:attribute type="xs:string" name="canSweep" /> <xs:attribute type="xs:string" name="canSummonSiegeGolem" /> + <xs:attribute type="xs:string" name="companion" /> <xs:attribute type="xs:byte" name="invSize" /> <xs:attribute type="xs:byte" name="weight" /> <xs:attribute type="xs:byte" name="hp" /> -- GitLab