Skip to content

Commit

Permalink
Updated enums
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Feb 14, 2024
1 parent 2e24a1d commit 99e7710
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/api-connector/src/Enum/Cond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ export enum CondType {
PLAY_QUEST_PHASE = "playQuestPhase",
NOT_PLAY_QUEST_PHASE = "notPlayQuestPhase",
EVENT_START_TO_END = "eventStartToEnd",
COMMON_VALUE_ABOVE = "commonValueAbove",
COMMON_VALUE_BELOW = "commonValueBelow",
COMMON_VALUE_EQUAL = "commonValueEqual",
}

export default CondType;
2 changes: 2 additions & 0 deletions packages/api-connector/src/Schema/DataVal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ interface BaseDataVal {
UnSubStateWhenContinue?: number;
CheckTargetHaveDefeatPoint?: number;
NPFixedDamageValue?: number;
IgnoreShiftSafeDamage?: number;
}

export interface DataVal extends BaseDataVal {
Expand Down Expand Up @@ -310,4 +311,5 @@ export enum DataValField {
UN_SUB_STATE_WHEN_CONTINUE = "UnSubStateWhenContinue",
CHECK_TARGET_HAVE_DEFEAT_POINT = "CheckTargetHaveDefeatPoint",
NP_FIXED_DAMAGE_VALUE = "NPFixedDamageValue",
IGNORE_SHIFT_SAFE_DAMAGE = "IgnoreShiftSafeDamage",
}
19 changes: 19 additions & 0 deletions packages/api-connector/src/Schema/Entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,26 @@ export enum EntityFlag {
IGNORE_COMBINE_LIMIT_SPECIAL = "ignoreCombineLimitSpecial",
SVT_EQUIP_EXP = "svtEquipExp",
SVT_EQUIP_CHOCOLATE = "svtEquipChocolate",
SVT_EQUIP_MANA_EXCHANGE = "svtEquipManaExchange",
SVT_EQUIP_CAMPAIGN = "svtEquipCampaign",
SVT_EQUIP_EVENT = "svtEquipEvent",
SVT_EQUIP_EVENT_REWARD = "svtEquipEventReward",
NORMAL = "normal",
GOETIA = "goetia",
MAT_DROP_RATE_UP_CE = "matDropRateUpCe",
UNKNOWN = "unknown",
}

export enum EntityFlagOriginal {
ONLY_USE_FOR_NPC = "onlyUseForNpc",
SVT_EQUIP_FRIEND_SHIP = "svtEquipFriendShip",
IGNORE_COMBINE_LIMIT_SPECIAL = "ignoreCombineLimitSpecial",
SVT_EQUIP_EXP = "svtEquipExp",
SVT_EQUIP_CHOCOLATE = "svtEquipChocolate",
SVT_EQUIP_MANA_EXCHANGE = "svtEquipManaExchange",
SVT_EQUIP_CAMPAIGN = "svtEquipCampaign",
SVT_EQUIP_EVENT = "svtEquipEvent",
SVT_EQUIP_EVENT_REWARD = "svtEquipEventReward",
}

export enum Gender {
Expand Down Expand Up @@ -213,6 +231,7 @@ export interface Entity {
className: ClassName;
type: EntityType;
flag: EntityFlag;
flags: EntityFlagOriginal[];
rarity: number;
cost: number;
lvMax: number;
Expand Down
1 change: 1 addition & 0 deletions packages/api-connector/src/Schema/War.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export enum WarFlag {
IS_WAR_ICON_FREE = "isWarIconFree",
IS_WAR_ICON_CENTER = "isWarIconCenter",
NOTICE_BOARD = "noticeBoard",
CHANGE_DISP_CLOSED_MESSAGE = "changeDispClosedMessage",
}

export interface Map {
Expand Down

0 comments on commit 99e7710

Please sign in to comment.