Proper names for unknown TraitType enum.

This commit is contained in:
MobiusDev
2017-09-30 02:49:20 +00:00
parent a990c3c16c
commit da13c9b262
5 changed files with 28 additions and 33 deletions

View File

@@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats;
*/ */
public enum TraitType public enum TraitType
{ {
UNK_0(0, 0), NONE(0, 0),
SWORD(1, 1), SWORD(1, 1),
BLUNT(2, 1), BLUNT(2, 1),
DAGGER(3, 1), DAGGER(3, 1),
@@ -49,10 +49,10 @@ public enum TraitType
CONSTRUCT_WEAKNESS(25, 2), CONSTRUCT_WEAKNESS(25, 2),
DEATH(26, 3), DEATH(26, 3),
VALAKAS(27, 2), VALAKAS(27, 2),
UNK_28(28, 2), ANESTHESIA(28, 2),
UNK_29(29, 3), CRITICAL_POISON(29, 3),
ROOT_PHYSICALLY(30, 3), ROOT_PHYSICALLY(30, 3),
UNK_31(31, 3), ROOT_MAGICALLY(31, 3),
RAPIER(32, 1), RAPIER(32, 1),
CROSSBOW(33, 1), CROSSBOW(33, 1),
ANCIENTSWORD(34, 1), ANCIENTSWORD(34, 1),
@@ -75,8 +75,7 @@ public enum TraitType
CHANGEBODY(51, 3), CHANGEBODY(51, 3),
TWOHANDCROSSBOW(52, 1), TWOHANDCROSSBOW(52, 1),
ZONE(53, 3), ZONE(53, 3),
PSYCHIC(54, 3), PSYCHIC(54, 3);
NONE(55, 0);
private final int _id; private final int _id;
private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance

View File

@@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats;
*/ */
public enum TraitType public enum TraitType
{ {
UNK_0(0, 0), NONE(0, 0),
SWORD(1, 1), SWORD(1, 1),
BLUNT(2, 1), BLUNT(2, 1),
DAGGER(3, 1), DAGGER(3, 1),
@@ -49,10 +49,10 @@ public enum TraitType
CONSTRUCT_WEAKNESS(25, 2), CONSTRUCT_WEAKNESS(25, 2),
DEATH(26, 3), DEATH(26, 3),
VALAKAS(27, 2), VALAKAS(27, 2),
UNK_28(28, 2), ANESTHESIA(28, 2),
UNK_29(29, 3), CRITICAL_POISON(29, 3),
ROOT_PHYSICALLY(30, 3), ROOT_PHYSICALLY(30, 3),
UNK_31(31, 3), ROOT_MAGICALLY(31, 3),
RAPIER(32, 1), RAPIER(32, 1),
CROSSBOW(33, 1), CROSSBOW(33, 1),
ANCIENTSWORD(34, 1), ANCIENTSWORD(34, 1),
@@ -75,8 +75,7 @@ public enum TraitType
CHANGEBODY(51, 3), CHANGEBODY(51, 3),
TWOHANDCROSSBOW(52, 1), TWOHANDCROSSBOW(52, 1),
ZONE(53, 3), ZONE(53, 3),
PSYCHIC(54, 3), PSYCHIC(54, 3);
NONE(55, 0);
private final int _id; private final int _id;
private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance

View File

@@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats;
*/ */
public enum TraitType public enum TraitType
{ {
UNK_0(0, 0), NONE(0, 0),
SWORD(1, 1), SWORD(1, 1),
BLUNT(2, 1), BLUNT(2, 1),
DAGGER(3, 1), DAGGER(3, 1),
@@ -49,10 +49,10 @@ public enum TraitType
CONSTRUCT_WEAKNESS(25, 2), CONSTRUCT_WEAKNESS(25, 2),
DEATH(26, 3), DEATH(26, 3),
VALAKAS(27, 2), VALAKAS(27, 2),
UNK_28(28, 2), ANESTHESIA(28, 2),
UNK_29(29, 3), CRITICAL_POISON(29, 3),
ROOT_PHYSICALLY(30, 3), ROOT_PHYSICALLY(30, 3),
UNK_31(31, 3), ROOT_MAGICALLY(31, 3),
RAPIER(32, 1), RAPIER(32, 1),
CROSSBOW(33, 1), CROSSBOW(33, 1),
ANCIENTSWORD(34, 1), ANCIENTSWORD(34, 1),
@@ -75,8 +75,7 @@ public enum TraitType
CHANGEBODY(51, 3), CHANGEBODY(51, 3),
TWOHANDCROSSBOW(52, 1), TWOHANDCROSSBOW(52, 1),
ZONE(53, 3), ZONE(53, 3),
PSYCHIC(54, 3), PSYCHIC(54, 3);
NONE(55, 0);
private final int _id; private final int _id;
private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance

View File

@@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats;
*/ */
public enum TraitType public enum TraitType
{ {
UNK_0(0, 0), NONE(0, 0),
SWORD(1, 1), SWORD(1, 1),
BLUNT(2, 1), BLUNT(2, 1),
DAGGER(3, 1), DAGGER(3, 1),
@@ -49,21 +49,20 @@ public enum TraitType
CONSTRUCT_WEAKNESS(25, 2), CONSTRUCT_WEAKNESS(25, 2),
DEATH(26, 3), DEATH(26, 3),
VALAKAS(27, 2), VALAKAS(27, 2),
UNK_28(28, 2), ANESTHESIA(28, 2),
UNK_29(29, 3), CRITICAL_POISON(29, 3),
ROOT_PHYSICALLY(30, 3), ROOT_PHYSICALLY(30, 3),
UNK_31(31, 3), ROOT_MAGICALLY(31, 3),
RAPIER(32, 1), RAPIER(32, 1),
CROSSBOW(33, 1), CROSSBOW(33, 1),
ANCIENTSWORD(34, 1), ANCIENTSWORD(34, 1),
TURN_STONE(35, 3), TURN_STONE(35, 3),
GUST(36, 3), GUST(36, 3),
PHYSICAL_BLOCKADE(37, 3), PHYSICAL_BLOCKADE(37, 3),
UNK_38(38, 3), TARGET(38, 3),
UNK_39(39, 3), PHYSICAL_WEAKNESS(39, 3),
UNK_40(40, 3), MAGICAL_WEAKNESS(40, 3),
DUALDAGGER(41, 1), DUALDAGGER(41, 1);
NONE(42, 0);
private final int _id; private final int _id;
private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance

View File

@@ -21,7 +21,7 @@ package com.l2jmobius.gameserver.model.stats;
*/ */
public enum TraitType public enum TraitType
{ {
UNK_0(0, 0), NONE(0, 0),
SWORD(1, 1), SWORD(1, 1),
BLUNT(2, 1), BLUNT(2, 1),
DAGGER(3, 1), DAGGER(3, 1),
@@ -49,10 +49,10 @@ public enum TraitType
CONSTRUCT_WEAKNESS(25, 2), CONSTRUCT_WEAKNESS(25, 2),
DEATH(26, 3), DEATH(26, 3),
VALAKAS(27, 2), VALAKAS(27, 2),
UNK_28(28, 2), ANESTHESIA(28, 2),
UNK_29(29, 3), CRITICAL_POISON(29, 3),
ROOT_PHYSICALLY(30, 3), ROOT_PHYSICALLY(30, 3),
UNK_31(31, 3), ROOT_MAGICALLY(31, 3),
RAPIER(32, 1), RAPIER(32, 1),
CROSSBOW(33, 1), CROSSBOW(33, 1),
ANCIENTSWORD(34, 1), ANCIENTSWORD(34, 1),
@@ -75,8 +75,7 @@ public enum TraitType
CHANGEBODY(51, 3), CHANGEBODY(51, 3),
TWOHANDCROSSBOW(52, 1), TWOHANDCROSSBOW(52, 1),
ZONE(53, 3), ZONE(53, 3),
PSYCHIC(54, 3), PSYCHIC(54, 3);
NONE(55, 0);
private final int _id; private final int _id;
private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance private final int _type; // 1 = weapon, 2 = weakness, 3 = resistance