添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions
@@ -0,0 +1,782 @@
[
//////////////////////////////////
//
// 玩家额外技能
//
//////////////////////////////////
{
"Default":
{
"$type": "ConfigAbility",
"abilityName": "SceneObj_Aster_AvatarExtraAbility",
"onAbilityStart":
[
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_PlayerChargeMixin",
},
],
"onAdded":
[
{
"$type": "ApplyModifier",
"target": "Team",
"modifierName": "UNIQUE_PlayerNotify",
},
{
"$type": "ApplyModifier",
"modifierName": "SetAbilityEnableF",
},
//临时使用
{
"$type": "ApplyModifier",
"modifierName": "Init",
"target": "Team",
},
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_EasyModeController",
"target": "Team",
},
],
"abilityMixins":
[
//根据玩家当前分数加嘲讽。
{
"$type": "AttachModifierToSelfGlobalValueMixin",
"globalValueKey": "AVATAR_ASTER_SCORE",
"valueSteps" : [0, 99.5, 100.5],
"modifierNameSteps" : ["Blank", "SetTaunt"],
},
],
"abilitySpecials":
{
"curteamscore": 0.0,
},
"modifiers":
{
////////////////////////////////////////////////////////////////////////////////////
//
// 临时使用
//
//////////////////////////////////////////////////////////////////////////////////////
"Init":
{
"duration": 0.5,
"onAdded":
[
{
"$type": "SetGlobalValue",
"key": "AVATAR_ASTER_SCORE",
"target": "Team",
"value": 0,
},
],
},
"UNIQUE_EasyModeController":
{
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
{
"$type": "ApplyModifierWithSharedDurabilityMixin",
"modifierName": "EasyMode_Avatar",
},
{
"$type": "ServerUpdateGlobalValueMixin",
"key": "AVATAR_ASTER_SCORE",
"useLimitRange": true,
"minValue": 0,
"maxValue": 100,
},
],
},
"EasyMode_Avatar":
{
"modifierMixins":
[
{
"$type": "AttachToStateIDMixin",
"stateIDs": ["Channel_Loop","Channel_AS","Channel_BS"],
"modifierName": "HitControl",
},
],
},
"HitControl":
{
"onBeingHit":
[
{
"$type": "AddGlobalValue",
"key": "AVATAR_ASTER_SCORE",
"target": "Team",
"value": -20,
"useLimitRange": true,
"maxValue": 100,
"minValue": 0,
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"target": "Self",
"key" : "CHANNEL_BLOCK",
"value" : 0,
"compareType" : "NoneOrEqual",
},
],
},
],
},
//////////////////////////////////////////////////////////////
////////////////////////////////////////////////////
"SetAbilityEnableF":
{
"duration": 0.5,
"onAdded":
[
{
"$type": "SetExtraAbilityEnable",
"enable": false,
},
],
},
"UNIQUE_PlayerNotify":
{
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
//通过点名清空自己分数
{
"$type": "PlayerUidNotifyMixin",
"opParam": "clear_energy",
"opType": 1,
"logic": "Equal",
"actions":
[
//清空自己的分数
{
"$type": "AddGlobalValue",
"key": "AVATAR_ASTER_SCORE",
"target": "Team",
"value": 0,
"useLimitRange": true,
"maxValue": 0,
"minValue": 0,
},
],
},
//通过点名上BUFF
{
"$type": "PlayerUidNotifyMixin",
"opParam": "random_buff_aster",
"opType": 1,
"logic": "Equal",
"actions":
[
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_Team_DamageUp_Arua",
"target": "Team",
},
],
},
{
"$type": "PlayerUidNotifyMixin",
"opParam": "random_buff_aster",
"opType": 2,
"logic": "Equal",
"actions":
[
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_Team_ChannelBlock_Arua",
"target": "Team",
},
],
},
{
"$type": "PlayerUidNotifyMixin",
"opParam": "random_buff_aster",
"opType": 3,
"logic": "Equal",
"actions":
[
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_Team_ScoreMult_Arua",
"target": "Team",
},
],
},
{
"$type": "PlayerUidNotifyMixin",
"opParam": "random_buff_aster",
"opType": 4,
"logic": "Equal",
"actions":
[
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_DebuffTimer_Team",
"target": "Team",
},
],
},
{
"$type": "PlayerUidNotifyMixin",
"opParam": "random_buff_aster",
"opType": 5,
"logic": "Equal",
"actions":
[
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_Team_UperScoreMult_Arua",
"target": "Team",
},
],
},
],
},
"UNIQUE_DebuffTimer_Team":
{
"duration": 5,
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
{
"$type": "ApplyModifierWithSharedDurabilityMixin",
"modifierName": "DebuffTimer",
},
],
},
"DebuffTimer":
{
"onAdded":
[
//放一个循环特效
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_Aster_Debuff_01",
},
],
"onRemoved":
[
{
"$type": "CreateGadget",
"byServer": true,
"gadgetID": 70900360,
"born":
{
"$type": "ConfigBornBySelf",
},
"onGround": true,
},
],
},
"UNIQUE_Team_DamageUp_Arua":
{
"duration": 30,
"thinkInterval": 5,
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
{
"$type": "ApplyModifierWithSharedDurabilityMixin",
"modifierName": "Team_DamageUp_Arua_Eff",
},
],
"onThinkInterval":
[
{
"$type": "ApplyModifier",
"modifierName": "DamageUp",
"otherTargets":
{
"$type": "SelectTargetsByShape",
"shapeName": "CircleR5",
"centerBasedOn": "CurLocalAvatar",
"campTargetType": "All",
"campBasedOn": "CurLocalAvatar",
},
"predicates":
[
{
"$type" : "ByEntityTypes",
"entityTypes" : ["Avatar"],
},
],
},
],
},
"Team_DamageUp_Arua_Eff":
{
"onAdded":
[
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_Aster_Buff_01",
},
],
},
"DamageUp":
{
"stacking": "Refresh",
"duration": 5.5,
"state": "AttackUp",
"isLimitedProperties": true,
"buffID":10001,
"properties":
{
"Actor_AddHurtDelta": 10,
},
"onAdded":
[
//放一个循环特效意思意思
{
"$type": "AttachEffect",
"effectPattern": "Eff_MQ1002_XueyueBuff",
},
],
},
"UNIQUE_Team_ChannelBlock_Arua":
{
"duration": 30,
"thinkInterval": 5,
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
{
"$type": "ApplyModifierWithSharedDurabilityMixin",
"modifierName": "Team_ChannelBlock_Arua_Eff",
},
],
"onThinkInterval":
[
{
"$type": "ApplyModifier",
"modifierName": "ChannelBlock",
"otherTargets":
{
"$type": "SelectTargetsByShape",
"shapeName": "CircleR5",
"centerBasedOn": "CurLocalAvatar",
"campTargetType": "All",
"campBasedOn": "CurLocalAvatar",
},
"predicates":
[
{
"$type" : "ByEntityTypes",
"entityTypes" : ["Avatar"],
},
],
},
],
},
"ChannelBlock":
{
"stacking": "Refresh",
"duration": 5.5,
"properties":
{
"Actor_EndureDelta" : 2,
},
"onAdded":
[
//放一个循环特效意思意思
{
"$type": "AttachEffect",
"effectPattern": "Eff_MQ1002_XueyueBuff",
},
{
"$type": "AddGlobalValue",
"key": "CHANNEL_BLOCK",
"value": 1,
"useLimitRange": true,
"maxValue": 1,
"minValue": 1,
},
],
"onRemoved":
[
{
"$type": "AddGlobalValue",
"key": "CHANNEL_BLOCK",
"value": 0,
"useLimitRange": true,
"maxValue": 0,
"minValue": 0,
},
],
},
"Team_ChannelBlock_Arua_Eff":
{
"onAdded":
[
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_Aster_Buff_01",
},
],
},
"UNIQUE_Team_ScoreMult_Arua":
{
"duration": 30,
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
{
"$type": "ApplyModifierWithSharedDurabilityMixin",
"modifierName": "Team_ScoreMult_Arua_Eff",
},
],
"onAdded":
[
{
"$type": "SetGlobalValue",
"target": "Team",
"key": "ASTER_PROGRESS_RATIO",
"value": 1,
},
],
"onRemoved":
[
{
"$type": "SetGlobalValue",
"target": "Team",
"key": "ASTER_PROGRESS_RATIO",
"value": 0,
},
],
},
"Team_ScoreMult_Arua_Eff":
{
"onAdded":
[
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_Aster_Buff_01",
},
],
},
"UNIQUE_Team_UperScoreMult_Arua":
{
"duration": 30,
"isUnique": true,
"stacking": "Unique",
"modifierMixins":
[
{
"$type": "ApplyModifierWithSharedDurabilityMixin",
"modifierName": "Team_UperScoreMult_Arua_Eff",
},
],
"onAdded":
[
{
"$type": "SetGlobalValue",
"target": "Team",
"key": "ASTER_ENERGY_RATIO",
"value": 1,
},
],
"onRemoved":
[
{
"$type": "SetGlobalValue",
"target": "Team",
"key": "ASTER_ENERGY_RATIO",
"value": 0,
},
],
},
"Team_UperScoreMult_Arua_Eff":
{
"onAdded":
[
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_Aster_Buff_01",
},
],
},
"Blank":
{},
"SetTaunt":
{
"onAdded":
[
{
"$type": "TriggerTaunt",
"careValue": 50,
"otherTargets":
{
"$type": "SelectTargetsByShape",
"shapeName": "CircleR25",
"centerBasedOn": "Self",
"campTargetType": "Enemy",
"campBasedOn": "Self",
},
"predicates":
[
{
"$type" : "ByEntityTypes",
"entityTypes" : ["Monster"],
},
],
},
],
},
//applier: 大陨石 self:avatar
"UNIQUE_PlayerChargeMixin":
{
"stacking": "Unique",
"isUnique": true,
"thinkInterval": 5,
"modifierMixins":
[
{
"$type": "AttachToStateIDMixin",
"stateIDs": ["Channel_Loop","Channel_AS","Channel_BS"],
"modifierName": "PlayerCharge",
},
],
"onThinkInterval":
[
//读条结束,打上标记remove自己
{
"$type": "AddGlobalValue",
"key": "CHARGE_SUCCESS",
"target": "CurLocalAvatar",
"value": 1,
"useLimitRange": true,
"maxValue": 1,
"minValue": 1,
},
// {
// "$type": "SetExtraAbilityState",
// "state": "Success",
// },
//提交完成放个特效庆祝下
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_AsterLarge_RecevieFinish",
"otherTargets":
{
"$type": "SelectTargetsByShape",
"shapeName": "CircleR50",
"centerBasedOn": "Self",
"campTargetType": "AllExceptSelf",
"campBasedOn": "Self",
},
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"key" : "IS_BIG_ASTER",
"value" : 1,
"compareType" : "Equal",
},
],
},
{
"$type": "ServerLuaCall",
"target": "Team",
"luaCallType": "CurScenePlay",
"funcName": "UpdateAsterProgress",
},
//这里要强行切一下角色的动画状态
{
"$type": "SetAnimatorTrigger",
"triggerID": "EndChannelTrigger",
},
{
"$type": "RemoveUniqueModifier",
"modifierName": "UNIQUE_PlayerChargeMixin",
},
],
"onBeingHit":
[
{
"$type": "SetAnimatorTrigger",
"triggerID": "EndChannelTrigger",
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"key" : "CHANNEL_BLOCK",
"value" : 0,
"compareType" : "NoneOrEqual",
},
],
},
{
"$type": "RemoveModifier",
"modifierName": "PlayerCharge",
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"key" : "CHANNEL_BLOCK",
"value" : 0,
"compareType" : "NoneOrEqual",
},
],
},
],
"onAdded":
[
//这里要强行切一下角色的动画状态
{
"$type": "SetAnimatorTrigger",
"triggerID": "StartChannelTrigger",
},
//切换下按键状态
{
"$type": "SetExtraAbilityState",
"state": "Start",
},
{
"$type": "AttachModifier",
"modifierName": "LineEff_FindAster",
"otherTargets":
{
"$type": "SelectTargetsByShape",
"shapeName": "CircleR50",
"centerBasedOn": "Self",
"campTargetType": "AllExceptSelf",
"campBasedOn": "Self",
},
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"key" : "IS_BIG_ASTER",
"value" : 1,
"compareType" : "Equal",
},
],
},
//标记读条开始
{
"$type": "AddGlobalValue",
"key": "CHARGE_SUCCESS",
"target": "CurLocalAvatar",
"value": 0,
"useLimitRange": true,
"maxValue": 0,
"minValue": 0,
},
//通过group找到大陨石,播一个循环特效
{
"$type": "AttachEffect",
"effectPattern": "Eff_SceneObj_AsterLarge_Active",
"otherTargets":
{
"$type": "SelectTargetsByShape",
"shapeName": "CircleR50",
"centerBasedOn": "Self",
"campTargetType": "AllExceptSelf",
"campBasedOn": "Self",
},
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"key" : "IS_BIG_ASTER",
"value" : 1,
"compareType" : "Equal",
},
],
},
],
"onRemoved":
[
{
"$type": "SetExtraAbilityState",
"state": "Interrupt",
"predicates" :
[
{
"$type" : "ByTargetGlobalValue",
"key": "CHARGE_SUCCESS",
"target": "CurLocalAvatar",
"value": 0,
"compareType" : "Equal",
},
],
},
],
},
"LineEff_FindAster":
{
"onAdded":
[
{
"$type" : "AttachEffect",
"effectPattern" : "Eff_SceneObj_AsterLarge_Recevie",
"target" : "Applier",
"born" :
{
"$type":"ConfigBornByAttachPoint",
"attachPointName":"EffPoint",
"attachPointTargetType":"Self",
},
},
],
},
//applier:Avatar self:Avatar
"PlayerCharge":
{
"onRemoved":
[
//移除自身时同时移除监听modifier
{
"$type": "RemoveUniqueModifier",
"modifierName": "UNIQUE_PlayerChargeMixin",
},
],
},
},
},
},
]