From 56f535c23a3b06e759572818f26bbfa1ce613499 Mon Sep 17 00:00:00 2001 From: Adry_85 <Adrya85@hotmail.it> Date: Fri, 21 Mar 2014 10:31:53 +0000 Subject: [PATCH] BETA: Dp-part for [L6485]. --- .../scripts/handlers/EffectMasterHandler.java | 2 +- .../effecthandlers/HeadquarterCreate.java | 2 +- .../game/data/stats/items/02500-02599.xml | 12 +- .../game/data/stats/items/03400-03499.xml | 4 +- .../game/data/stats/items/03800-03899.xml | 36 ++++-- .../game/data/stats/items/03900-03999.xml | 104 +++++++++++++----- .../game/data/stats/items/04000-04099.xml | 4 +- .../game/data/stats/items/04200-04299.xml | 20 +++- .../game/data/stats/items/05100-05199.xml | 96 ++++++++++++---- .../game/data/stats/items/05200-05299.xml | 8 +- .../game/data/stats/items/06300-06399.xml | 4 +- .../game/data/stats/items/07500-07599.xml | 4 +- .../game/data/stats/items/08500-08599.xml | 4 +- .../game/data/stats/items/09600-09699.xml | 52 ++++++--- .../game/data/stats/items/10400-10499.xml | 4 +- .../game/data/stats/items/10600-10699.xml | 4 +- .../game/data/stats/items/11100-11199.xml | 4 +- .../game/data/stats/items/11400-11499.xml | 4 +- .../game/data/stats/items/11500-11599.xml | 4 +- .../game/data/stats/items/12700-12799.xml | 52 ++++++--- .../game/data/stats/items/13700-13799.xml | 6 +- .../game/data/stats/items/14800-14899.xml | 4 +- 22 files changed, 324 insertions(+), 110 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java index 3e5e26f4df..3a9f2c4171 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java @@ -91,8 +91,8 @@ public final class EffectMasterHandler FatalBlow.class, Fear.class, Fishing.class, - FocusEnergy.class, Flag.class, + FocusEnergy.class, FocusMaxEnergy.class, FocusSouls.class, GetAgro.class, diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/HeadquarterCreate.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/HeadquarterCreate.java index 48d2eea53e..15516f20f6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/HeadquarterCreate.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/HeadquarterCreate.java @@ -37,7 +37,7 @@ import com.l2jserver.gameserver.model.skills.BuffInfo; * Headquarter Create effect implementation. * @author Adry_85 */ -public class HeadquarterCreate extends AbstractEffect +public final class HeadquarterCreate extends AbstractEffect { private static final int HQ_NPC_ID = 35062; private final boolean _isAdvanced; diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/02500-02599.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/02500-02599.xml index 5f1b1bf672..7209f46f7c 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/02500-02599.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/02500-02599.xml @@ -142,8 +142,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="7000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="4" /> <add order="0x10" stat="mAtk" val="5" /> @@ -160,8 +162,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="3060" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="9" /> @@ -290,8 +294,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2048-1" /> - <set name="use_condition" val="{{uc_category;{@all_wolf_group;@sin_eater_group;@deinonychus_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="ALL_WOLF_GROUP,SIN_EATER_GROUP,DEINONYCHUS_PET_GROUP" /> + </cond> </item> <item id="2516" type="Weapon" name="Saber*Saber"> <set name="icon" val="icon.weapon_dual_sword_i00" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/03400-03499.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/03400-03499.xml index 07e16ab1ff..5af9f0d64f 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/03400-03499.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/03400-03499.xml @@ -417,8 +417,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="17000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="7" /> <add order="0x10" stat="mAtk" val="8" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/03800-03899.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/03800-03899.xml index b5ad46e761..6cc87655b3 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/03800-03899.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/03800-03899.xml @@ -895,8 +895,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="7800" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="16" /> <add order="0x10" stat="pDef" val="13" /> @@ -911,8 +913,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="14200" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="18" /> <add order="0x10" stat="pDef" val="16" /> @@ -927,8 +931,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="24100" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="20" /> <add order="0x10" stat="pDef" val="19" /> @@ -943,8 +949,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="38450" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="23" /> <add order="0x10" stat="pDef" val="22" /> @@ -959,8 +967,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="58500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="26" /> <add order="0x10" stat="pDef" val="26" /> @@ -975,8 +985,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="86000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="29" /> <add order="0x10" stat="pDef" val="30" /> @@ -991,8 +1003,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="113000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="31" /> <add order="0x10" stat="pDef" val="33" /> @@ -1007,8 +1021,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="145500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="33" /> <add order="0x10" stat="pDef" val="37" /> @@ -1023,8 +1039,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="186000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="36" /> <add order="0x10" stat="pDef" val="40" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/03900-03999.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/03900-03999.xml index 009e0122eb..3fb4d9da66 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/03900-03999.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/03900-03999.xml @@ -9,8 +9,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="283000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="38" /> <add order="0x10" stat="pDef" val="43" /> @@ -25,8 +27,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="412500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="41" /> <add order="0x10" stat="pDef" val="47" /> @@ -44,8 +48,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="30500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="11" /> <add order="0x10" stat="mAtk" val="10" /> @@ -65,8 +71,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="50000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="16" /> <add order="0x10" stat="mAtk" val="14" /> @@ -86,8 +94,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="80000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="23" /> <add order="0x10" stat="mAtk" val="18" /> @@ -107,8 +117,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="120000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="31" /> <add order="0x10" stat="mAtk" val="24" /> @@ -128,8 +140,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="175000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="40" /> <add order="0x10" stat="mAtk" val="30" /> @@ -149,8 +163,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="225000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="49" /> <add order="0x10" stat="mAtk" val="36" /> @@ -170,8 +186,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="285000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="58" /> <add order="0x10" stat="mAtk" val="42" /> @@ -191,8 +209,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="360000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="69" /> <add order="0x10" stat="mAtk" val="50" /> @@ -212,8 +232,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="550000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="80" /> <add order="0x10" stat="mAtk" val="58" /> @@ -233,8 +255,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="750000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="93" /> <add order="0x10" stat="mAtk" val="66" /> @@ -251,8 +275,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="58500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="26" /> <add order="0x10" stat="pDef" val="26" /> @@ -267,8 +293,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="86000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="29" /> <add order="0x10" stat="pDef" val="29" /> @@ -283,8 +311,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="113000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="31" /> <add order="0x10" stat="pDef" val="31" /> @@ -299,8 +329,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="145500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="33" /> <add order="0x10" stat="pDef" val="33" /> @@ -315,8 +347,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="186000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="36" /> <add order="0x10" stat="pDef" val="36" /> @@ -331,8 +365,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="283000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="38" /> <add order="0x10" stat="pDef" val="38" /> @@ -347,8 +383,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="412500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="41" /> <add order="0x10" stat="pDef" val="41" /> @@ -366,8 +404,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="100000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="8" /> <add order="0x10" stat="mAtk" val="7" /> @@ -387,8 +427,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="155000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="9" /> <add order="0x10" stat="mAtk" val="10" /> @@ -408,8 +450,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="210000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="10" /> <add order="0x10" stat="mAtk" val="11" /> @@ -429,8 +473,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="285000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="12" /> <add order="0x10" stat="mAtk" val="13" /> @@ -450,8 +496,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="380000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="13" /> <add order="0x10" stat="mAtk" val="16" /> @@ -471,8 +519,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="550000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="15" /> <add order="0x10" stat="mAtk" val="18" /> @@ -492,8 +542,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="800000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="17" /> <add order="0x10" stat="mAtk" val="21" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/04000-04099.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/04000-04099.xml index 1637bfa6ad..9847e58d0b 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/04000-04099.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/04000-04099.xml @@ -366,8 +366,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2063-1" /> - <set name="use_condition" val="{{uc_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> </item> <item id="4039" type="EtcItem" name="Mold Glue"> <set name="icon" val="icon.etc_reagent_red_i00" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/04200-04299.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/04200-04299.xml index 9ff2531094..ff30762505 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/04200-04299.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/04200-04299.xml @@ -455,8 +455,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="1566000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="50" /> <add order="0x10" stat="pDef" val="50" /> @@ -471,8 +473,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="4793000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="58" /> <add order="0x10" stat="pDef" val="58" /> @@ -487,8 +491,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="4793000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="58" /> <add order="0x10" stat="pDef" val="58" /> @@ -506,8 +512,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="2814000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="24" /> <add order="0x10" stat="mAtk" val="32" /> @@ -527,8 +535,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="9536500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="31" /> <add order="0x10" stat="mAtk" val="43" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/05100-05199.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/05100-05199.xml index 68dc9e5bfa..aad014d686 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/05100-05199.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/05100-05199.xml @@ -772,8 +772,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2101-1" /> - <set name="use_condition" val="{{uc_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> </item> <item id="5169" type="EtcItem" name="Deluxe Food for Strider"> <set name="icon" val="icon.etc_pouch_yellow_i00" /> @@ -786,8 +788,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2102-1" /> - <set name="use_condition" val="{{uc_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> </item> <item id="5170" type="Armor" name="Mithril Panzer Coat"> <set name="icon" val="icon.etc_pet_armor_i08" /> @@ -798,8 +802,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="412500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="mDef" val="41" /> <add order="0x10" stat="pDef" val="41" /> @@ -814,8 +820,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="598500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="mDef" val="44" /> <add order="0x10" stat="pDef" val="44" /> @@ -830,8 +838,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="928500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="mDef" val="46" /> <add order="0x10" stat="pDef" val="46" /> @@ -846,8 +856,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="1335500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="mDef" val="49" /> <add order="0x10" stat="pDef" val="49" /> @@ -862,8 +874,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="2032000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="mDef" val="52" /> <add order="0x10" stat="pDef" val="52" /> @@ -878,8 +892,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="2032000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="mDef" val="54" /> <add order="0x10" stat="pDef" val="54" /> @@ -897,8 +913,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="800000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="pAtk" val="17" /> <add order="0x10" stat="mAtk" val="21" /> @@ -918,8 +936,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="1150000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="pAtk" val="19" /> <add order="0x10" stat="mAtk" val="24" /> @@ -939,8 +959,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="1700000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="pAtk" val="21" /> <add order="0x10" stat="mAtk" val="27" /> @@ -960,8 +982,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="2450000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="pAtk" val="23" /> <add order="0x10" stat="mAtk" val="30" /> @@ -981,8 +1005,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="3650000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="pAtk" val="25" /> <add order="0x10" stat="mAtk" val="34" /> @@ -1002,8 +1028,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="5000000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@strider}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER" /> + </cond> <for> <add order="0x10" stat="pAtk" val="27" /> <add order="0x10" stat="mAtk" val="37" /> @@ -1020,8 +1048,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="598500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="44" /> <add order="0x10" stat="pDef" val="44" /> @@ -1036,8 +1066,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="928500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="46" /> <add order="0x10" stat="pDef" val="46" /> @@ -1052,8 +1084,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="1335500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="49" /> <add order="0x10" stat="pDef" val="49" /> @@ -1068,8 +1102,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="2032000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="52" /> <add order="0x10" stat="pDef" val="52" /> @@ -1084,8 +1120,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="2784000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="54" /> <add order="0x10" stat="pDef" val="54" /> @@ -1103,8 +1141,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="1150000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="19" /> <add order="0x10" stat="mAtk" val="24" /> @@ -1124,8 +1164,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="1700000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="21" /> <add order="0x10" stat="mAtk" val="27" /> @@ -1145,8 +1187,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="2450000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="23" /> <add order="0x10" stat="mAtk" val="30" /> @@ -1166,8 +1210,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="3650000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="25" /> <add order="0x10" stat="mAtk" val="34" /> @@ -1187,8 +1233,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="5000000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@hatchling_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="HATCHLING_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="27" /> <add order="0x10" stat="mAtk" val="37" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/05200-05299.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/05200-05299.xml index 4748a55588..dad2cef94e 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/05200-05299.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/05200-05299.xml @@ -163,8 +163,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="4793000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="58" /> <add order="0x10" stat="pDef" val="71" /> @@ -182,8 +184,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="30542" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@all_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ALL_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="194" /> <add order="0x10" stat="mAtk" val="136" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/06300-06399.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/06300-06399.xml index c921e48b16..b31cc6ee48 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/06300-06399.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/06300-06399.xml @@ -329,8 +329,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2180-1" /> - <set name="use_condition" val="{{uc_category;{@strider;@wyvern_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="STRIDER,WYVERN_GROUP" /> + </cond> </item> <item id="6317" type="EtcItem" name="Mixing Manual"> <set name="icon" val="icon.etc_spellbook_red_i00" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/07500-07599.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/07500-07599.xml index c2326f632b..887940df8a 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/07500-07599.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/07500-07599.xml @@ -1024,8 +1024,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2048-1" /> - <set name="use_condition" val="{{uc_category;{@baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="BABY_PET_GROUP" /> + </cond> </item> <item id="7583" type="EtcItem" name="Pet Exchange Ticket: Buffalo"> <set name="icon" val="icon.etc_ticket_red_i00" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/08500-08599.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/08500-08599.xml index 4fcd41ea4c..72f19c3f4c 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/08500-08599.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/08500-08599.xml @@ -564,8 +564,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="100000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="25" /> <add order="0x10" stat="pDef" val="10" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/09600-09699.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/09600-09699.xml index 4c9bb4fadc..c95a82fc55 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/09600-09699.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/09600-09699.xml @@ -770,8 +770,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="1838000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="233" /> <add order="0x10" stat="mAtk" val="5" /> @@ -791,8 +793,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="3404500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="289" /> <add order="0x10" stat="mAtk" val="5" /> @@ -812,8 +816,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="6379000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="350" /> <add order="0x10" stat="mAtk" val="5" /> @@ -833,8 +839,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="10579500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="413" /> <add order="0x10" stat="mAtk" val="5" /> @@ -854,8 +862,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="18876000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="477" /> <add order="0x10" stat="mAtk" val="5" /> @@ -875,8 +885,10 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="34319000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="537" /> <add order="0x10" stat="mAtk" val="5" /> @@ -893,8 +905,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="938500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="112" /> @@ -909,8 +923,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="1810000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="124" /> @@ -925,8 +941,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="3563000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="136" /> @@ -941,8 +959,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="6281500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="148" /> @@ -957,8 +977,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="12118000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="160" /> @@ -973,8 +995,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="24439500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="171" /> @@ -990,8 +1014,10 @@ <set name="is_stackable" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2361-1" /> - <set name="use_condition" val="{{uc_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> </item> <item id="9669" type="Armor" name="Native Helmet"> <set name="icon" val="icon.armor_leather_helmet_i00" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/10400-10499.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/10400-10499.xml index d3cfa7c308..a3536b3103 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/10400-10499.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/10400-10499.xml @@ -328,8 +328,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2361-1" /> - <set name="use_condition" val="{{uc_category;{@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="UPGRADE_BABY_PET_GROUP" /> + </cond> </item> <item id="10426" type="EtcItem" name="Fenrir Necklace"> <set name="icon" val="icon.etc_summon_wolf_r_01" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/10600-10699.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/10600-10699.xml index 97f5d4fe5f..106be119c5 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/10600-10699.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/10600-10699.xml @@ -608,8 +608,10 @@ <set name="material" val="gold" /> <set name="weight" val="150" /> <set name="price" val="33" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="7" /> </for> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/11100-11199.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/11100-11199.xml index 5813414176..357cf7e886 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/11100-11199.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/11100-11199.xml @@ -961,7 +961,9 @@ <set name="material" val="steel" /> <set name="weight" val="100" /> <set name="price" val="21159000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="pAtk" val="413" /> <add order="0x10" stat="mAtk" val="5" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/11400-11499.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/11400-11499.xml index b80680e9d5..d9cd842633 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/11400-11499.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/11400-11499.xml @@ -1591,7 +1591,9 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="24236000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="160" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/11500-11599.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/11500-11599.xml index 52d0d07585..58db9949ee 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/11500-11599.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/11500-11599.xml @@ -239,7 +239,9 @@ <set name="immediate_effect" val="true" /> <set name="material" val="leather" /> <set name="weight" val="160" /> - <set name="equip_condition" val="{{ec_category;{@grown_up_wolf_group}}}" /> + <cond msgId="1518"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="14" /> <add order="0x10" stat="pDef" val="171" /> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/12700-12799.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/12700-12799.xml index ff54337d51..d2b2b44bd7 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/12700-12799.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/12700-12799.xml @@ -480,8 +480,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="938500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group;@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP,UPGRADE_BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="pDef" val="112" /> </for> @@ -495,8 +497,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="1810000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group;@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP,UPGRADE_BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="pDef" val="124" /> </for> @@ -510,8 +514,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="3563000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group;@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP,UPGRADE_BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="pDef" val="136" /> </for> @@ -525,8 +531,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="6281500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group;@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP,UPGRADE_BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="pDef" val="148" /> </for> @@ -540,8 +548,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="12118000" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group;@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP,UPGRADE_BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="pDef" val="160" /> </for> @@ -555,8 +565,10 @@ <set name="material" val="leather" /> <set name="weight" val="160" /> <set name="price" val="24439500" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@baby_pet_group;@upgrade_baby_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="BABY_PET_GROUP,UPGRADE_BABY_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="pDef" val="171" /> </for> @@ -569,8 +581,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="1932" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="22" /> </for> @@ -583,8 +597,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="10091" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="30" /> </for> @@ -597,8 +613,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="31949" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="40" /> </for> @@ -611,8 +629,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="78374" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="52" /> </for> @@ -625,8 +645,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="231417" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="66" /> </for> @@ -639,8 +661,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="828490" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="80" /> </for> @@ -653,8 +677,10 @@ <set name="material" val="silver" /> <set name="weight" val="150" /> <set name="price" val="2582800" /> <!-- H5 Price --> - <set name="equip_condition" val="{{ec_category;{@item_equip_pet_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="1518"> + <player categoryType="ITEM_EQUIP_PET_GROUP" /> + </cond> <for> <add order="0x10" stat="mDef" val="94" /> </for> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/13700-13799.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/13700-13799.xml index c7577fdf9f..be088d5b57 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/13700-13799.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/13700-13799.xml @@ -949,9 +949,11 @@ <set name="is_stackable" val="true" /> <set name="handler" val="ItemSkills" /> <set name="item_skill" val="2622-1" /> - <set name="use_condition" val="{{uc_category;{@warsmith_group}}}" /> <cond msgId="113" addName="1"> - <player instanceId="120" /> + <and> + <player instanceId="120" /> + <player categoryType="WARSMITH_GROUP" /> + </and> </cond> </item> <item id="13770" type="Armor" name="Shadow Item - Shield of Yehan Miakesh"> diff --git a/L2J_DataPack_BETA/dist/game/data/stats/items/14800-14899.xml b/L2J_DataPack_BETA/dist/game/data/stats/items/14800-14899.xml index 74588c73e8..97eb645df1 100644 --- a/L2J_DataPack_BETA/dist/game/data/stats/items/14800-14899.xml +++ b/L2J_DataPack_BETA/dist/game/data/stats/items/14800-14899.xml @@ -332,8 +332,10 @@ <set name="is_oly_restricted" val="true" /> <set name="handler" val="PetFood" /> <set name="item_skill" val="2916-1" /> - <set name="use_condition" val="{{uc_category;{@grown_up_wolf_group}}}" /> <set name="for_npc" val="true" /> + <cond msgId="113" addName="1"> + <player categoryType="GROWN_UP_WOLF_GROUP" /> + </cond> </item> <item id="14819" type="EtcItem" name="Guardian's Dragon Bugle"> <set name="icon" val="icon.etc_bugle_i00" /> -- GitLab