|
|
@ -1,7 +1,7 @@ |
|
|
|
use serde::{Serialize, Deserialize};
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize, enum_utils::FromStr, derive_more::Display)]
|
|
|
|
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, Serialize, Deserialize, enum_utils::FromStr, derive_more::Display)]
|
|
|
|
pub enum UnitType {
|
|
|
|
KnightPower,
|
|
|
|
GeneralPower,
|
|
|
@ -75,6 +75,34 @@ pub enum UnitType { |
|
|
|
CureConfuse,
|
|
|
|
CureFreeze,
|
|
|
|
CureShock,
|
|
|
|
YasakaniMagatama,
|
|
|
|
V101,
|
|
|
|
V501,
|
|
|
|
V502,
|
|
|
|
V801,
|
|
|
|
Limiter,
|
|
|
|
Adept,
|
|
|
|
SwordsmanLore,
|
|
|
|
ProofOfSwordSaint,
|
|
|
|
Smartlink,
|
|
|
|
DivineProtection,
|
|
|
|
HeavenlyBattle,
|
|
|
|
HeavenlyPower,
|
|
|
|
HeavenlyMind,
|
|
|
|
HeavenlyArms,
|
|
|
|
HeavenlyLegs,
|
|
|
|
HeavenlyBody,
|
|
|
|
HeavenlyLuck,
|
|
|
|
HeavenlyAbility,
|
|
|
|
CenturionAbility,
|
|
|
|
FriendRing,
|
|
|
|
HeavenlyHP,
|
|
|
|
HeavenlyTP,
|
|
|
|
HeavenlyResist,
|
|
|
|
HeavenlyTechnique,
|
|
|
|
HPRessurection,
|
|
|
|
TPRessurection,
|
|
|
|
PBIncrease,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl UnitType {
|
|
|
@ -152,6 +180,34 @@ impl UnitType { |
|
|
|
UnitType::CureConfuse => [0x01, 0x03, 0x45],
|
|
|
|
UnitType::CureFreeze => [0x01, 0x03, 0x46],
|
|
|
|
UnitType::CureShock => [0x01, 0x03, 0x47],
|
|
|
|
UnitType::YasakaniMagatama => [0x01, 0x03, 0x48],
|
|
|
|
UnitType::V101 => [0x01, 0x03, 0x49],
|
|
|
|
UnitType::V501 => [0x01, 0x03, 0x4A],
|
|
|
|
UnitType::V502 => [0x01, 0x03, 0x4B],
|
|
|
|
UnitType::V801 => [0x01, 0x03, 0x4C],
|
|
|
|
UnitType::Limiter => [0x01, 0x03, 0x4D],
|
|
|
|
UnitType::Adept => [0x01, 0x03, 0x4E],
|
|
|
|
UnitType::SwordsmanLore => [0x01, 0x03, 0x4F],
|
|
|
|
UnitType::ProofOfSwordSaint => [0x01, 0x03, 0x50],
|
|
|
|
UnitType::Smartlink => [0x01, 0x03, 0x51],
|
|
|
|
UnitType::DivineProtection => [0x01, 0x03, 0x52],
|
|
|
|
UnitType::HeavenlyBattle => [0x01, 0x03, 0x53],
|
|
|
|
UnitType::HeavenlyPower => [0x01, 0x03, 0x54],
|
|
|
|
UnitType::HeavenlyMind => [0x01, 0x03, 0x55],
|
|
|
|
UnitType::HeavenlyArms => [0x01, 0x03, 0x56],
|
|
|
|
UnitType::HeavenlyLegs => [0x01, 0x03, 0x57],
|
|
|
|
UnitType::HeavenlyBody => [0x01, 0x03, 0x58],
|
|
|
|
UnitType::HeavenlyLuck => [0x01, 0x03, 0x59],
|
|
|
|
UnitType::HeavenlyAbility => [0x01, 0x03, 0x5A],
|
|
|
|
UnitType::CenturionAbility => [0x01, 0x03, 0x5B],
|
|
|
|
UnitType::FriendRing => [0x01, 0x03, 0x5C],
|
|
|
|
UnitType::HeavenlyHP => [0x01, 0x03, 0x5D],
|
|
|
|
UnitType::HeavenlyTP => [0x01, 0x03, 0x5E],
|
|
|
|
UnitType::HeavenlyResist => [0x01, 0x03, 0x5F],
|
|
|
|
UnitType::HeavenlyTechnique => [0x01, 0x03, 0x60],
|
|
|
|
UnitType::HPRessurection => [0x01, 0x03, 0x61],
|
|
|
|
UnitType::TPRessurection => [0x01, 0x03, 0x62],
|
|
|
|
UnitType::PBIncrease => [0x01, 0x03, 0x63],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|