88 lines
2.0 KiB
Go
88 lines
2.0 KiB
Go
[
|
|
//飞行小道具
|
|
{
|
|
"Default": {
|
|
"$type": "ConfigAbility",
|
|
"abilityName": "Activity_FlyItem",
|
|
"isDynamicAbility": true,
|
|
"onAdded":
|
|
[
|
|
],
|
|
"onAbilityStart":
|
|
[
|
|
//持续效果1
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"modifierName": "UNIQUE_Flying_SpeedUp_Team",
|
|
"target": "Team",
|
|
//"doOffStage":true,
|
|
},
|
|
],
|
|
"modifiers":
|
|
{
|
|
"UNIQUE_Flying_SpeedUp_Team":
|
|
{
|
|
"isUnique":true,
|
|
"stacking":"Unique",
|
|
"duration":30,
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type":"AttachEffect",
|
|
"effectPattern":"Eff_SceneObj_Widget_FlySpeedUp_Use_Loop",
|
|
"target": "Team",
|
|
},
|
|
//飞行状态下重新绑一个特效
|
|
{
|
|
"$type": "AttachModifier",
|
|
"modifierName": "AttachEffect_Fly",
|
|
"target": "CurTeamAvatars",
|
|
},
|
|
],
|
|
|
|
},
|
|
|
|
"AttachEffect_Fly":
|
|
{
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "FireEffect",
|
|
"effectPattern": "Eff_SceneObj_Widget_FlySpeedUp_Use",
|
|
"target": "CurLocalAvatar",
|
|
},
|
|
],
|
|
"modifierMixins":
|
|
[
|
|
{
|
|
"$type": "AttachToStateIDMixin",
|
|
"stateIDs":
|
|
[
|
|
"Fly",
|
|
"Fall",
|
|
],
|
|
"modifierName": "AttachEffect_Fly_FireEffect",
|
|
}, //是否飞行
|
|
],
|
|
"properties":
|
|
{
|
|
"Actor_FlyForwardSpeedMaxRatio":0.3,
|
|
}
|
|
},
|
|
"AttachEffect_Fly_FireEffect":
|
|
{
|
|
"onAdded":
|
|
[
|
|
{
|
|
"$type": "AttachEffect",
|
|
"effectPattern": "Eff_SceneObj_Widget_FlySpeedUp",
|
|
"target":"Team",
|
|
},
|
|
],
|
|
|
|
}
|
|
},
|
|
|
|
}
|
|
},
|
|
] |