mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
300 lines
11 KiB
JSON
300 lines
11 KiB
JSON
[
|
|
{
|
|
"Default": {
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "SceneObj_Amber_GoldenAmber",
|
|
"abilityMixins": [
|
|
{
|
|
"$type": "AttachToGadgetStateMixin",
|
|
"modifierName": "GoldenAmber"
|
|
},
|
|
{
|
|
"$type": "AttachToGadgetStateMixin",
|
|
"gadgetState": 201,
|
|
"modifierName": "HideMesh"
|
|
}
|
|
],
|
|
"modifiers": {
|
|
"HideMesh": {
|
|
"modifierName": "",
|
|
"elementDurability": 100.0,
|
|
"onAdded": [
|
|
{
|
|
"$type": "EnableSceneTransformByName",
|
|
"transformNames": [
|
|
"Collider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"GoldenAmber": {
|
|
"modifierName": "",
|
|
"elementType": "Rock",
|
|
"elementDurability": 50.0,
|
|
"modifierMixins": [
|
|
{
|
|
"$type": "ShieldBarMixin",
|
|
"showDamageText": ""
|
|
}
|
|
],
|
|
"onAdded": [
|
|
{
|
|
"$type": "EnableSceneTransformByName",
|
|
"transformNames": [
|
|
"Collider"
|
|
],
|
|
"setEnable": true
|
|
}
|
|
],
|
|
"onRemoved": [
|
|
{
|
|
"$type": "FireEffect",
|
|
"effectPattern": "Eff_Object_Amber_Destory",
|
|
"born": {
|
|
"$type": "ConfigBornByTarget",
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "EnableSceneTransformByName",
|
|
"transformNames": [
|
|
"Collider"
|
|
]
|
|
},
|
|
{
|
|
"$type": "ExecuteGadgetLua",
|
|
"param1": 201
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"onAdded": [
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14005
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14002
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Default": {
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "SceneObj_Amber_RockAmberBroken",
|
|
"modifiers": {
|
|
"RockAmberBuff": {
|
|
"modifierName": "",
|
|
"duration": 60.0,
|
|
"elementType": "Rock",
|
|
"elementDurability": 10.0,
|
|
"properties": {
|
|
"Entity_WeightRatio": 2.0
|
|
}
|
|
},
|
|
"Broken": {
|
|
"modifierName": "",
|
|
"elementDurability": 100.0,
|
|
"onRemoved": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"otherTargets": {
|
|
"$type": "SelectTargetsByShape",
|
|
"shapeName": "CircleR5",
|
|
"campTargetType": "All",
|
|
"sizeRatio": 1.0
|
|
},
|
|
"modifierName": "RockAmberBuff"
|
|
},
|
|
{
|
|
"$type": "FireEffect",
|
|
"effectPattern": "Eff_Amber_Rock_Hit",
|
|
"born": {
|
|
"$type": "ConfigBornByTarget",
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 0.30000001192092896,
|
|
"z": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "KillSelf"
|
|
}
|
|
],
|
|
"onBeingHit": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"predicates": [
|
|
{
|
|
"$type": "ByHitDamage",
|
|
"damage": 1.0
|
|
}
|
|
],
|
|
"modifierName": "Broken"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"onAdded": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "Broken"
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14005
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14002
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Default": {
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "SceneObj_Amber_WaterAmberBroken",
|
|
"modifiers": {
|
|
"Broken": {
|
|
"modifierName": "",
|
|
"elementType": "Water",
|
|
"elementDurability": 50.0,
|
|
"onRemoved": [
|
|
{
|
|
"$type": "CreateGadget",
|
|
"born": {
|
|
"$type": "ConfigBornByTarget",
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
}
|
|
},
|
|
"gadgetID": 70270002,
|
|
"DOLAJLACEDF": 5001,
|
|
"campTargetType": "All"
|
|
},
|
|
{
|
|
"$type": "FireEffect",
|
|
"effectPattern": "Eff_SceneObj_Amber_Water_Hit",
|
|
"born": {
|
|
"$type": "ConfigBornByTarget",
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 0.30000001192092896,
|
|
"z": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "KillSelf"
|
|
}
|
|
],
|
|
"onBeingHit": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"predicates": [
|
|
{
|
|
"$type": "ByHitDamage",
|
|
"damage": 0.0
|
|
}
|
|
],
|
|
"modifierName": "Broken"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"onAdded": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "Broken"
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14005
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14002
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Default": {
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "SceneObj_Amber_WindAmberBroken",
|
|
"modifiers": {
|
|
"Broken": {
|
|
"modifierName": "",
|
|
"elementDurability": 100.0,
|
|
"onRemoved": [
|
|
{
|
|
"$type": "CreateGadget",
|
|
"born": {
|
|
"$type": "ConfigBornByTarget",
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
}
|
|
},
|
|
"gadgetID": 70270003,
|
|
"DOLAJLACEDF": 1001,
|
|
"campTargetType": "All"
|
|
},
|
|
{
|
|
"$type": "FireEffect",
|
|
"effectPattern": "Eff_Amber_Wind_Hit",
|
|
"born": {
|
|
"$type": "ConfigBornByTarget",
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 0.30000001192092896,
|
|
"z": 0.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "KillSelf"
|
|
}
|
|
],
|
|
"onBeingHit": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"predicates": [
|
|
{
|
|
"$type": "ByHitDamage",
|
|
"damage": 1.0
|
|
}
|
|
],
|
|
"modifierName": "Broken"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"onAdded": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "Broken"
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14005
|
|
},
|
|
{
|
|
"$type": "AttachAbilityStateResistance",
|
|
"resistanceListID": 14002
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |