From da13c9b262de6259b81add4f94533669de6f4aa3 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 30 Sep 2017 02:49:20 +0000 Subject: [PATCH] Proper names for unknown TraitType enum. --- .../gameserver/model/stats/TraitType.java | 11 +++++------ .../gameserver/model/stats/TraitType.java | 11 +++++------ .../gameserver/model/stats/TraitType.java | 11 +++++------ .../gameserver/model/stats/TraitType.java | 17 ++++++++--------- .../gameserver/model/stats/TraitType.java | 11 +++++------ 5 files changed, 28 insertions(+), 33 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/stats/TraitType.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/stats/TraitType.java index f4ee729e2f..c1e363e2a2 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/stats/TraitType.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/stats/TraitType.java @@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats; */ public enum TraitType { - UNK_0(0, 0), + NONE(0, 0), SWORD(1, 1), BLUNT(2, 1), DAGGER(3, 1), @@ -49,10 +49,10 @@ public enum TraitType CONSTRUCT_WEAKNESS(25, 2), DEATH(26, 3), VALAKAS(27, 2), - UNK_28(28, 2), - UNK_29(29, 3), + ANESTHESIA(28, 2), + CRITICAL_POISON(29, 3), ROOT_PHYSICALLY(30, 3), - UNK_31(31, 3), + ROOT_MAGICALLY(31, 3), RAPIER(32, 1), CROSSBOW(33, 1), ANCIENTSWORD(34, 1), @@ -75,8 +75,7 @@ public enum TraitType CHANGEBODY(51, 3), TWOHANDCROSSBOW(52, 1), ZONE(53, 3), - PSYCHIC(54, 3), - NONE(55, 0); + PSYCHIC(54, 3); private final int _id; private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/stats/TraitType.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/stats/TraitType.java index f4ee729e2f..c1e363e2a2 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/stats/TraitType.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/stats/TraitType.java @@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats; */ public enum TraitType { - UNK_0(0, 0), + NONE(0, 0), SWORD(1, 1), BLUNT(2, 1), DAGGER(3, 1), @@ -49,10 +49,10 @@ public enum TraitType CONSTRUCT_WEAKNESS(25, 2), DEATH(26, 3), VALAKAS(27, 2), - UNK_28(28, 2), - UNK_29(29, 3), + ANESTHESIA(28, 2), + CRITICAL_POISON(29, 3), ROOT_PHYSICALLY(30, 3), - UNK_31(31, 3), + ROOT_MAGICALLY(31, 3), RAPIER(32, 1), CROSSBOW(33, 1), ANCIENTSWORD(34, 1), @@ -75,8 +75,7 @@ public enum TraitType CHANGEBODY(51, 3), TWOHANDCROSSBOW(52, 1), ZONE(53, 3), - PSYCHIC(54, 3), - NONE(55, 0); + PSYCHIC(54, 3); private final int _id; private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/stats/TraitType.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/stats/TraitType.java index f4ee729e2f..c1e363e2a2 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/stats/TraitType.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/stats/TraitType.java @@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats; */ public enum TraitType { - UNK_0(0, 0), + NONE(0, 0), SWORD(1, 1), BLUNT(2, 1), DAGGER(3, 1), @@ -49,10 +49,10 @@ public enum TraitType CONSTRUCT_WEAKNESS(25, 2), DEATH(26, 3), VALAKAS(27, 2), - UNK_28(28, 2), - UNK_29(29, 3), + ANESTHESIA(28, 2), + CRITICAL_POISON(29, 3), ROOT_PHYSICALLY(30, 3), - UNK_31(31, 3), + ROOT_MAGICALLY(31, 3), RAPIER(32, 1), CROSSBOW(33, 1), ANCIENTSWORD(34, 1), @@ -75,8 +75,7 @@ public enum TraitType CHANGEBODY(51, 3), TWOHANDCROSSBOW(52, 1), ZONE(53, 3), - PSYCHIC(54, 3), - NONE(55, 0); + PSYCHIC(54, 3); private final int _id; private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/stats/TraitType.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/stats/TraitType.java index e93dff630c..9632646d27 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/stats/TraitType.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/stats/TraitType.java @@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats; */ public enum TraitType { - UNK_0(0, 0), + NONE(0, 0), SWORD(1, 1), BLUNT(2, 1), DAGGER(3, 1), @@ -49,21 +49,20 @@ public enum TraitType CONSTRUCT_WEAKNESS(25, 2), DEATH(26, 3), VALAKAS(27, 2), - UNK_28(28, 2), - UNK_29(29, 3), + ANESTHESIA(28, 2), + CRITICAL_POISON(29, 3), ROOT_PHYSICALLY(30, 3), - UNK_31(31, 3), + ROOT_MAGICALLY(31, 3), RAPIER(32, 1), CROSSBOW(33, 1), ANCIENTSWORD(34, 1), TURN_STONE(35, 3), GUST(36, 3), PHYSICAL_BLOCKADE(37, 3), - UNK_38(38, 3), - UNK_39(39, 3), - UNK_40(40, 3), - DUALDAGGER(41, 1), - NONE(42, 0); + TARGET(38, 3), + PHYSICAL_WEAKNESS(39, 3), + MAGICAL_WEAKNESS(40, 3), + DUALDAGGER(41, 1); private final int _id; private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/stats/TraitType.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/stats/TraitType.java index f4ee729e2f..c1e363e2a2 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/stats/TraitType.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/stats/TraitType.java @@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats; */ public enum TraitType { - UNK_0(0, 0), + NONE(0, 0), SWORD(1, 1), BLUNT(2, 1), DAGGER(3, 1), @@ -49,10 +49,10 @@ public enum TraitType CONSTRUCT_WEAKNESS(25, 2), DEATH(26, 3), VALAKAS(27, 2), - UNK_28(28, 2), - UNK_29(29, 3), + ANESTHESIA(28, 2), + CRITICAL_POISON(29, 3), ROOT_PHYSICALLY(30, 3), - UNK_31(31, 3), + ROOT_MAGICALLY(31, 3), RAPIER(32, 1), CROSSBOW(33, 1), ANCIENTSWORD(34, 1), @@ -75,8 +75,7 @@ public enum TraitType CHANGEBODY(51, 3), TWOHANDCROSSBOW(52, 1), ZONE(53, 3), - PSYCHIC(54, 3), - NONE(55, 0); + PSYCHIC(54, 3); private final int _id; private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance