mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
100 lines
2.8 KiB
JSON
100 lines
2.8 KiB
JSON
[
|
|
{
|
|
"Default": {
|
|
"$type": "MoleMole.Config.ConfigAbility",
|
|
"abilityName": "Test_OreIron_Interact",
|
|
"modifiers": {
|
|
"ElementRockModifier": {
|
|
"modifierName": "",
|
|
"elementDurability": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 100.0
|
|
},
|
|
"onBeingHit": [
|
|
{
|
|
"$type": "MoleMole.Config.TriggerGadgetInteractive",
|
|
"predicates": [
|
|
{
|
|
"$type": "MoleMole.Config.ByHitElement",
|
|
"element": "Fire"
|
|
},
|
|
{
|
|
"$type": "MoleMole.Config.ByTargetGlobalValue",
|
|
"key": "_HIT_TIMES_LEFT",
|
|
"value": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 1.0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "MoleMole.Config.AddGlobalValue",
|
|
"predicates": [
|
|
{
|
|
"$type": "MoleMole.Config.ByHitElement",
|
|
"element": "Fire"
|
|
},
|
|
{
|
|
"$type": "MoleMole.Config.ByTargetGlobalValue",
|
|
"key": "_HIT_TIMES_LEFT",
|
|
"value": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 0.0
|
|
},
|
|
"compareType": "MoreThan"
|
|
}
|
|
],
|
|
"value": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": -1.0
|
|
},
|
|
"key": "_HIT_TIMES_LEFT",
|
|
"useLimitRange": true,
|
|
"maxValue": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 3.0
|
|
},
|
|
"minValue": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 0.0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"onAdded": [
|
|
{
|
|
"$type": "MoleMole.Config.AttachModifier",
|
|
"modifierName": "ElementRockModifier"
|
|
},
|
|
{
|
|
"$type": "MoleMole.Config.AddGlobalValue",
|
|
"value": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 1.0
|
|
},
|
|
"key": "_HIT_TIMES_LEFT",
|
|
"useLimitRange": true,
|
|
"maxValue": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 1.0
|
|
},
|
|
"minValue": {
|
|
"isFormula": false,
|
|
"isDynamic": false,
|
|
"fixedValue": 0.0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |