135 lines
2.4 KiB
Go
135 lines
2.4 KiB
Go
[
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 区域水球
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
{
|
|
"Default":
|
|
{
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "Raining",
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "Raining",
|
|
},
|
|
],
|
|
"modifiers":
|
|
{
|
|
"Raining":
|
|
{
|
|
"thinkInterval": 0.1,
|
|
"duration": 8.0,
|
|
"onThinkInterval":
|
|
[
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "WetModifier",
|
|
"otherTargets":
|
|
{
|
|
"$type": "SelectTargetsByShape",
|
|
"shapeName": "CircleR5",
|
|
"centerBasedOn": "Self",
|
|
"campTargetType": "All",
|
|
"campBasedOn": "Self",
|
|
},
|
|
},
|
|
],
|
|
},
|
|
"WetModifier":
|
|
{
|
|
"duration": 8.0,
|
|
"elementType": "Water",
|
|
"elementDurability": 40,
|
|
"overrideWeaponElement": true,
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "AttachEffect",
|
|
"effectPattern": "Eff_Element_Wet",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 木棉花
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////////
|
|
{
|
|
"Default":
|
|
{
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "Test_KapokFlower_Interact",
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "AttachModifier",
|
|
"modifierName": "ElementWaterModifier",
|
|
"target": "Self",
|
|
},
|
|
],
|
|
"modifiers":
|
|
{
|
|
"ElementWaterModifier":
|
|
{
|
|
"onBeingHit":
|
|
[
|
|
{
|
|
"$type": "SetAnimatorBool",
|
|
"boolID": "BeHitWater",
|
|
"value": true,
|
|
"predicates":
|
|
[
|
|
{
|
|
"$type": "ByHitElement",
|
|
"element": "Water",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"modifierName": "ElementWaterModifier",
|
|
"predicates":
|
|
[
|
|
{
|
|
"$type": "ByHitElement",
|
|
"element": "Water",
|
|
},
|
|
],
|
|
},
|
|
|
|
],
|
|
"onRemoved":
|
|
[
|
|
{
|
|
"$type": "AttachModifier",
|
|
"modifierName" : "Grow"
|
|
},
|
|
],
|
|
},
|
|
"Grow":
|
|
{
|
|
"duration": 1.1,
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type":"AttachEffect",
|
|
"effectPattern": "Eff_ItemFlower_Bloom",
|
|
},
|
|
],
|
|
"onRemoved":
|
|
[
|
|
{
|
|
"$type": "TriggerGadgetInteractive",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
] |