mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2024-12-25 07:59:24 +03:00
Add proto AbilityMetaReInitOverrideMap
> This is the fix heal that comes from Ability. Add proto AbilityMetaModifierChange > This fixes `crushing rocks`. Add miss proto ModifierProperty,ModifierAction
This commit is contained in:
parent
fdfaac7512
commit
2180b41c22
@ -2,8 +2,6 @@ syntax = "proto3";
|
|||||||
|
|
||||||
option java_package = "emu.grasscutter.net.proto";
|
option java_package = "emu.grasscutter.net.proto";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import "AbilityString.proto";
|
import "AbilityString.proto";
|
||||||
import "AbilityAttachedModifier.proto";
|
import "AbilityAttachedModifier.proto";
|
||||||
import "ModifierDurability.proto";
|
import "ModifierDurability.proto";
|
||||||
|
21
proto/AbilityMetaModifierChange.proto
Normal file
21
proto/AbilityMetaModifierChange.proto
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
option java_package = "emu.grasscutter.net.proto";
|
||||||
|
|
||||||
|
import "AbilityAttachedModifier.proto";
|
||||||
|
import "AbilityString.proto";
|
||||||
|
import "ModifierAction.proto";
|
||||||
|
import "ModifierProperty.proto";
|
||||||
|
|
||||||
|
message AbilityMetaModifierChange {
|
||||||
|
uint32 applyEntityId = 8;
|
||||||
|
AbilityAttachedModifier attachedInstancedModifier = 7;
|
||||||
|
bool is_durability_zero = 1;
|
||||||
|
repeated ModifierProperty properties = 13;
|
||||||
|
AbilityString parentAbilityName = 10;
|
||||||
|
AbilityString parentAbilityOverride = 5;
|
||||||
|
bool is_mute_remote = 11;
|
||||||
|
bool isAttachedParentAbility = 3;
|
||||||
|
uint32 serverBuffUid = 9;
|
||||||
|
int32 modifierLocalId = 6;
|
||||||
|
ModifierAction action = 2;
|
||||||
|
}
|
8
proto/AbilityMetaReInitOverrideMap.proto
Normal file
8
proto/AbilityMetaReInitOverrideMap.proto
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
option java_package = "emu.grasscutter.net.proto";
|
||||||
|
|
||||||
|
import "AbilityScalarValueEntry.proto";
|
||||||
|
|
||||||
|
message AbilityMetaReInitOverrideMap {
|
||||||
|
repeated AbilityScalarValueEntry overrideMap = 2;
|
||||||
|
}
|
7
proto/ModifierAction.proto
Normal file
7
proto/ModifierAction.proto
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
option java_package = "emu.grasscutter.net.proto";
|
||||||
|
|
||||||
|
enum ModifierAction {
|
||||||
|
MODIFIER_ACTION_ADDED = 0;
|
||||||
|
MODIFIER_ACTION_REMOVED = 1;
|
||||||
|
}
|
10
proto/ModifierProperty.proto
Normal file
10
proto/ModifierProperty.proto
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
import "AbilityString.proto";
|
||||||
|
|
||||||
|
option java_package = "emu.grasscutter.net.proto";
|
||||||
|
|
||||||
|
message ModifierProperty {
|
||||||
|
AbilityString key = 8;
|
||||||
|
float value = 14;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user