Skip to content

Commit 9110b94

Browse files
committed
feat: added set info on gear and altered ingredient
1 parent 15d4474 commit 9110b94

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

proto/wynnsource/item/gear.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ message Gear {
4444
GearType type = 1;
4545
wynnsource.common.Requirements requirements = 2;
4646
string major_id = 3; // To accommodate for unknown majors
47+
string set = 4;
4748

4849
oneof state {
4950
UnidentifiedGear unidentified = 10;

proto/wynnsource/item/ingredient.proto

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,24 @@ import "wynnsource/common/enums.proto";
66

77
option java_package = "fyw.fyi.wynnsource.schema.item";
88

9-
enum ModifierPos {
10-
MODIFIER_POS_UNSPECIFIED = 0;
11-
MODIFIER_POS_UP = 1;
12-
MODIFIER_POS_DOWN = 2;
13-
MODIFIER_POS_LEFT = 3;
14-
MODIFIER_POS_RIGHT = 4;
15-
MODIFIER_POS_TOUCH = 5;
16-
MODIFIER_POS_NO_TOUCH = 6;
9+
message ModifierPos {
10+
int32 x = 1;
11+
int32 y = 2;
1712
}
1813

1914
message Modifier {
2015
ModifierPos pos = 1;
2116
int32 value = 2;
2217
}
2318

19+
message ReqModifier {
20+
int32 strength_req = 3;
21+
int32 dexterity_req = 4;
22+
int32 intelligence_req = 5;
23+
int32 defense_req = 6;
24+
int32 agility_req = 7;
25+
}
26+
2427
message Ingredient {
2528
int32 durability = 1;
2629
int32 duration = 2;
@@ -29,4 +32,5 @@ message Ingredient {
2932
repeated wynnsource.common.CraftedEffect effects = 5;
3033
repeated wynnsource.common.Profession professions = 6;
3134
repeated Modifier modifiers = 7;
35+
ReqModifier req_modifier = 8;
3236
}

0 commit comments

Comments
 (0)