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";
|
||||
|
||||
|
||||
|
||||
import "AbilityString.proto";
|
||||
import "AbilityAttachedModifier.proto";
|
||||
import "ModifierDurability.proto";
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
syntax = "proto3";
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "AbilityScalarValueEntry.proto";
|
||||
|
||||
message AbilityMetaReInitOverrideMap {
|
||||
repeated AbilityScalarValueEntry overrideMap = 2;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
syntax = "proto3";
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum ModifierAction {
|
||||
MODIFIER_ACTION_ADDED = 0;
|
||||
MODIFIER_ACTION_REMOVED = 1;
|
||||
}
|
|
@ -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