[ ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 送外卖活动 /// 禁止沾染任何元素 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Apply_NoTouchElement", "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Activity_Delivering_NoTouchElement_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], "modifiers": { "UNIQUE_Activity_Delivering_NoTouchElement_Team_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"UNIQUE_Activity_Delivering_NoTouchElement_CheckHandler", }, ], }, "UNIQUE_Activity_Delivering_NoTouchElement_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "thinkInterval":1.0, "onThinkInterval": [ { "$type":"Predicated", "target":"Self", "targetPredicates": [ { "$type":"ByAny", "predicates": [ { "$type":"ByHasElement", "element":"Fire", }, { "$type":"ByHasElement", "element":"Water", }, { "$type":"ByHasElement", "element":"Grass", }, { "$type":"ByHasElement", "element":"Electric", }, { "$type":"ByHasElement", "element":"Ice", }, { "$type":"ByHasElement", "element":"Frozen", }, { "$type":"ByHasElement", "element":"Wind", }, { "$type":"ByHasElement", "element":"Rock", }, ], }, ], "successActions": [ { "$type":"CallLuaTask", "targetAlias":"41121", "valueString":"DeliveringActivity_TouchElementFail", }, { //加个特效 测试表现 "$type":"FireEffect", "effectPattern":"Eff_Weapon_TriggerRed", }, ], }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Remove_NoTouchElement", "onAbilityStart": [ { "$type":"RemoveUniqueModifier", "modifierName":"UNIQUE_Activity_Delivering_NoTouchElement_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 送外卖活动 /// 禁止攀爬 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Apply_NoClimbing", "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Activity_Delivering_NoClimbing_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], "modifiers": { "UNIQUE_Activity_Delivering_NoClimbing_Team_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"UNIQUE_Activity_Delivering_NoClimbing_CheckHandler", }, ], }, "UNIQUE_Activity_Delivering_NoClimbing_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"AttachToStateIDMixin", "stateIDs":["Climb", "ClimbTransient", "Ladder"], "modifierName":"Activity_Delivering_NoClimbing_Handler", }, ], }, "Activity_Delivering_NoClimbing_Handler": { "stacking":"Unique", "duration":1.0, "onAdded": [ { "$type":"CallLuaTask", "targetAlias":"41121", "valueString":"DeliveringActivity_ClimbFail", }, { //加个特效 测试表现 "$type":"FireEffect", "effectPattern":"Eff_Weapon_TriggerRed", }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Remove_NoClimbing", "onAbilityStart": [ { "$type":"RemoveUniqueModifier", "modifierName":"UNIQUE_Activity_Delivering_NoClimbing_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 送外卖活动 /// 禁止加速冲刺 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Apply_NoSprint", "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Activity_Delivering_NoSprint_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], "modifiers": { "UNIQUE_Activity_Delivering_NoSprint_Team_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"UNIQUE_Activity_Delivering_NoSprint_CheckHandler", }, ], }, "UNIQUE_Activity_Delivering_NoSprint_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"AttachToStateIDMixin", "stateIDs":["Sprint","SprintBS"], "modifierName":"Activity_Delivering_NoSprint_Handler", }, ], }, "Activity_Delivering_NoSprint_Handler": { "stacking":"Unique", "duration":1.0, "onAdded": [ { "$type":"CallLuaTask", "targetAlias":"41121", "valueString":"DeliveringActivity_SprintFail", }, { //加个特效 测试表现 "$type":"FireEffect", "effectPattern":"Eff_Weapon_TriggerRed", }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Remove_NoSprint", "onAbilityStart": [ { "$type":"RemoveUniqueModifier", "modifierName":"UNIQUE_Activity_Delivering_NoSprint_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 送外卖活动 /// 禁止飞行 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Apply_NoFly", "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Activity_Delivering_NoFly_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], "modifiers": { "UNIQUE_Activity_Delivering_NoFly_Team_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"UNIQUE_Activity_Delivering_NoFly_CheckHandler", }, ], }, "UNIQUE_Activity_Delivering_NoFly_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"AttachToStateIDMixin", "stateIDs":["Fly"], "modifierName":"Activity_Delivering_NoFly_Handler", }, ], }, "Activity_Delivering_NoFly_Handler": { "stacking":"Unique", "duration":1.0, "onAdded": [ { "$type":"CallLuaTask", "targetAlias":"41121", "valueString":"DeliveringActivity_FlyFail", }, { //加个特效 测试表现 "$type":"FireEffect", "effectPattern":"Eff_Weapon_TriggerRed", }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Remove_NoFly", "onAbilityStart": [ { "$type":"RemoveUniqueModifier", "modifierName":"UNIQUE_Activity_Delivering_NoFly_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 送外卖活动 /// 禁止受到任何伤害(包含坠落伤害) /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Apply_NoDamage", "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Activity_Delivering_NoDamage_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], "modifiers": { "UNIQUE_Activity_Delivering_NoDamage_Team_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"UNIQUE_Activity_Delivering_NoDamage_CheckHandler", }, ], }, "UNIQUE_Activity_Delivering_NoDamage_CheckHandler": { "isUnique":true, "stacking":"Unique", "duration":120, "onBeingHit": [ { "$type":"Predicated", "target":"Self", "targetPredicates": [ { "$type":"ByHitDamage", "damage":0, "logic":"Greater", }, ], "successActions": [ { "$type":"ApplyModifier", "modifierName":"Activity_Delivering_NoDamage_Handler", "doOffStage":true, }, ], }, ], "modifierMixins": [ { "$type": "AttachToAnimatorStateIDMixin", "stateIDs": [ "DropDown","FallOnGroundLit","FallOnGround","FallToGroundRun","FallToGroundRunHard","FallToGroundSprint"], "modifierName": "Activity_Delivering_NoDamage_ValueHandler", }, { "$type":"DoActionByEventMixin", "type":"Current", "onEvent":"HP", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"_ABILITY_Activity_Delivering_NoDamage_Mark", "value":1, "compareType":"Equal", }, ], "actions": [ { "$type":"ApplyModifier", "modifierName":"Activity_Delivering_NoDamage_Handler", "doOffStage":true, }, ], }, ], }, "Activity_Delivering_NoDamage_ValueHandler": { "onAdded": [ { "$type":"AddGlobalValue", "key":"_ABILITY_Activity_Delivering_NoDamage_Mark", "useLimitRange":true, "maxValue":1, "minValue":1, }, ], "onRemoved": [ { "$type":"AddGlobalValue", "key":"_ABILITY_Activity_Delivering_NoDamage_Mark", "useLimitRange":true, "maxValue":0, "minValue":0, }, ], }, "Activity_Delivering_NoDamage_Handler": { "stacking":"Unique", "duration":1.0, "onAdded": [ { "$type":"CallLuaTask", "targetAlias":"41121", "valueString":"DeliveringActivity_DamageFail", }, { //加个特效 测试表现 "$type":"FireEffect", "effectPattern":"Eff_Weapon_TriggerRed", }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"Activity_Delivering_Remove_NoDamage", "onAbilityStart": [ { "$type":"RemoveUniqueModifier", "modifierName":"UNIQUE_Activity_Delivering_NoDamage_Team_CheckHandler", "target":"Team", "doOffStage":true, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 陨石大作战 /// 神之眼共鸣 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type": "ConfigAbility", "abilityName": "Activity_Aerolite_VisionResonance", "onAdded": [ { "$type": "AttachModifier", "modifierName": "VisionResonance_Player_Check", "target": "Self", }, ], "modifiers": { "VisionResonance_Player_Check": { "thinkInterval": "%AS_Think_Timer", "onThinkInterval": [ { "$type": "ApplyModifier", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR30", "centerBasedOn": "Self", "campTargetType": "AllExceptSelf", "campBasedOn": "Self", }, "modifierName": "UNIQUE_Activity_Aerolite_VisionResonance_AttachEffect", "predicates": [ { "$type": "ByTargetPositionToSelfPosition", "compareType": "XZ", "value": "%AS_Disatnce_Lv03", "logic": "LesserOrEqual", }, { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar"], }, { "$type": "ByNot", "predicates": [ { "$type": "ByAny", "predicates": [ { "$type": "ByHasFeatureTag", "featureTagIDs": [1011], }, { "$type": "ByHasFeatureTag", "featureTagIDs": [1012], }, ], }, ], }, ], }, ], }, "UNIQUE_Activity_Aerolite_VisionResonance_AttachEffect": { "duration":"%AS_Think_Timer+0.3", "isUnique": true, "stacking":"Refresh", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Avatar_Pendant_Aster_Flash", "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "PRIVATE_Pendant", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, ], "thinkInterval": "%AS_Think_Timer", "onThinkInterval": [ { "$type": "Predicated", "target": "Applier", "targetPredicates": [ { "$type": "ByTargetPositionToSelfPosition", "compareType": "XZ", "value": "%AS_Disatnce_Lv01", "logic": "LesserOrEqual", }, ], "successActions": [ { "$type": "ApplyModifier", "target": "Self", "modifierName": "SwitchEffect_Lv01", }, ], "failActions": [ { "$type": "Predicated", "target": "Applier", "targetPredicates": [ { "$type": "ByTargetPositionToSelfPosition", "compareType": "XZ", "value": "%AS_Disatnce_Lv02", "logic": "LesserOrEqual", }, ], "successActions": [ { "$type": "ApplyModifier", "target": "Self", "modifierName": "SwitchEffect_Lv02", }, ], "failActions": [ { "$type": "Predicated", "target": "Applier", "targetPredicates": [ { "$type": "ByTargetPositionToSelfPosition", "compareType": "XZ", "value": "%AS_Disatnce_Lv03", "logic": "LesserOrEqual", }, ], "successActions": [ { "$type": "ApplyModifier", "target": "Self", "modifierName": "SwitchEffect_Lv03", }, ], // "failActions": // [ // { // "$type": "ApplyModifier", // "target": "Self", // "modifierName": "SwitchEffect_Disappear", // }, // ], }, ], }, ], }, ], "onRemoved": [ { "$type": "ApplyModifier", "target": "Self", "modifierName": "SwitchEffect_Disappear", }, ], }, "SwitchEffect_Lv01": { "duration":0.1, "stacking":"Refresh", "onAdded": [ { "$type": "SendEffectTrigger", "parameter": "Eff_Ani_Avatar_Pendant_Aster_Flash_Fast", "effectPattern": "Eff_Avatar_Pendant_Aster_Flash", }, ], }, "SwitchEffect_Lv02": { "duration":0.1, "onAdded": [ { "$type": "SendEffectTrigger", "parameter": "Eff_Ani_Avatar_Pendant_Aster_Flash_Normal", "effectPattern": "Eff_Avatar_Pendant_Aster_Flash", }, ], }, "SwitchEffect_Lv03": { "duration":0.1, "onAdded": [ { "$type": "SendEffectTrigger", "parameter": "Eff_Ani_Avatar_Pendant_Aster_Flash_Slow", "effectPattern": "Eff_Avatar_Pendant_Aster_Flash", }, ], }, "SwitchEffect_Disappear": { "duration":1, "stacking": "Multiple", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Avatar_Pendant_Aster_Flash", "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "PRIVATE_Pendant", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, // { // "$type": "ApplyModifier", // "target": "Self", // "modifierName": "SwitchEffect_Disappear", // }, { "$type": "SendEffectTrigger", "parameter": "Eff_Ani_Avatar_Pendant_Aster_Flash_Disappear", "effectPattern": "Eff_Avatar_Pendant_Aster_Flash", }, ], }, }, "abilitySpecials": { "AS_Disatnce_Lv01": 5, "AS_Disatnce_Lv02": 10, "AS_Disatnce_Lv03": 20, "AS_Think_Timer": 1, }, }, }, { "Default": { "$type": "ConfigAbility", "abilityName": "ActivityAbility_Aster_SpecialAvatarDamageUp_100", "onAdded": [ { "$type": "AttachModifier", "modifierName": "UNIQUE_ActivityAbility_Aster_SpecialAvatarDamageUp_100", "target": "Self", "doOffStage": true, }, ], "modifiers": { "UNIQUE_ActivityAbility_Aster_SpecialAvatarDamageUp_100": { "isUnique": true, "modifierMixins": [ { "$type": "ModifyDamageMixin", "ignoreEventInfo": true, "damagePercentageRatio": 1, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_MONSTERAFFIX_AssignedAvatarVulnerable_High_ForAster", "value": 1, "compareType": "Equal", }, ], }, ], }, }, }, }, //ActivityAbility_Aster_SpecialAvatarDamageUp_100-----熄星活动角色伤害提升100% { "Default": { "$type": "ConfigAbility", "abilityName": "ActivityAbility_Aster_SpecialAvatarDamageUp_60", "onAdded": [ { "$type": "AttachModifier", "modifierName": "UNIQUE_ActivityAbility_Aster_SpecialAvatarDamageUp_60", "target": "Self", "doOffStage": true, }, ], "modifiers": { "UNIQUE_ActivityAbility_Aster_SpecialAvatarDamageUp_60": { "isUnique": true, "modifierMixins": [ { "$type": "ModifyDamageMixin", "ignoreEventInfo": true, "damagePercentageRatio": 0.6, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_MONSTERAFFIX_AssignedAvatarVulnerable_Mid_ForAster", "value": 1, "compareType": "Equal", }, ], }, ], }, }, }, }, //ActivityAbility_Aster_SpecialAvatarDamageUp_60-----熄星活动角色伤害提升60% { "Default": { "$type": "ConfigAbility", "abilityName": "ActivityAbility_Aster_SpecialAvatarDamageUp_30", "onAdded": [ { "$type": "AttachModifier", "modifierName": "UNIQUE_ActivityAbility_Aster_SpecialAvatarDamageUp_30", "target": "Self", "doOffStage": true, }, ], "modifiers": { "UNIQUE_ActivityAbility_Aster_SpecialAvatarDamageUp_30": { "isUnique": true, "modifierMixins": [ { "$type": "ModifyDamageMixin", "ignoreEventInfo": true, "damagePercentageRatio": 0.3, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_MONSTERAFFIX_AssignedAvatarVulnerable_Low_ForAster", "value": 1, "compareType": "Equal", }, ], }, ], }, }, }, }, //ActivityAbility_Aster_SpecialAvatarDamageUp_30-----熄星活动角色伤害提升30% { "Default": { "$type": "ConfigAbility", "abilityName": "ActivityAbility_TowerDefence_AvatarDebuff", "onAdded": [ { "$type": "AttachModifier", "modifierName": "UNIQUE_ActivityAbility_TowerDefence_AvatarDebuff", "target": "Self", "doOffStage": true, }, ], "modifiers": { "UNIQUE_ActivityAbility_TowerDefence_AvatarDebuff": { "isUnique": true, "state": "IgnoreAddEnergy", "modifierMixins": [ { "$type": "ModifyDamageMixin", "ignoreEventInfo": true, "damagePercentageRatio": -10, "damageExtra": -99999, // 尝试屏蔽海染套伤害 }, { "$type": "ReviveElemEnergyMixin", "type": "Both", "period": 0.3, //每x秒回复一次能量 "baseEnergy": -100, //每次回y点能量 }, ], "properties": { "Actor_ElemReactSwirlFireDelta": -10, "Actor_ElemReactSwirlIceDelta": -10, "Actor_ElemReactSwirlWaterDelta": -10, "Actor_ElemReactSwirlElectricDelta": -10, "Actor_ElemReactSConductDelta": -10, "Actor_ElemReactSteamDelta": -10, "Actor_ElemReactMeltDelta": -10, "Actor_ElemReactElectricDelta": -10, "Actor_ElemReactBurnDelta": -10, "Actor_ElemReactFreezeDelta": -10, "Actor_ElemReactExplodeDelta": -10, "Actor_ElemReactFrozenBrokenDelta":-10, }, }, }, }, }, //ActivityAbility_TowerDefence_AvatarDebuff ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 电桩玩法 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Avatar_Move_Electric_Stake_Play", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Avatar_Move_Electric_Stake_Play", "target":"Team", "doOffStage":true, }, ], "modifiers": { "UNIQUE_AddElectricStakeButtom": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"UNIQUE_Extra_Ability", }, ] }, "UNIQUE_Avatar_Move_Electric_Stake_Play": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"AttachModifierToSelfGlobalValueMixin", "globalValueKey":"AVATAR_Electric_Stake_Play", "valueSteps":[0.5,100], "modifierNameSteps":["UNIQUE_AddElectricStakeButtom"] }, ], "onAdded": [ { "$type": "SetGlobalValue", "key": "AVATAR_Electric_Stake_Play", "target": "Team", "value": 0, }, ], "onRemoved": [ { "$type": "ApplyModifier", "modifierName":"KILLSELF", "otherTargets": { "$type":"SelectTargetsByChildren", "configID":70950069 }, }, ] }, "KILLSELF": { "onAdded": [ { "$type": "KillSelf", }, ] }, "UNIQUE_Extra_Ability": { "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "ShowExtraAbility", "skillID": 20007, }, { "$type":"DoWatcherSystemAction", "watcherId":1116, "authorityOnly":true, }, ], "onRemoved": [ //隐藏按键 { "$type": "ShowExtraAbility", "skillID": 0, }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_Electric_Stake_Play", "isDynamicAbility":true, "onAbilityStart": [ { "$type": "AddGlobalValue", "key" : "AVATAR_Electric_Stake_Play", "target": "Team", "value" : -1, "useLimitRange" : true, "maxValue" : 100, "minValue" : 0, }, { "$type": "CreateGadget", "gadgetID": 70950069, "campID": 5001, "campTargetType": "Enemy", "born": { "$type": "ConfigBornBySelf", "offset": { "x": 0.0, "y": -1.0, "z": 1.0, }, "onGroundIgnoreWater": true, "useRotation":true, }, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 飞雷核玩法 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Avatar_Fly_Electric_Core_Play", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Electric_Core_Ability", "doOffStage":true, }, { "$type":"DoWatcherSystemAction", "watcherId":1108, "authorityOnly":true, }, ], "modifiers": { "UNIQUE_Fly_Electric_Core_Play": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_Electric_Core_Ability", }, ], }, "UNIQUE_Electric_Core_Ability": { "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "ShowExtraAbility", "skillID": 20008, "doOffStage":true, }, ], "onAvatarIn": [ { "$type": "ShowExtraAbility", "skillID": 20008, "doOffStage":true, }, ], "onRemoved": [ //隐藏按键 { "$type": "ShowExtraAbility", "skillID": 0, "doOffStage":true, }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_Electric_Core", "isDynamicAbility":true, "onAdded": [ { "$type": "AttachModifier", "modifierName":"LinePre", "doOffStage":true, }, { "$type": "AddAvatarSkillInfo", "skillID": 20033, "doOffStage": true, }, { "$type": "AddAvatarSkillInfo", "skillID": 20034, "doOffStage": true, }, { "$type": "AttachModifier", "modifierName": "Electric_Core_SwitchAirSkill", "doOffStage": true, }, ], "onRemoved": [ { "$type": "RemoveAvatarSkillInfo", "skillID": 20033, "doOffStage": true, }, { "$type": "RemoveAvatarSkillInfo", "skillID": 20034, "doOffStage": true, }, ], "onAbilityStart": [ { "$type" : "Predicated", "target" : "Self", "targetPredicates" : [ { "$type" : "ByAny", "predicates" : [ { "$type": "ByHasElement", "element": "Electric", "target":"Self", }, { "$type": "ByTargetGlobalValue", "key": "HAS_ELECTRIC_FAIRY_BUFF", "value": 1, "target":"Self", "compareType": "Equal", }, ], }, ], "successActions" : [ { "$type": "ClearGlobalPos", "key": "_Electric_Core_Pos", "setTarget": false, //"doOffStage": true, }, { "$type": "Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "_IS_ELECTRIC_CORE", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "targetPredicates": [ ], "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":15, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "key": "_IS_ELECTRIC_CORE", "value": 1, "compareType": "Equal", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName":"Electric_Core_Cd", "target": "Target", }, { "$type": "SetGlobalPos", "target":"Target", "key": "_Electric_Core_Pos", "born": { "$type": "ConfigBornByTarget", "offset": { "x":0, "y":0, "z":0, }, }, "setTarget": false, }, ], }, { "$type":"RemoveModifier", "modifierName":"UNIQUE_Electric_Core_Fly", "predicates": [ { "$type": "ByNot", //以下两个条件满足任一,则返回false "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_Electric_Core_Pos_0", "value": 0, "compareType": "NoneOrEqual", "target": "Self", }, ], } ] }, { "$type":"ApplyModifier", "modifierName":"UNIQUE_Electric_Core_Fly", "predicates": [ { "$type": "ByNot", //以下两个条件满足任一,则返回false "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_Electric_Core_Pos_0", "value": 0, "compareType": "NoneOrEqual", "target": "Self", }, ], } ] }, ], }, ], "abilityMixins": [ { "$type": "AttachToStateIDMixin", "stateIDs": ["ActivitySkill_ElectricCoreFly"], "modifierName": "Electric_Core_Fly_Handler", }, ], "modifiers": { "UNIQUE_Electric_Core_Line": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"LinePre", }, ], }, "ChangePlayMode": { "onAdded": [ { "$type": "ChangePlayMode", "toPlayMode": "ElectricCoreState", "muteRemoteAction": true, "doOffStage": true, }, ], "onRemoved": [ { "$type": "ChangePlayMode", "toPlayMode": "Normal", "muteRemoteAction": true, "doOffStage": true, }, ] }, "LinePre": { /* "onAdded": [ { "$type": "ChangePlayMode", "toPlayMode": "ElectricCoreState", }, ], "onRemoved": [ { "$type": "ChangePlayMode", "toPlayMode": "Normal", }, ], */ "modifierMixins": [ { "$type":"AttachToStateIDMixin", "stateIDs":["Fly"], "modifierName":"ChangePlayMode", "isCheckOnAttach":true }, { "$type": "ElectricCoreLineMixin", "activateSkillKey":"AVATAR_Electric_Core", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "_IS_ELECTRIC_CORE", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":15, "logic": "LesserOrEqual", }, { "$type" : "ByAny", "predicates" : [ { "$type": "ByHasElement", "element": "Electric", "target":"Self", }, { "$type": "ByTargetGlobalValue", "key": "HAS_ELECTRIC_FAIRY_BUFF", "value": 1, "target":"Self", "compareType": "Equal", }, ], }, ], }, ] }, "Electric_Core_Cd": { "duration":1, "onAdded": [ { "$type":"SetGlobalValue", "key":"_IS_ELECTRIC_CORE", "target":"Self", "value" : 0, }, { "$type": "ChangeTag", "isAdd": false, "tag": "_IS_ELECTRIC_CORE", }, ], }, "Electric_Core_Effect": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Move", }, ], }, "ElectricAttach": { "duration":10, "elementType": "Electric", "elementDurability": 60, }, "ElectricEndure": { "duration":0.2, "properties": { "Actor_EndureDelta": 0.0, }, }, "UNIQUE_StreamingOptimization": { "duration":4.0, "isUnique":true, "modifierMixins": [ { "$type":"StreamingModifierMixin", } ] }, "Electric_Core_SwitchAirSkill": //切换空中技能 { "modifierMixins": [ { "$type": "AvatarChangeSkillMixin", "priority":"Playmode", "index": -1, //不希望替换槽但也想让它有飞行技能 "flySkillID": 20034, "jumpSkillID": 20034, }, ] }, "UNIQUE_Electric_Core_Fly": { "duration":4, "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "EntityDoSkill", "skillID": 20033, }, { "$type": "EntityDoSkill", "skillID": 20034, }, ], "modifierMixins": [ { "$type":"ElectricCoreMoveMixin", "stageOnceVelocity":30, "stageOneAccelerate":-5, "stageTwoVelocity":20, "stageTwoAttenuation":0.75, "maxAbsorbTime":1, "toPos": { "$type":"ConfigBornByGlobalValue", "positionKey": "_Electric_Core_Pos", "offset": { "x":0, "y":0, "z":0, }, }, "onCoreEnter": [ { "$type": "TriggerSetVisible", "visible": true, }, { "$type":"RemoveModifier", "modifierName":"Electric_Core_Effect", //掉球常驻 }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Out", }, { "doOffStage": true, "$type": "AvatarExitCameraShot", }, { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : false, "doOffStage": true, }, ], "onInterrupted": [ { "$type": "TriggerSetVisible", "visible": true, "doOffStage":true, }, { "$type":"RemoveModifier", "modifierName":"Electric_Core_Effect", //掉球常驻 "doOffStage":true, }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Out", }, { "doOffStage": true, "$type": "AvatarExitCameraShot", }, { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : false, "doOffStage": true, }, ], "onStartSuccess": [ { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : true, "doOffStage": true, }, { "$type": "RemoveVelocityForce", "forces": [ "SpeedupType" ], }, { "$type": "AddGlobalValue", "target":"Team", "key": "_ELECTRIC_CORE_TRIGGER_COUNT", "value": 1, "useLimitRange": true, "maxValue": 3, "minValue": 0, }, { "$type" : "AvatarCameraParam", "target" : "Self", "lockParam" : false, "cameraParam" : { "forceRadius" : 6.0, "forceRadiusDuration" : 0.3, "shouldKeepForceRadius" : true, }, }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_In", }, { "$type":"AttachModifier", "modifierName":"Electric_Core_Effect", }, { "$type":"ApplyModifier", "modifierName":"ElectricAttach", }, { "$type":"ApplyModifier", "modifierName":"ElectricEndure", }, { "$type":"ApplyModifier", "modifierName":"UNIQUE_StreamingOptimization", }, { "$type": "TriggerSetVisible", "visible": false, }, { "$type":"ActCameraShake", "cameraShake": { "shakeRange":6, "shakeTime":0.2, "shakeDistance":40, "extension": { "baseOnCamera":false } }, "born": { "$type":"ConfigBornBySelf" } }, //地城LD玩法使用,使用飞雷核后一段时间内不断恢复体力 { "$type": "Predicated", "target": "Self", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "_ActivityAbility_ReviveStamina_1", "value": 1, "compareType": "Equal", }, ], "successActions": [ { "$type":"ApplyModifier", "modifierName":"UNIQUE_ActivityAbility_ReviveStamina", "doOffStage":true, } ] }, ] }, ] }, "Electric_Core_Fly_Handler": //发送飞行指令 { "duration": 1.0, //最多飞1秒做保护 "stacking":"MultipleRefresh", "stackingOption": { "maxModifierNumForMultipleType": 1, }, "onAdded": [ { "$type": "SendEvtElectricCoreMoveEnterP1", }, ], "onRemoved": [ { "$type": "SendEvtElectricCoreMoveInterrupt", }, { "$type": "RemoveVelocityForce", "forces": ["LightCoreTypeNormal", "LightCoreTypeAccelerate"], }, ], }, "UNIQUE_ActivityAbility_ReviveStamina": { "isUnique":true, "stacking":"RefreshUniqueDurability", "duration":5, "thinkInterval": 1, "onThinkInterval": [ { "$type": "ReviveStamina", "value": 100, "doOffStage":true, }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 飞雷核玩法-擂台挑战 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Avatar_Fly_Electric_Core_Play_Challenge", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"UNIQUE_Fly_Electric_Core_Play", "target":"Team", "doOffStage":true, }, { "$type":"DoWatcherSystemAction", "watcherId":1108, "authorityOnly":true, }, ], "modifiers": { "UNIQUE_Fly_Electric_Core_Play": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_Electric_Core_Ability", }, ], }, "UNIQUE_Electric_Core_Ability": { "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "ShowExtraAbility", "skillID": 20010, "doOffStage":true, }, ], "onAvatarIn": [ { "$type": "ShowExtraAbility", "skillID": 20010, "doOffStage":true, }, ], "onRemoved": [ //隐藏按键 { "$type": "ShowExtraAbility", "skillID": 0, "doOffStage":true, }, ], }, }, }, }, { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_Electric_Core_Challenge", "isDynamicAbility":true, "onAdded": [ { "$type": "AttachModifier", "modifierName":"UNIQUE_Electric_Core_Line", "target":"Team", "doOffStage":true, }, { "$type": "AddAvatarSkillInfo", "skillID": 20033, "doOffStage": true, }, { "$type": "AddAvatarSkillInfo", "skillID": 20034, "doOffStage": true, }, { "$type": "AttachModifier", "modifierName": "Electric_Core_SwitchAirSkill", "doOffStage": true, }, ], "onRemoved": [ { "$type": "RemoveAvatarSkillInfo", "skillID": 20033, "doOffStage": true, }, { "$type": "RemoveAvatarSkillInfo", "skillID": 20034, "doOffStage": true, }, ], "onAbilityStart": [ { "$type" : "Predicated", "target" : "Self", "targetPredicates" : [ { "$type" : "ByAny", "predicates" : [ { "$type": "ByHasElement", "element": "Electric", "target":"Self", }, { "$type": "ByTargetGlobalValue", "key": "HAS_ELECTRIC_FAIRY_BUFF", "value": 1, "compareType": "Equal", }, ], }, ], "successActions" : [ { "$type": "ClearGlobalPos", "key": "_Electric_Core_Pos", "setTarget": false, //"doOffStage": true, }, { "$type": "Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "_IS_ELECTRIC_CORE", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "targetPredicates": [ ], "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":8, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "key": "_IS_ELECTRIC_CORE", "value": 1, "compareType": "Equal", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName":"Electric_Core_Cd", "target": "Target", }, { "$type": "SetGlobalPos", "target":"Target", "key": "_Electric_Core_Pos", "born": { "$type": "ConfigBornByTarget", "offset": { "x":0, "y":0, "z":0, }, }, "setTarget": false, }, ], }, { "$type":"RemoveModifier", "modifierName":"UNIQUE_Electric_Core_Fly", "predicates": [ { "$type": "ByNot", //以下两个条件满足任一,则返回false "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_Electric_Core_Pos_0", "value": 0, "compareType": "NoneOrEqual", "target": "Self", }, ], } ] }, { "$type":"ApplyModifier", "modifierName":"UNIQUE_Electric_Core_Fly", "predicates": [ { "$type": "ByNot", //以下两个条件满足任一,则返回false "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_Electric_Core_Pos_0", "value": 0, "compareType": "NoneOrEqual", "target": "Self", }, ], } ] }, ], }, ], "abilityMixins": [ { "$type": "AttachToStateIDMixin", "stateIDs": ["ActivitySkill_ElectricCoreFly"], "modifierName": "Electric_Core_Fly_Handler", }, ], "modifiers": { "UNIQUE_Electric_Core_Line": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"LinePre", }, ], }, "ChangePlayMode": { "onAdded": [ { "$type": "ChangePlayMode", "toPlayMode": "ElectricCoreState", "muteRemoteAction": true, "doOffStage": true, }, ], "onRemoved": [ { "$type": "ChangePlayMode", "toPlayMode": "Normal", "muteRemoteAction": true, "doOffStage": true, }, ] }, "LinePre": { /* "onAdded": [ { "$type": "ChangePlayMode", "toPlayMode": "ElectricCoreState", }, ], "onRemoved": [ { "$type": "ChangePlayMode", "toPlayMode": "Normal", }, ], */ "modifierMixins": [ { "$type":"AttachToStateIDMixin", "stateIDs":["Fly"], "modifierName":"ChangePlayMode", "isCheckOnAttach":true }, { "$type": "ElectricCoreLineMixin", "activateSkillKey":"AVATAR_Electric_Core", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "_IS_ELECTRIC_CORE", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":8, "logic": "LesserOrEqual", }, { "$type" : "ByAny", "predicates" : [ { "$type": "ByHasElement", "element": "Electric", "target":"Self", }, { "$type": "ByTargetGlobalValue", "key": "HAS_ELECTRIC_FAIRY_BUFF", "value": 1, "target":"Self", "compareType": "Equal", }, ], }, ], }, ] }, "Electric_Core_Cd": { "duration":1, "onAdded": [ { "$type":"SetGlobalValue", "key":"_IS_ELECTRIC_CORE", "target":"Self", "value" : 0, }, { "$type": "ChangeTag", "isAdd": false, "tag": "_IS_ELECTRIC_CORE", }, ], }, "Electric_Core_Effect": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Move", }, ], }, "ElectricAttach": { "duration":10, "elementType": "Electric", "elementDurability": 60, }, "ElectricEndure": { "duration":0.2, "properties": { "Actor_EndureDelta": 0.0, }, }, "UNIQUE_StreamingOptimization": { "duration":4.0, "isUnique":true, "modifierMixins": [ { "$type":"StreamingModifierMixin", } ] }, "Electric_Core_SwitchAirSkill": //切换空中技能 { "modifierMixins": [ { "$type": "AvatarChangeSkillMixin", "priority":"Playmode", "index": -1, //不希望替换槽但也想让它有飞行技能 "flySkillID": 20034, "jumpSkillID": 20034, }, ], }, "UNIQUE_Electric_Core_Fly": { "duration":4, "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "EntityDoSkill", "skillID": 20033, }, { "$type": "EntityDoSkill", "skillID": 20034, }, ], "modifierMixins": [ { "$type":"ElectricCoreMoveMixin", "stageOnceVelocity":30, "stageOneAccelerate":-5, "stageTwoVelocity":20, "stageTwoAttenuation":0.75, "maxAbsorbTime":1, "toPos": { "$type":"ConfigBornByGlobalValue", "positionKey": "_Electric_Core_Pos", "offset": { "x":0, "y":0, "z":0, }, }, "onCoreEnter": [ { "$type": "TriggerSetVisible", "visible": true, }, { "$type":"RemoveModifier", "modifierName":"Electric_Core_Effect", //掉球常驻 }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Out", }, { "doOffStage": true, "$type": "AvatarExitCameraShot", }, { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : false, "doOffStage": true, }, ], "onInterrupted": [ { "$type": "TriggerSetVisible", "visible": true, "doOffStage":true, }, { "$type":"RemoveModifier", "modifierName":"Electric_Core_Effect", //掉球常驻 "doOffStage":true, }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Out", }, { "doOffStage": true, "$type": "AvatarExitCameraShot", }, { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : false, "doOffStage": true, }, ], "onStartSuccess": [ { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : true, "doOffStage": true, }, { "$type": "RemoveVelocityForce", "forces": [ "SpeedupType" ], }, { "$type": "AddGlobalValue", "target":"Team", "key": "_ELECTRIC_CORE_TRIGGER_COUNT", "value": 1, "useLimitRange": true, "maxValue": 3, "minValue": 0, }, //擂台挑战加攻击力Buff { "$type":"ApplyModifier", "modifierName":"UNIQUE_ArenaChallenge2_Atkup_Avatar", "target":"CurTeamAvatars", }, { "$type" : "AvatarCameraParam", "target" : "Self", "lockParam" : false, "cameraParam" : { "forceRadius" : 6.0, "forceRadiusDuration" : 0.3, "shouldKeepForceRadius" : true, }, }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_In", }, { "$type":"AttachModifier", "modifierName":"Electric_Core_Effect", }, { "$type":"ApplyModifier", "modifierName":"UNIQUE_StreamingOptimization", }, { "$type":"ApplyModifier", "modifierName":"ElectricAttach", }, { "$type":"ApplyModifier", "modifierName":"ElectricEndure", }, { "$type": "TriggerSetVisible", "visible": false, }, { "$type":"ActCameraShake", "cameraShake": { "shakeRange":6, "shakeTime":0.2, "shakeDistance":40, "extension": { "baseOnCamera":false } }, "born": { "$type":"ConfigBornBySelf" } }, //地城LD玩法使用,使用飞雷核后一段时间内不断恢复体力 { "$type": "Predicated", "target": "Self", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "_ActivityAbility_ReviveStamina_1", "value": 1, "compareType": "Equal", }, ], "successActions": [ { "$type":"ApplyModifier", "modifierName":"UNIQUE_ActivityAbility_ReviveStamina", "doOffStage":true, } ] }, ] }, ] }, "Electric_Core_Fly_Handler": //发送飞行指令 { "duration": 1.0, //最多飞1秒做保护 "stacking":"MultipleRefresh", "stackingOption": { "maxModifierNumForMultipleType": 1, }, "onAdded": [ { "$type": "SendEvtElectricCoreMoveEnterP1", }, ], "onRemoved": [ { "$type": "SendEvtElectricCoreMoveInterrupt", }, { "$type": "RemoveVelocityForce", "forces": ["LightCoreTypeNormal", "LightCoreTypeAccelerate"], }, ], }, "UNIQUE_ArenaChallenge2_Atkup_Avatar": { "isUnique":true, "duration":30, "stacking":"RefreshUniqueDurability", "isLimitedProperties": true, "state":"AttackUp", "properties": { "Actor_AttackDelta":1000, } }, "UNIQUE_ActivityAbility_ReviveStamina": { "isUnique":true, "stacking":"RefreshUniqueDurability", "duration":5, "thinkInterval": 1, "onThinkInterval": [ { "$type": "ReviveStamina", "value": 100, "doOffStage":true, }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 奥博伦放球 /// ////////////////////////////////////////////////////////////////////////////////////////////// //将E技能改为放球技能键 { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_Temari_Hide_Ball_Play", "isDynamicAbility": true, //"onAbilityStart": //[ // { // "$type":"AttachModifier", // "modifierName":"UNIQUE_Temari_Hide_ball", // "target":"Team", // "doOffStage":true, // }, //], "onAvatarIn": [ { "$type": "AddAvatarSkillInfo", "target": "CurTeamAvatars", "doOffStage": true, "skillID": 20032, }, { "$type": "AvatarSkillStart", "target": "CurTeamAvatars", "skillID": 20032, "cdRatio": 0.05, }, //AvatarSkillStart _ 这个是为了切换时个小CD,使得UI看上去有个技能可以用的效果提示 { "$type":"AttachModifier", "modifierName":"UNIQUE_Temari_Hide_ball", "target":"CurTeamAvatars", "doOffStage":true, }, ], "onAdded": [ { "$type": "AddAvatarSkillInfo", "target": "CurTeamAvatars", "doOffStage": true, "skillID": 20032, }, { "$type": "AvatarSkillStart", "target": "CurTeamAvatars", "skillID": 20032, "cdRatio": 0.05, }, //AvatarSkillStart _ 这个是为了切换时个小CD,使得UI看上去有个技能可以用的效果提示 { "$type":"AttachModifier", "modifierName":"UNIQUE_Temari_Hide_ball", "target":"CurTeamAvatars", "doOffStage":true, }, ], "onRemoved": [ { "$type": "DebugLog", "content": "TMR: Try to remove the set ball ability" }, { "$type": "RemoveModifier", "target": "CurTeamAvatars", "doOffStage": true, "modifierName": "UNIQUE_Temari_Hide_ball", }, { "$type": "RemoveAvatarSkillInfo", "target": "CurTeamAvatars", "doOffStage": true, "skillID": 20032, }, ], "modifiers": { "UNIQUE_Temari_Hide_ball": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type": "SwitchSkillIDMixin", "priority": "Playmode", "skillIndex": 1, "skillID": 20032, }, ], }, }, }, }, //放球,直接server lua call把球放下来 { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_Temari_Hide_Ball", "isDynamicAbility": true, "onAbilityStart": [ { "$type": "ServerLuaCall", "luaCallType": "CurChallengeGroup", "funcName": "SLC_Hide_Ball", } ], }, }, //使用飞雷核后一段时间内回复体力 { "Default": { "$type":"ConfigAbility", "abilityName":"ActivityAbility_ReviveStamina", "isDynamicAbility":true, "onAdded": [ { "$type": "SetGlobalValue", "key": "_ActivityAbility_ReviveStamina_1", "value": 1, }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 稻妻大活动4阶段翻牌 /// ////////////////////////////////////////////////////////////////////////////////////////////// //角色用 { "Default": { "$type":"ConfigAbility", "abilityName":"ActivityAbility_BlitzRush_AvatarFlipCard", "onAdded": [ { "$type" : "ApplyModifier", "modifierName" : "BlitzRush_Avatar_KillLatencyTrigger", "target" : "Self", }, ], "modifiers": { "BlitzRush_Avatar_KillLatencyTrigger": { "onAttackLanded": [ { "$type" : "Predicated", "target" : "Target", "targetPredicates" : [ { "$type": "ByEntityTypes", "entityTypes": ["Monster"], }, { "$type" : "ByTargetGlobalValue", "key" : "_Enigma_BossFight_Enhanced", "value" : 1, "compareType" : "Equal", }, ], "successActions" : [ { "$type" : "ApplyModifier", "modifierName" : "KillLatencyTrigger", "target" : "Target", }, ], }, ], }, "KillLatencyTrigger": { "duration": 0.2, "onRemoved": [ { "$type" : "ApplyModifier", "modifierName" : "KillLatencyTrigger_Massage", "target" : "Applier", "predicates": [ { "$type" : "ByTargetGlobalValue", "key" : "_FAKEDIE_Triggered", "target": "Self", "value" : 2, "compareType" : "MoreThanAndEqual", }, ], }, ], }, "KillLatencyTrigger_Massage": { "onAdded": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Activity_BlitzRush_Enhanced_Killed", "CallParamList": [246001001], }, { "$type" : "DebugLog", "content" : "SLC_Activity_BlitzRush_Enhanced_Killed!!!!!!!", }, ], }, }, }, }, //怪物用 { "Default": { "$type":"ConfigAbility", "abilityName":"ActivityAbility_BlitzRush_MonsterFlipCard", "onAdded": [ { "$type" : "ApplyModifier", "modifierName" : "ActivityAbility_BlitzRush_MonsterTag", }, ], "abilityMixins": [ { "$type":"AttachModifierToSelfGlobalValueMixin", "globalValueKey":"_GLOBALVALUE_EnigmaType", "valueSteps":[0.5, 4.5], "modifierNameSteps":["ActivityAbility_BlitzRush_Monster_ExtraHP"], }, ], "modifiers": { "ActivityAbility_BlitzRush_MonsterTag": { "onAdded": [ { "$type" : "AddGlobalValue", "value" : 1, "key" : "_ACTIVITY_BlitzRush_Tag", "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, ], "onRemoved": [ { "$type" : "AddGlobalValue", "value" : -1, "key" : "_ACTIVITY_BlitzRush_Tag", "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, ], }, "ActivityAbility_BlitzRush_Monster_ExtraHP": { "properties": { "Actor_MaxHPRatio": 1, }, }, }, }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 雷灵感应充能桩 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"RoleElectricPowerSource_Play", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":10.0, }, "onAdded": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"AttachModifier", "modifierName":"UNIQUE_RoleElectricPowerSourceBuffEffect", "target":"Self", "doOffStage":true, }, ], "onRemoved": [ { "$type":"SetGlobalValue", "key":"RoleElectricPowerSourceConnectCount", "target":"Self", "value" : 0, }, ], "modifiers": { //人类部分 "UNIQUE_RoleElectricPowerSourceBuffEffect": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type":"SetGlobalValue", "key":"RoleElectricPowerSourceConnectCount", "target":"Self", "value" : 0, }, ], "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "RoleElectricPowerSourceConnectCount", "valueSteps": [-0.5, 0.5, 1.5,2.5,3.5], "removeAppliedModifier": true, "modifierNameSteps": ["RoleElectricPowerSourceBuffHandleLevel0", "RoleElectricPowerSourceBuffHandleLevel1","RoleElectricPowerSourceBuffHandleLevel2","RoleElectricPowerSourceBuffHandleLevel3"], }, { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "CanUseRoleElectricPowerSourceSkill", "valueSteps": [-0.5, 0.5, 1.5], "removeAppliedModifier": true, "modifierNameSteps": ["RoleElectricPowerSourceBuffCD", "DoNothing"], }, ], }, "DoNothing": {}, "RoleElectricPowerSourceBuffCD": { "duration":2.0, "onRemoved": [ { "$type":"SetGlobalValue", "key":"CanUseRoleElectricPowerSourceSkill", "target":"Team", "value" : 1, }, ] }, "RoleElectricPowerSourceBuffHandleLevel0": { }, "RoleElectricPowerSourceBuffHandleLevel1": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "RoleElectricPowerSourceBuffLevel1", }, ], }, "RoleElectricPowerSourceBuffHandleLevel2": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "RoleElectricPowerSourceBuffLevel2", }, ], }, "RoleElectricPowerSourceBuffHandleLevel3": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "RoleElectricPowerSourceBuffLevel3", }, ], }, "RoleElectricPowerSourceBuffLevel1": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_RoleElecricPowerSource_01_Buff", }, ], "thinkInterval":1, "onThinkInterval": [ { "$type":"ReviveElemEnergy", "value":2, "target":"Self", "doOffStage":true, }, ] }, "RoleElectricPowerSourceBuffLevel2": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_RoleElecricPowerSource_01_Buff", }, ], "thinkInterval":1, "onThinkInterval": [ { "$type":"ReviveElemEnergy", "value":4, "target":"Self", "doOffStage":true, }, ], "modifierMixins": [ { "$type": "ModifyDamageMixin", "attackTags": ["Elemental_Burst"], "damagePercentageRatio": 0.5, }, ], }, "RoleElectricPowerSourceBuffLevel3": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_RoleElecricPowerSource_01_Buff", }, ], "thinkInterval":1, "onThinkInterval": [ { "$type":"ReviveElemEnergy", "value":8, "target":"Self", "doOffStage":true, }, ], "modifierMixins": [ { "$type": "ModifyDamageMixin", "attackTags": ["Elemental_Burst"], "damagePercentageRatio": 1.0, }, ], "onAttackLanded": [ { "$type": "Predicated", "target":"Other", "targetPredicates": [ { "$type": "ByNot", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["None","Bush"] } ], }, { "$type":"ByAttackTags", "attackTags":["NormalAttack_01","NormalAttack_02","NormalAttack_03","NormalAttack_04","NormalAttack_05","NormalAttack_06","ExtraAttack","FallingAttack","Elemental_Art","Elemental_Art_Hold","Elemental_Art_Extra","Elemental_Burst"], }, { "$type": "ByTargetGlobalValue", "target":"Team", "key": "CanUseRoleElectricPowerSourceSkill", "value": 0, "compareType": "MoreThan", }, ], "successActions": [ { "$type": "ServerLuaCall", "luaCallType": "CurChallengeGroup", "funcName": "SLC_RoleElectricPowerSource_AttackSum", }, { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type" : "TriggerAttackEvent", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 4.0, //半径 "born": { "$type": "ConfigBornByHitPoint", }, }, "attackInfo": { "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, { "$type": "FireEffect", "effectPattern": "Eff_Stages_GainWave_01", "born": { "$type":"ConfigBornByHitPoint", }, }, { "$type":"SetGlobalValue", "key":"CanUseRoleElectricPowerSourceSkill", "target":"Team", "value" : 0, }, ], }, ], }, }, }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 雷灵感应充能桩大世界 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"RoleElectricPowerSourceBigWorld_Play", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":10.0, }, "onAdded": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"AttachModifier", "modifierName":"UNIQUE_RoleElectricPowerSourceBuffEffect", "target":"Self", "doOffStage":true, }, ], "onRemoved": [ { "$type":"SetGlobalValue", "key":"RoleElectricPowerSourceConnectCount", "target":"Self", "value" : 0, }, ], "modifiers": { //人类部分 "UNIQUE_RoleElectricPowerSourceBuffEffect": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type":"SetGlobalValue", "key":"RoleElectricPowerSourceConnectCount", "target":"Self", "value" : 0, }, ], "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "RoleElectricPowerSourceConnectCount", "valueSteps": [-0.5, 0.5, 1.5,2.5,3.5], "removeAppliedModifier": true, "modifierNameSteps": ["RoleElectricPowerSourceBuffHandleLevel0", "RoleElectricPowerSourceBuffHandleLevel1","RoleElectricPowerSourceBuffHandleLevel2","RoleElectricPowerSourceBuffHandleLevel3"], }, { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "CanUseRoleElectricPowerSourceSkill", "valueSteps": [-0.5, 0.5, 1.5], "removeAppliedModifier": true, "modifierNameSteps": ["RoleElectricPowerSourceBuffCD", "DoNothing"], }, ], }, "DoNothing": {}, "RoleElectricPowerSourceBuffCD": { "duration":2.0, "onRemoved": [ { "$type":"SetGlobalValue", "key":"CanUseRoleElectricPowerSourceSkill", "target":"Team", "value" : 1, }, ] }, "RoleElectricPowerSourceBuffHandleLevel0": { }, "RoleElectricPowerSourceBuffHandleLevel1": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "RoleElectricPowerSourceBuffLevel1", }, ], }, "RoleElectricPowerSourceBuffHandleLevel2": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "RoleElectricPowerSourceBuffLevel2", }, ], }, "RoleElectricPowerSourceBuffHandleLevel3": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "RoleElectricPowerSourceBuffLevel3", }, ], }, "RoleElectricPowerSourceBuffLevel1": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_RoleElecricPowerSource_01_Buff", }, ], "thinkInterval":1, "onThinkInterval": [ { "$type":"ReviveElemEnergy", "value":2, "target":"Self", "doOffStage":true, }, ] }, "RoleElectricPowerSourceBuffLevel2": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_RoleElecricPowerSource_01_Buff", }, ], "thinkInterval":1, "onThinkInterval": [ { "$type":"ReviveElemEnergy", "value":4, "target":"Self", "doOffStage":true, }, ], "modifierMixins": [ { "$type": "ModifyDamageMixin", "attackTags": ["Elemental_Burst"], "damagePercentageRatio": 0.5, }, ], }, "RoleElectricPowerSourceBuffLevel3": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_RoleElecricPowerSource_01_Buff", }, ], "thinkInterval":1, "onThinkInterval": [ { "$type":"ReviveElemEnergy", "value":8, "target":"Self", "doOffStage":true, }, ], "modifierMixins": [ { "$type": "ModifyDamageMixin", "attackTags": ["Elemental_Burst"], "damagePercentageRatio": 1.0, }, ], "onAttackLanded": [ { "$type": "Predicated", "target":"Other", "targetPredicates": [ { "$type": "ByNot", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["None","Bush"] } ], }, { "$type":"ByAttackTags", "attackTags":["NormalAttack_01","NormalAttack_02","NormalAttack_03","NormalAttack_04","NormalAttack_05","NormalAttack_06","ExtraAttack","FallingAttack","Elemental_Art","Elemental_Art_Hold","Elemental_Art_Extra","Elemental_Burst"], }, { "$type": "ByTargetGlobalValue", "target":"Team", "key": "CanUseRoleElectricPowerSourceSkill", "value": 0, "compareType": "MoreThan", }, ], "successActions": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type" : "TriggerAttackEvent", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 4.0, //半径 "born": { "$type": "ConfigBornByHitPoint", }, }, "attackInfo": { "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, { "$type": "FireEffect", "effectPattern": "Eff_Stages_GainWave_01", "born": { "$type":"ConfigBornByHitPoint", }, }, { "$type":"SetGlobalValue", "key":"CanUseRoleElectricPowerSourceSkill", "target":"Team", "value" : 0, }, ], }, ], }, }, }, }, //UGC特供飞雷核Ability { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_Electric_Core_UGC", "isDynamicAbility":true, "onAdded": [ { "$type": "AttachModifier", "modifierName":"LinePre", "doOffStage":true, }, { "$type": "AddAvatarSkillInfo", "skillID": 20033, "doOffStage": true, }, { "$type": "AddAvatarSkillInfo", "skillID": 20034, "doOffStage": true, }, { "$type": "AttachModifier", "modifierName": "Electric_Core_SwitchAirSkill", "doOffStage": true, }, ], "onRemoved": [ { "$type": "RemoveAvatarSkillInfo", "skillID": 20033, "doOffStage": true, }, { "$type": "RemoveAvatarSkillInfo", "skillID": 20034, "doOffStage": true, }, { "$type": "ChangePlayMode", "toPlayMode": "Normal", "muteRemoteAction": true, "doOffStage": true, }, ], "onAbilityStart": [ { "$type" : "Predicated", "target" : "Self", "targetPredicates" : [ { "$type" : "ByAny", "predicates" : [ { "$type": "ByHasElement", "element": "Electric", "target":"Self", }, { "$type": "ByTargetGlobalValue", "key": "HAS_ELECTRIC_FAIRY_BUFF", "value": 1, "target":"Self", "compareType": "Equal", }, ], }, ], "successActions" : [ { "$type": "ClearGlobalPos", "key": "_Electric_Core_Pos", "setTarget": false, //"doOffStage": true, }, { "$type": "Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "_IS_ELECTRIC_CORE", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "targetPredicates": [ ], "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":15, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "key": "_IS_ELECTRIC_CORE", "value": 1, "compareType": "Equal", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName":"Electric_Core_Cd", "target": "Target", }, { "$type": "SetGlobalPos", "target":"Target", "key": "_Electric_Core_Pos", "born": { "$type": "ConfigBornByTarget", "offset": { "x":0, "y":0, "z":0, }, }, "setTarget": false, }, ], }, { "$type":"RemoveModifier", "modifierName":"UNIQUE_Electric_Core_Fly", "predicates": [ { "$type": "ByNot", //以下两个条件满足任一,则返回false "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_Electric_Core_Pos_0", "value": 0, "compareType": "NoneOrEqual", "target": "Self", }, ], } ] }, { "$type":"ApplyModifier", "modifierName":"UNIQUE_Electric_Core_Fly", "predicates": [ { "$type": "ByNot", //以下两个条件满足任一,则返回false "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_Electric_Core_Pos_0", "value": 0, "compareType": "NoneOrEqual", "target": "Self", }, ], } ] }, ], }, ], "abilityMixins": [ { "$type": "AttachToStateIDMixin", "stateIDs": ["ActivitySkill_ElectricCoreFly"], "modifierName": "Electric_Core_Fly_Handler", }, ], "modifiers": { "UNIQUE_Electric_Core_Line": { "isUnique":true, "stacking":"Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixin", "modifierName":"LinePre", }, ], }, "ChangePlayMode": { "onAdded": [ { "$type": "ChangePlayMode", "toPlayMode": "ElectricCoreState", "muteRemoteAction": true, "doOffStage": true, }, ], "onRemoved": [ { "$type": "ChangePlayMode", "toPlayMode": "Normal", "muteRemoteAction": true, "doOffStage": true, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_UGCDungeon_ForbidSkill", "compareType": "Equal", "value": 0 } ] }, { "$type": "ChangePlayMode", "toPlayMode": "UGCForbidSkill", "muteRemoteAction": true, "doOffStage": true, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_UGCDungeon_ForbidSkill", "compareType": "Equal", "value": 1 } ] }, ] }, "LinePre": { /* "onAdded": [ { "$type": "ChangePlayMode", "toPlayMode": "ElectricCoreState", }, ], "onRemoved": [ { "$type": "ChangePlayMode", "toPlayMode": "Normal", }, ], */ "modifierMixins": [ { "$type":"AttachToStateIDMixin", "stateIDs":["Fly"], "modifierName":"ChangePlayMode", "isCheckOnAttach":true }, { "$type": "ElectricCoreLineMixin", "activateSkillKey":"AVATAR_Electric_Core", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "_IS_ELECTRIC_CORE", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":15, "logic": "LesserOrEqual", }, { "$type" : "ByAny", "predicates" : [ { "$type": "ByHasElement", "element": "Electric", "target":"Self", }, { "$type": "ByTargetGlobalValue", "key": "HAS_ELECTRIC_FAIRY_BUFF", "value": 1, "target":"Self", "compareType": "Equal", }, ], }, ], }, ] }, "Electric_Core_Cd": { "duration":1, "onAdded": [ { "$type":"SetGlobalValue", "key":"_IS_ELECTRIC_CORE", "target":"Self", "value" : 0, }, { "$type": "ChangeTag", "isAdd": false, "tag": "_IS_ELECTRIC_CORE", }, ], }, "Electric_Core_Effect": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Move", }, ], }, "ElectricAttach": { "duration":10, "elementType": "Electric", "elementDurability": 60, }, "ElectricEndure": { "duration":0.2, "properties": { "Actor_EndureDelta": 0.0, }, }, "UNIQUE_StreamingOptimization": { "duration":4.0, "isUnique":true, "modifierMixins": [ { "$type":"StreamingModifierMixin", } ] }, "Electric_Core_SwitchAirSkill": //切换空中技能 { "modifierMixins": [ { "$type": "AvatarChangeSkillMixin", "priority":"Playmode", "index": -1, //不希望替换槽但也想让它有飞行技能 "flySkillID": 20034, "jumpSkillID": 20034, }, ] }, "UNIQUE_Electric_Core_Fly": { "duration":4, "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "EntityDoSkill", "skillID": 20033, }, { "$type": "EntityDoSkill", "skillID": 20034, }, ], "modifierMixins": [ { "$type":"ElectricCoreMoveMixin", "stageOnceVelocity":30, "stageOneAccelerate":-5, "stageTwoVelocity":20, "stageTwoAttenuation":0.75, "maxAbsorbTime":1, "toPos": { "$type":"ConfigBornByGlobalValue", "positionKey": "_Electric_Core_Pos", "offset": { "x":0, "y":0, "z":0, }, }, "onCoreEnter": [ { "$type": "TriggerSetVisible", "visible": true, }, { "$type":"RemoveModifier", "modifierName":"Electric_Core_Effect", //掉球常驻 }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Out", }, { "doOffStage": true, "$type": "AvatarExitCameraShot", }, { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : false, "doOffStage": true, }, ], "onInterrupted": [ { "$type": "TriggerSetVisible", "visible": true, "doOffStage":true, }, { "$type":"RemoveModifier", "modifierName":"Electric_Core_Effect", //掉球常驻 "doOffStage":true, }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_Out", }, { "doOffStage": true, "$type": "AvatarExitCameraShot", }, { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : false, "doOffStage": true, }, ], "onStartSuccess": [ { "$type" : "SetVelocityIgnoreAirGY", "ignoreAirGY" : true, "doOffStage": true, }, { "$type": "RemoveVelocityForce", "forces": [ "SpeedupType" ], }, { "$type": "AddGlobalValue", "target":"Team", "key": "_ELECTRIC_CORE_TRIGGER_COUNT", "value": 1, "useLimitRange": true, "maxValue": 3, "minValue": 0, }, { "$type" : "AvatarCameraParam", "target" : "Self", "lockParam" : false, "cameraParam" : { "forceRadius" : 6.0, "forceRadiusDuration" : 0.3, "shouldKeepForceRadius" : true, }, }, { "$type": "FireEffect", "effectPattern": "Eff_Property_Ani_Prop_TeleportHighway_01_In", }, { "$type":"AttachModifier", "modifierName":"Electric_Core_Effect", }, { "$type":"ApplyModifier", "modifierName":"ElectricAttach", }, { "$type":"ApplyModifier", "modifierName":"ElectricEndure", }, { "$type":"ApplyModifier", "modifierName":"UNIQUE_StreamingOptimization", }, { "$type": "TriggerSetVisible", "visible": false, }, { "$type":"ActCameraShake", "cameraShake": { "shakeRange":6, "shakeTime":0.2, "shakeDistance":40, "extension": { "baseOnCamera":false } }, "born": { "$type":"ConfigBornBySelf" } }, //地城LD玩法使用,使用飞雷核后一段时间内不断恢复体力 { "$type": "Predicated", "target": "Self", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "_ActivityAbility_ReviveStamina_1", "value": 1, "compareType": "Equal", }, ], "successActions": [ { "$type":"ApplyModifier", "modifierName":"UNIQUE_ActivityAbility_ReviveStamina", "doOffStage":true, } ] }, ] }, ] }, "Electric_Core_Fly_Handler": //发送飞行指令 { "duration": 1.0, //最多飞1秒做保护 "stacking":"MultipleRefresh", "stackingOption": { "maxModifierNumForMultipleType": 1, }, "onAdded": [ { "$type": "SendEvtElectricCoreMoveEnterP1", }, ], "onRemoved": [ { "$type": "SendEvtElectricCoreMoveInterrupt", }, { "$type": "RemoveVelocityForce", "forces": ["LightCoreTypeNormal", "LightCoreTypeAccelerate"], }, ], }, "UNIQUE_ActivityAbility_ReviveStamina": { "isUnique":true, "stacking":"RefreshUniqueDurability", "duration":5, "thinkInterval": 1, "onThinkInterval": [ { "$type": "ReviveStamina", "value": 100, "doOffStage":true, }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石大世界 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Light_Stone_Play", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":10.0, }, "abilityMixins": [ { "$type":"DoActionOnGlobalValueChangeMixin", "globalValueKey":"Light_Stone_Energy", "actions": [ ] }, { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_Light_Point_Search", }, { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "Light_Stone_Level", "valueSteps": [-0.5, 2.5, 10.5], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_LitResonancerSearch01", "UNIQUE_LitResonancerSearch02"], }, ], "onAdded": [ { "$type": "CopyGlobalValue", "srcTarget": "Self", "doOffStage": true, "dstTarget": "Self", "srcKey": "Light_Stone_Level_Save", "dstKey": "Light_Stone_Level", }, { "$type": "CopyGlobalValue", "srcTarget": "Self", "doOffStage": true, "dstTarget": "Self", "srcKey": "Light_Stone_Energy_Save", "dstKey": "Light_Stone_Energy", }, { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"AttachModifier", "modifierName":"UNIQUE_Light_Stone_Effect", "target":"Self", "doOffStage":true, }, { "$type":"AttachModifier", "modifierName":"UNIQUE_Light_Stone_Skill", "target":"Self", "doOffStage":true, }, ], "onRemoved": [ { "$type": "CopyGlobalValue", "srcTarget": "Self", "doOffStage": true, "dstTarget": "Self", "srcKey": "Light_Stone_Level", "dstKey": "Light_Stone_Level_Save", }, { "$type": "CopyGlobalValue", "srcTarget": "Self", "doOffStage": true, "dstTarget": "Self", "srcKey": "Light_Stone_Energy", "dstKey": "Light_Stone_Energy_Save", }, { "$type":"SetGlobalValue", "key":"Light_Stone_Level", "target":"Self", "value" : 0, }, { "$type":"SetGlobalValue", "key":"Light_Stone_Energy", "target":"Self", "value" : 0, }, ], "modifiers": { "UNIQUE_LitResonancerSearch01": { "isUnique":true, "stacking": "Unique", "thinkInterval": 0.5, "onThinkInterval": [ { "$type":"Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "IS_LitResonancer", }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":3, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "target":"Self", "key": "Light_Stone_Energy", "value": 1, "compareType": "MoreThanAndEqual", }, ], "successActions": [ { "$type": "TriggerAbility", "abilityName": "SceneObj_Area_Common_Property_Ani_Prop_LitResonancer_01", "target": "Target", }, ] }, ], }, "UNIQUE_LitResonancerSearch02": { "isUnique":true, "stacking": "Unique", "thinkInterval": 0.5, "onThinkInterval": [ { "$type":"Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "IS_LitResonancer", }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":5, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "target":"Self", "key": "Light_Stone_Energy", "value": 1, "compareType": "MoreThanAndEqual", }, ], "successActions": [ { "$type": "TriggerAbility", "abilityName": "SceneObj_Area_Common_Property_Ani_Prop_LitResonancer_01", "target": "Target", }, ] }, ], }, "UNIQUE_Light_Point_Search": { "isUnique":true, "stacking": "Unique", "thinkInterval": 0.5, "onThinkInterval": [ { "$type":"Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "IS_LIGHT_POINT", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":6.5, "logic": "LesserOrEqual", }, /* { "$type": "ByTargetGlobalValue", "key": "IS_LIGHT_POINT", "value": 1, "compareType": "Equal", }, */ ], "successActions": [ { "$type":"ApplyModifier", "target":"Team", "modifierName":"UNIQUE_LightBuff" } ] }, ], }, "UNIQUE_LightBuff": { "duration":1.0, "isUnique":true, "stacking": "Refresh", "thinkInterval": 0.2, "onThinkInterval": [ { "$type" : "AddGlobalValue", "value" : 1, "key" : "Light_Stone_Energy", "useLimitRange" : true, "maxValue" : 10, "minValue" : 0, }, ], }, //流明石技能 "UNIQUE_Light_Stone_Skill": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ /* { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "Light_Stone_Level", "valueSteps": [-0.5, 3.5, 5.5,10.5], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_LightStoneSkill0", "UNIQUE_LightStoneSkill01","UNIQUE_LightStoneSkill02"], }, */ ], }, "UNIQUE_LightStoneSkill0": { "isUnique":true, "stacking": "Unique", }, "UNIQUE_LightStoneSkill01": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_Extra_Ability01", }, ] }, "UNIQUE_Extra_Ability01": { "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "ShowExtraAbility", "skillID": 20012, }, ], "onRemoved": [ //隐藏按键 { "$type": "ShowExtraAbility", "skillID": 0, }, ], }, "UNIQUE_LightStoneSkill02": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_Extra_Ability02", }, ] }, "UNIQUE_Extra_Ability02": { "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type": "ShowExtraAbility", "skillID": 20013, }, ], "onRemoved": [ //隐藏按键 { "$type": "ShowExtraAbility", "skillID": 0, }, ], }, //流明石特效 "UNIQUE_Light_Stone_Effect": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "Light_Stone_Level", "valueSteps": [-0.5, 1.5, 10.5], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_LightStoneLevel01", "UNIQUE_LightStoneLevel02"], }, ], }, "UNIQUE_LightStoneLevel01": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueAndTalkStateMixin", "globalValueKey": "Light_Stone_Energy", "valueSteps": [-0.5, 0.5,100], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Dark", "UNIQUE_LightStoneEff01"], }, ], }, "UNIQUE_LightStoneLevel02": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueAndTalkStateMixin", "globalValueKey": "Light_Stone_Energy", "valueSteps": [-0.5, 0.5,100], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Dark", "UNIQUE_LightStoneEff02"], }, ], }, "UNIQUE_LightStoneLevel03": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueAndTalkStateMixin", "globalValueKey": "Light_Stone_Energy", "valueSteps": [-0.5, 0.5,100], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Dark", "UNIQUE_LightStoneEff03"], }, ], }, "UNIQUE_Dark": { "isUnique":true, "stacking": "Unique", }, "UNIQUE_LightStoneEff01": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_LightStoneEff_Avatar01", }, ], }, "UNIQUE_LightStoneEff_Avatar01": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_LightStone01", }, ], }, "UNIQUE_LightStoneEff02": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_LightStoneEff_Avatar02", }, ], }, "UNIQUE_LightStoneEff_Avatar02": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_LightStone02", }, ], }, "UNIQUE_LightStoneEff03": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_LightStoneEff_Avatar03", }, ], }, "UNIQUE_LightStoneEff_Avatar03": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_LightStone03", }, ], }, } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石技能Lv1 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_LightStone_Lv1", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":10.0, }, "onAbilityStart": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"ApplyModifier", "target":"CurLocalAvatar", "modifierName":"DoSkill", "doOffStage":true, }, { "$type": "FireEffect", "effectPattern": "Eff_Stages_GainWave_02", "born": { "$type":"ConfigBornBySelf", }, }, { "$type":"AddGlobalValue", "key":"Light_Stone_Energy", "value": -1, "useLimitRange":true, "maxValue":10, "minValue":0, }, ], "onAdded": [ ], "onRemoved": [ ], "modifiers": { "DoSkill": { "duration":0.5, "onAdded": [ { "$type" : "TriggerAttackEvent", "target":"Self", "targetType" : "AllExceptSelf", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 5.0, //半径 "born": { "$type": "ConfigBornBySelf", }, }, "attackInfo": { "attackTag": "LightStoneSkillLv1", "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石技能Lv2 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_LightStone_Lv2", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":10.0, }, "onAbilityStart": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"ApplyModifier", "target":"CurLocalAvatar", "modifierName":"DoSkill", "doOffStage":true, }, { "$type": "FireEffect", "effectPattern": "Eff_Stages_GainWave_03", "born": { "$type":"ConfigBornBySelf", }, }, { "$type":"AddGlobalValue", "key":"Light_Stone_Energy", "value": -1, "useLimitRange":true, "maxValue":10, "minValue":0, }, ], "onAdded": [ ], "onRemoved": [ ], "modifiers": { "DoSkill": { "duration":0.5, "onAdded": [ { "$type" : "TriggerAttackEvent", "target":"Self", "targetType" : "AllExceptSelf", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 10.0, //半径 "born": { "$type": "ConfigBornBySelf", }, }, "attackInfo": { "attackTag": "LightStoneSkillLv2", "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石大世界-小道具版本 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Light_Stone_Play_Widget", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":10.0, }, "abilityMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"UNIQUE_Light_Point_Search", }, { "$type": "AttachModifierToSelfGlobalValueNoInitMixin", "globalValueKey": "SGV_Light_Stone_Level", "valueSteps": [-0.5, 2.5, 10.5], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_LitResonancerSearch01", "UNIQUE_LitResonancerSearch02"], }, ], "onAdded": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"AttachModifier", "modifierName":"UNIQUE_Light_Stone_Effect", "target":"Self", "doOffStage":true, }, { "$type":"AttachModifier", "modifierName":"UNIQUE_Black_Mud_Sprint_Enable", "target":"Self", "doOffStage":true, }, { "$type": "SetGlobalValue", "key": "_LIGHT_STONE_EQUIPED", "target": "Self", "value": 1, }, ], "onRemoved": [ { "$type": "SetGlobalValue", "key": "_LIGHT_STONE_EQUIPED", "target": "Self", "value": 0, }, ], "modifiers": { "UNIQUE_LitResonancerSearch01": { "isUnique":true, "stacking": "Unique", "thinkInterval": 0.5, "onThinkInterval": [ { "$type":"Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "IS_LitResonancer", }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":3, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "target":"Self", "key": "SGV_Light_Stone_Energy", "value": 1, "compareType": "MoreThanAndEqual", }, ], "successActions": [ { "$type": "TriggerAbility", "abilityName": "SceneObj_Area_Common_Property_Ani_Prop_LitResonancer_01", "target": "Target", }, // 深渊密码 { "$type": "TriggerAbility", "abilityName": "SceneObj_Area_Cyjy_Property_Ani_Prop_AbyssSummonSign_01", "target": "Target", }, ] }, ], }, "UNIQUE_LitResonancerSearch02": { "isUnique":true, "stacking": "Unique", "thinkInterval": 0.5, "onThinkInterval": [ { "$type":"Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "IS_LitResonancer", }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":5, "logic": "LesserOrEqual", }, { "$type": "ByTargetGlobalValue", "target":"Self", "key": "SGV_Light_Stone_Energy", "value": 1, "compareType": "MoreThanAndEqual", }, ], "successActions": [ { "$type": "TriggerAbility", "abilityName": "SceneObj_Area_Common_Property_Ani_Prop_LitResonancer_01", "target": "Target", }, // 深渊密码 { "$type": "TriggerAbility", "abilityName": "SceneObj_Area_Cyjy_Property_Ani_Prop_AbyssSummonSign_01", "target": "Target", }, ] }, ], }, "UNIQUE_Light_Point_Search": { "isUnique":true, "stacking": "Unique", "thinkInterval": 0.5, "onThinkInterval": [ { "$type":"Predicated", "otherTargets": { "$type": "SelectTargetsByTag", "tag": "IS_LIGHT_POINT", "topLimit" : 1, "sortType": "Nearest", //从近开始选 }, "predicates": [ { "$type":"ByTargetPositionToSelfPosition", "target":"Target", "compareType":"XYZ", "value":6.5, "logic": "LesserOrEqual", }, /* { "$type": "ByTargetGlobalValue", "key": "IS_LIGHT_POINT", "value": 1, "compareType": "Equal", }, */ ], "successActions": [ { "$type":"ApplyModifier", "target":"Team", "modifierName":"UNIQUE_LightBuff" } ] }, ], }, "UNIQUE_LightBuff": { "duration":1.0, "isUnique":true, "stacking": "Refresh", "thinkInterval": 0.2, "onThinkInterval": [ { "$type" : "AddRegionalPlayVarValue", "target":"CurLocalAvatar", "varType" : "LightStoneEnergy", "addValue" : 1.0, }, ], }, //流明石屏蔽屏蔽黑泥冲刺 "UNIQUE_Black_Mud_Sprint_Enable": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueNoInitMixin", "globalValueKey": "SGV_Light_Stone_Level", "valueSteps": [8.5, 10.5], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Sprint_Enable_Team"], }, ], }, "UNIQUE_Sprint_Enable_Team": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "UNIQUE_Sprint_Enable_Avatar", }, ], }, "UNIQUE_Sprint_Enable_Avatar": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "EnableSprintInBlackMudMixin", }, ], }, //流明石特效 "UNIQUE_Light_Stone_Effect": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueNoInitMixin", "globalValueKey": "SGV_Light_Stone_Level", "valueSteps": [-0.5, 2.5, 10.5], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_LightStoneLevel01", "UNIQUE_LightStoneLevel02"], }, ], }, "UNIQUE_LightStoneLevel01": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueAndTalkStateNoInitMixin", "globalValueKey": "SGV_Light_Stone_Energy", "valueSteps": [-0.5, 0.5,100], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Dark", "UNIQUE_LightStoneEff01"], }, ], }, "UNIQUE_LightStoneLevel02": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueAndTalkStateNoInitMixin", "globalValueKey": "SGV_Light_Stone_Energy", "valueSteps": [-0.5, 0.5,100], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Dark", "UNIQUE_LightStoneEff02"], }, ], }, "UNIQUE_LightStoneLevel03": { "isUnique":true, "stacking": "Unique", "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueAndTalkStateNoInitMixin", "globalValueKey": "SGV_Light_Stone_Energy", "valueSteps": [-0.5, 0.5,100], "removeAppliedModifier": true, "modifierNameSteps": ["UNIQUE_Dark", "UNIQUE_LightStoneEff03"], }, ], }, "UNIQUE_Dark": { "isUnique":true, "stacking": "Unique", }, "UNIQUE_LightStoneEff01": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_LightStone01", }, ], }, "UNIQUE_LightStoneEff02": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_LightStone02", }, ], }, "UNIQUE_LightStoneEff03": { "isUnique":true, "stacking": "Unique", "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_LightStone03", }, ], }, } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石技能管理器 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_LightStone_Skill_Handle", "isDynamicAbility":true, "onAbilityStart": [ { "$type":"Predicated", "target":"Team", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_Light_Stone_Level", "value": 1, "compareType": "MoreThan", }, ], "successActions": [ { "$type":"Predicated", "target":"Team", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_Light_Stone_Level", "value": 5, "compareType": "MoreThan", }, ], "successActions": [ { "$type": "TriggerAbility", "abilityName": "SceneObj_LightStone_Lv2_Widget", "target": "Self", }, ], "failActions": [ { "$type": "TriggerAbility", "abilityName": "SceneObj_LightStone_Lv1_Widget", "target": "Self", }, ], } ], }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石技能Lv1-小道具版本 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_LightStone_Lv1_Widget", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":0.0, }, "onAbilityStart": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"ApplyModifier", "target":"CurLocalAvatar", "modifierName":"DoSkill", "doOffStage":true, }, { "$type": "FireEffect", "target":"CurLocalAvatar", "doOffStage":true, "effectPattern": "Eff_SceneObj_LuminousShard_01_Lv1", }, ], "onAdded": [ ], "onRemoved": [ ], "modifiers": { "DoSkill": { "duration":0.5, "onAdded": [ { "$type" : "TriggerAttackEvent", "target":"Self", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 5.0, //半径 "born": { "$type": "ConfigBornBySelf", }, }, "attackInfo": { "attackTag": "LightStoneSkillLv1", "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 流明石技能Lv2-小道具版本 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"SceneObj_LightStone_Lv2_Widget", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":0.0, }, "onAbilityStart": [ { "$type": "SetSystemValueToOverrideMap", "key": "ElementLevelCo", "type": "ElementLevelCo", }, { "$type":"ApplyModifier", "target":"CurLocalAvatar", "modifierName":"DoSkill", "doOffStage":true, }, { "$type":"Predicated", "target":"Team", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_Light_Stone_Level", "value": 7, "compareType": "MoreThan", }, ], "successActions": [ { "$type": "FireEffect", "effectPattern": "Eff_SceneObj_LuminousShard_01_Lv2", "target":"CurLocalAvatar", "doOffStage":true, }, ], "failActions": [ { "$type": "FireEffect", "effectPattern": "Eff_SceneObj_LuminousShard_02_Lv2", "target":"CurLocalAvatar", "doOffStage":true, }, ], } ], "onAdded": [ ], "onRemoved": [ ], "modifiers": { "DoSkill": { "duration":0.5, "onAdded": [ { "$type":"Predicated", "target":"Team", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_Light_Stone_Level", "value": 8, "compareType": "MoreThan", }, ], "successActions": [ { "$type": "ReviveStamina", "value": 10, "doOffStage":true, }, ], }, { "$type":"Predicated", "target":"Team", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "SGV_Light_Stone_Level", "value": 7, "compareType": "MoreThan", }, ], "successActions": [ { "$type" : "TriggerAttackEvent", "target":"Self", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 10.0, //半径 "born": { "$type": "ConfigBornBySelf", }, }, "attackInfo": { "attackTag": "LightStoneSkillLv2", "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, ], "failActions": [ { "$type" : "TriggerAttackEvent", "target":"Self", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type": "ConfigAttackSphere", //攻击球 "triggerType": "TriggerNoRepeat", "radius": 5.0, //半径 "born": { "$type": "ConfigBornBySelf", }, }, "attackInfo": { "attackTag": "LightStoneSkillLv2", "attackProperty": { "damageExtra": "%ElementLevelCo*%DamagePercentage", "ignoreAttackerProperty": true, "trueDamage":true, "strikeType": "Default", "elementType":"None", "elementDurability":25, }, "hitPattern" : { "onHitEffectName": "none", "hitImpulseType":"LV2", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale": 0.01, "muteHitText": false, }, }, }, }, ], } ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 层岩入口传送处理 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"CYJY_Enter_TransPlayer_Handle_Tick", "isDynamicAbility":true, "abilitySpecials": { "ElementLevelCo": 1.0, "DamagePercentage":0.0, }, "onAdded": [ { "$type":"AttachModifier", "modifierName":"CYJY_Enter_TransPlayer_Handle_Team", "doOffStage":true, }, ], "modifiers": { "CYJY_Enter_TransPlayer_Handle_Team": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"CYJY_Enter_TransPlayer_Handle_Avatar", }, ], }, "CYJY_Enter_TransPlayer_Handle_Avatar": { "thinkInterval":0.5, "onAdded": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 133106456 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ], "onThinkInterval": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 133106456 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 莫娜梦境地城 Region开挑战处理 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"MonaDreamland_Enter_StartChallenge_TeamAbility", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"MonaDreamland_StarShooter_TryStartChallenge", }, ], "modifiers": { "MonaDreamland_StarShooter_TryStartChallenge": { "thinkInterval":4, "onThinkInterval": [ { "$type": "ServerLuaCall", "funcName": "SLC_StarShooter_TryStartChallenge", "luaCallType": "SpecificGroup", "CallParamList": [ 220136004 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, { "$type": "RemoveModifier", "modifierName":"MonaDreamland_StarShooter_TryStartChallenge", "predicates": [ { "$type":"BySceneLoaded", }, ], } ] }, } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 莫娜梦境地城 断线重连传送处理1 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"MonaDreamland_Enter_TransPlayer_Handle_Tick_1", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"MonaDreamland_Enter_TransPlayer_Handle_Team", "doOffStage":true, }, ], "modifiers": { "MonaDreamland_Enter_TransPlayer_Handle_Team": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"MonaDreamland_Enter_TransPlayer_Handle_Avatar", }, ], }, "MonaDreamland_Enter_TransPlayer_Handle_Avatar": { "thinkInterval":1, "onAdded": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 220134063 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ], "onThinkInterval": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 220134063 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 莫娜梦境地城 断线重连传送处理2 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"MonaDreamland_Enter_TransPlayer_Handle_Tick_2", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"MonaDreamland_Enter_TransPlayer_Handle_Team", "doOffStage":true, }, ], "modifiers": { "MonaDreamland_Enter_TransPlayer_Handle_Team": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"MonaDreamland_Enter_TransPlayer_Handle_Avatar", }, ], }, "MonaDreamland_Enter_TransPlayer_Handle_Avatar": { "thinkInterval":1, "onAdded": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 220134014 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ], "onThinkInterval": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 220134014 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 万叶梦境地城 黑白场景传送处理 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"KazuhaDreamland_Enter_TransPlayer_Handle_Tick", "isDynamicAbility":true, "onAdded": [ { "$type":"AttachModifier", "modifierName":"KazuhaDreamland_Enter_TransPlayer_Handle_Team", "doOffStage":true, }, ], "modifiers": { "KazuhaDreamland_Enter_TransPlayer_Handle_Team": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"KazuhaDreamland_Enter_TransPlayer_Handle_Avatar", }, ], }, "KazuhaDreamland_Enter_TransPlayer_Handle_Avatar": { "thinkInterval":1, "onAdded": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 220135001 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ], "onThinkInterval": [ { "$type": "ServerLuaCall", "luaCallType": "SpecificGroup", "funcName": "SLC_Try_Trans_Player", "CallParamList": [ 220135001 ], "predicates": [ { "$type":"BySceneLoaded", }, ], }, ] } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 爆炸魔药活动-t键技能 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"ActivityAbility_UnstableSpray", "isDynamicAbility":true, "onAbilityStart": [ {//通过SLC让lua告诉服务器,随机几个buff "$type": "ServerLuaCall", "doOffStage": true, "funcName": "SLC_TriggerAbility", "luaCallType": "CurGalleryControlGroup", }, {//设置t键状态,不设则cd无效 "$type": "SetExtraAbilityState", "state": "Start", }, {//todo:待替换,触发t键 "$type":"DebugLog", "content":"## UnstableSpray_Ability ability start", }, ], }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 爆炸魔药活动-t键cd /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"ActivityAbility_UnstableSpray_KeyController", "isDynamicAbility":true, "abilityMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "MonsterKilledListener", }, ], "onAdded": [ {//t键的gv值 "$type":"SetGlobalValue", "key":"UNSTABLE_SPRAY_CD", "value":100,//技能最大值 "target":"Self", }, {//添加t键 "$type": "ShowExtraAbility", "skillID": 20017, }, {//t键可用 "$type": "SetExtraAbilityEnable", "enable": true, }, ], "onRemoved": [ {//删除t键 "$type": "ShowExtraAbility", "skillID": 0, }, ], "modifiers": { "MonsterKilledListener": {//每杀死一个怪减cd "modifierMixins": [ { "$type":"DoActionByKillingMixin", "detectWindow":0.6, //todo: 时长待确认 "onKill": [ { "$type":"DebugLog", "content":"## UnstableSpray_Ability a monster is killed before", }, {//有最小cd值,小于这个值就不能再减了 "$type": "ModifyExtraSkillCD", "skillID": 20017, "cdDelta": -1, "cdMin" : 5, }, { "$type":"DebugLog", "content":"## UnstableSpray_Ability a monster is killed", }, ], } ], }, } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 幻梦之门-无限体力 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Dreamland_EndlessStamina", "isDynamicAbility":true, "onAdded": [ {//debug log "$type": "DebugLog", "content": "EndlessStamina ability group is added onto team @@Shuyi-dreamlandChallenge" }, // {//标记进入无限体力状态 // "$type": "SetGlobalValue", // "key": "_ActivityAbility_Dreamland_EndlessStamina_1", // "value": 1, // }, {//进入无限体力状态 "$type": "AttachModifier", "modifierName": "UNIQUE_EndlessStaminaBuff", "target": "Self", }, ], "modifiers": { "UNIQUE_EndlessStaminaBuff": { "isUnique": true, "stacking":"Refresh", "modifierMixins": [ {//加在当前玩家角色身上,切换角色时会跟着一起卸载并加在新角色身上 "$type":"CurLocalAvatarMixinV2", "modifierName":"EndlessStaminaBuff", }, ], }, "EndlessStaminaBuff": { "properties" : { "Animator_MoveSpeedRatio" : 0.3, "Actor_CostStaminaRatio": -0.9, }, } } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 幻梦之门-被打失败 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Dreamland_HitAndFail", "isDynamicAbility":true, "onAdded": [ {//进入监控被打状态 "$type": "AttachModifier", "modifierName": "UNIQUE_HitAndFailBuff", "target": "Self", }, { "$type":"SetGlobalValue", "key":"GV_Dreamland_PlayerHit_CD", "target":"Team", "value":0, }, ], "modifiers": { "UNIQUE_HitAndFailBuff": { "isUnique": true, "modifierMixins": [ {//加在当前玩家角色身上,切换角色时会跟着一起卸载并加在新角色身上 "$type":"CurLocalAvatarMixinV2", "modifierName":"HitAndFailBuff", }, ], }, "HitAndFailBuff": { "onAdded": [ { "$type": "DebugLog", "content": "## [DreamlandChallenge] hitAndFail modifier is added onto local avatar", }, ], "onBeingHit": [ { "$type": "Predicated", "target": "Other", "targetPredicates": [ { "$type": "ByEntityTypes", "entityTypes": ["Monster","Bullet"], }, ], "successActions": [ { "$type": "DebugLog", "content": "## [DreamlandChallenge] player is hit by monster or bulet", }, { "$type": "Predicated", "target": "Self", "predicates": [ { "$type": "ByHitDamage", "damage": 0, "logic": "Greater", "useOriginDamage": true, }, { "$type":"ByTargetGlobalValue", "key": "GV_Dreamland_PlayerHit_CD", "value": 0, "compareType": "NoneOrEqual" }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName": "UNIQUE_PlayerHit" }, ], }, ], }, ], }, "UNIQUE_PlayerHit": { "isUnique": true, "stacking": "Unique", "duration": 0.5,//cd时间 "onAdded": [ { "$type":"SetGlobalValue", "key":"GV_Dreamland_PlayerHit_CD", "target":"Team", "value":1, }, {//server lua call减挑战时间 "$type": "ServerLuaCall", "doOffStage": true, "funcName": "SLC_AvatarIsHitInDreamland", "luaCallType": "CurChallengeGroup", }, ], "onRemoved": [ { "$type":"SetGlobalValue", "key":"GV_Dreamland_PlayerHit_CD", "target":"Team", "value":0, }, ], }, } }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 幻梦之门-玩家身上特效-team /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Dreamland_SpiritNum", "isDynamicAbility":true, "abilityMixins": [ {//每次spiritNum++的时候进入新区间,给avatar同步一次值 "$type":"AttachModifierToSelfGlobalValueNoInitMixin", "globalValueKey":"SGV_DreamLand_SpiritNum", "valueSteps":[0.5,1.5,2.5,3.5,4.5,5.5,6.5,7.5,8.5,9.5,10.5,11.5,12.5,13.5,14.5,15.5], "modifierNameSteps":[ "AttachEffectToAvatar_01","AttachEffectToAvatar_02","AttachEffectToAvatar_03", "AttachEffectToAvatar_04","AttachEffectToAvatar_05","AttachEffectToAvatar_06", "AttachEffectToAvatar_07","AttachEffectToAvatar_08","AttachEffectToAvatar_09", "AttachEffectToAvatar_10","AttachEffectToAvatar_11","AttachEffectToAvatar_12", "AttachEffectToAvatar_13","AttachEffectToAvatar_14","AttachEffectToAvatar_15",], }, ], "modifiers": { "AttachEffectToAvatar_01": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_01", }, ], }, "SpiritEffect_01": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_01", } ] }, "AttachEffectToAvatar_02": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_02", }, ], }, "SpiritEffect_02": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_02", } ] }, "AttachEffectToAvatar_03": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_03", }, ], }, "SpiritEffect_03": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_03", } ] }, "AttachEffectToAvatar_04": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_04", }, ], }, "SpiritEffect_04": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_04", } ] }, "AttachEffectToAvatar_05": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_05", }, ], }, "SpiritEffect_05": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_05", } ] }, "AttachEffectToAvatar_06": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_06", }, ], }, "SpiritEffect_06": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_06", } ] }, "AttachEffectToAvatar_07": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_07", }, ], }, "SpiritEffect_07": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_07", } ] }, "AttachEffectToAvatar_08": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_08", }, ], }, "SpiritEffect_08": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_08", } ] }, "AttachEffectToAvatar_09": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_09", }, ], }, "SpiritEffect_09": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_09", } ] }, "AttachEffectToAvatar_10": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_10", }, ], }, "SpiritEffect_10": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_10", } ] }, "AttachEffectToAvatar_11": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_11", }, ], }, "SpiritEffect_11": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_11", } ] }, "AttachEffectToAvatar_12": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_12", }, ], }, "SpiritEffect_12": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_12", } ] }, "AttachEffectToAvatar_13": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_13", }, ], }, "SpiritEffect_13": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_13", } ] }, "AttachEffectToAvatar_14": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_14", }, ], }, "SpiritEffect_14": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_14", } ] }, "AttachEffectToAvatar_15": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"SpiritEffect_15", }, ], }, "SpiritEffect_15": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_SceneObj_Dramdoor_03_Buff_15", } ] }, }, }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 连续弹跳蘑菇-玩家 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"Continuous_Trampoline", "isDynamicAbility":true, "onAdded": [ {//team上 "$type": "AttachModifier", "modifierName": "CheckTrampolineFall", }, { "$type": "AttachModifier", "modifierName": "CheckIsJumping_Team", // "target": "CurLocalAvatar", }, { "$type":"SetGlobalValue", "key":"_ABILITY_Activity_Trampoline_Jump", "target":"Team", "useLimitRange":true, "value": 0, "maxValue":1, "minValue":0, }, { "$type":"SetGlobalValue", "key":"_ABILITY_Activity_Trampoline_JumpTimes", "target":"Team", "useLimitRange":true, "value": 0, "maxValue":1, "minValue":0, }, ], "abilityMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "CheckTrampolineJump", }, { "$type": "CurLocalAvatarMixinV2", "modifierName": "UNIQUE_OnAvatarKilled", }, { "$type": "ServerUpdateGlobalValueMixin", "key": "_ABILITY_Activity_Trampoline_JumpTimes", "minValue": 0, "maxValue": 1, "useLimitRange": true }, ], "modifiers": { "UNIQUE_OnAvatarKilled": {//记录角色死亡,一直存在于curLocalAvatar上 "isUnique": true, "stacking": "Unique", "onAdded": [ {//如果是因为切换角色导致这个modifier上身,也发一次失败 "$type":"ServerLuaCall", "doOffStage": true, "funcName":"SLC_Fall_Onto_Ground", "luaCallType": "CurChallengeGroup", }, ], "onKill": [ { "$type": "DebugLog", "content": "ContinuousTrampoline: avatar is killed" }, {//fail "$type":"ServerLuaCall", "doOffStage": true, "funcName":"SLC_Fall_Onto_Ground", "luaCallType": "CurChallengeGroup", }, ], }, "CheckTrampolineJump"://team上 {//检查玩家是否开始了蘑菇超级跳 "modifierMixins": [ { "$type": "DoActionOnGlobalValueChangeMixin", "globalValueKey": "SuccessTriggerTrampolineJump", "actions": [ { "$type":"ApplyModifier", "modifierName": "UNIQUE_Jump_Succeed_Once", "predicates": [ {//必须是主机玩家才能发slc "$type" : "ByAvatarIsHost", "target": "CurLocalAvatar", "isHost" : true, }, {//GV大于等于1 "$type": "ByTargetGlobalValue", "target": "CurLocalAvatar", "key": "SuccessTriggerTrampolineJump", "value": 1, "compareType": "MoreThanAndEqual" }, ], }, ] } ], /* "thinkInterval":0.1, "onThinkInterval": [ {//玩家起跳之后添加一个unique modifier "$type":"ApplyModifier", "modifierName": "UNIQUE_Jump_Succeed_Once",//从这里发slc "target": "CurLocalAvatar", "predicates": [ { "$type": "ByHasModifier", "modifierName": "UNIQUE_Trampoline_Jump_Unable", }, {//必须是主机玩家才能发slc "$type" : "ByAvatarIsHost", "isHost" : true, }, ] }, { "$type": "RemoveModifier", "modifierName": "UNIQUE_Jump_GV_Set_Zero", "target": "CurLocalAvatar", "predicates": [ { "$type": "ByHasModifier", "modifierName": "UNIQUE_Trampoline_Jump_Unable", }, {//必须是主机玩家才能发slc "$type" : "ByAvatarIsHost", "isHost" : true, }, ] } ], */ }, "CheckIsJumping_Team": { "modifierMixins": [ { "$type": "CurLocalAvatarMixinV2", "modifierName": "CheckIsJumping" }, ], "onReconnect": [ {//一旦重连立刻失败 "$type": "ApplyModifier", "modifierName": "UNIQUE_Fall_Onto_Ground", }, ], }, "CheckIsJumping": {//检查玩家是否在超级跳跃状态中,avatar身上 "modifierMixins": [ {//蘑菇跳允许的几个state,但有时候感觉FallOntoGround的modifier上身没跑onAdded导致没失败 "$type": "AttachToAnimatorStateIDMixin", "stateIDs": ["Jump", "DropDown", "Fly", "FlyStart", "JumpForRun", "JumpForWalk", "JumpForSprint", // "FallOnGround", "FallOnGroundLit", "FallToGroundRun", "FallToGroundRunHard", "FallToGroundSprint", ], "modifierName": "UNIQUE_Trampoline_Jump_Process", }, ], }, "CheckTrampolineFall": {//team上 "modifierMixins": [ { "$type": "AttachModifierToSelfGlobalValueMixin", "globalValueKey": "_ABILITY_Activity_Trampoline_Jump", "valueSteps" : [-0.5,0.5], "removeAppliedModifier":true, "modifierNameSteps" : ["UNIQUE_Fall_Onto_Ground",], }, ], }, "UNIQUE_Jump_Succeed_Once": {//avatar上 "isUnique":true, "stacking":"Unique", "duration": 0.05, "onAdded": [ {//jump times ++ "$type": "Predicated", "target": "Team", "targetPredicates": [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_Activity_Trampoline_JumpTimes", "target": "Team", "value": 0, "compareType": "Equal", }, ], "successActions": [ { "$type":"ServerLuaCall", "doOffStage": true, "funcName":"SLC_Jump_Succeed_Once", "luaCallType": "CurChallengeGroup", }, { "$type":"SetGlobalValue", "key":"_ABILITY_Activity_Trampoline_JumpTimes", "target":"Team", "useLimitRange":true, "value": 1, "maxValue":1, "minValue":0, }, ], }, ], "onRemoved": [ {//防止极短时间快速跳SuccessTriggerTrampolineJump "$type": "RemoveModifier", "modifierName": "UNIQUE_Jump_GV_Set_Zero", "predicates": [ {//必须是主机玩家才能发slc "$type" : "ByAvatarIsHost", "target": "CurLocalAvatar", "isHost" : true, }, {//GV大于等于1 "$type": "ByTargetGlobalValue", "target": "CurLocalAvatar", "key": "SuccessTriggerTrampolineJump", "value": 1, "compareType": "MoreThanAndEqual" }, ], }, {//remove的时候判一次当前是否在合法动作里,如果不在就再判一次,还不在就直接失败 "$type": "Predicated", "target": "Self", "targetPredicates": [ {//在非法状态里 "$type": "ByNot", "predicates": [ { "$type": "ByHasModifier", "modifierName": "UNIQUE_Trampoline_Jump_Process", }, ], }, ], "successActions": [ {//等0.5s再判一次 "$type":"ApplyModifier", "modifierName":"CheckSecondTime", }, ], "failActions": [ { "$type":"DebugLog", "content":"ContinuousTrampoline avatar has process modifier", }, ], }, ], }, "CheckSecondTime": {//avatar上 "duration": 0.5, "onRemoved": [ {//remove的时候判第二次当前是否在合法动作里 "$type": "Predicated", "target": "Self", "targetPredicates": [ {//在非法状态里 "$type": "ByNot", "predicates": [ { "$type": "ByHasModifier", "modifierName": "UNIQUE_Trampoline_Jump_Process", }, ], }, ], "successActions": [ { "$type":"ServerLuaCall", "doOffStage": true, "funcName":"SLC_Fall_Onto_Ground", "luaCallType": "CurChallengeGroup", }, ], }, ], }, "UNIQUE_Fall_Onto_Ground": {//team上 "isUnique":true, "stacking":"Unique", "onAdded": [ {//fail "$type":"ServerLuaCall", "doOffStage": true, "funcName":"SLC_Fall_Onto_Ground", "luaCallType": "CurChallengeGroup", }, ], }, "UNIQUE_Trampoline_Jump_Process": {//local avatar上 "isUnique":true, "stacking":"Unique", "onAdded": [ { "$type":"SetGlobalValue", "key":"_ABILITY_Activity_Trampoline_Jump", "target":"Team", "value":1, }, ], "onRemoved": [ { "$type": "ApplyModifier", "modifierName": "UNIQUE_Jump_GV_Set_Zero", "predicates": [//不是主机就不能把这个值设回0 { "$type" : "ByAvatarIsHost", "isHost" : true, }, ], }, ], }, "UNIQUE_Jump_GV_Set_Zero": {//出了超级跳允许的几个状态,判断一下出了之后过了多久,超过1s就要设为0了,1s内不用设为0 "isUnique": true, "stacking": "Unique", "duration": 0.7, "thinkInterval": 0.6, "onThinkInterval": [ { "$type":"SetGlobalValue", "key":"_ABILITY_Activity_Trampoline_Jump", "target":"Team", "value":0, }, ], }, }, }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 泰坦-玩家身上特效 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"TitanEnergy_EnergyNum", "isDynamicAbility":true, "onAdded": [ // {//debug log // "$type": "DebugLog", // "content": "## [TitanEnergy] energyNum is added onto team", // }, { "$type": "AttachModifier", "modifierName": "EnergyModifierToAvatar" }, ], "onRemoved": [ { "$type": "SendEffectTrigger", "parameter": "Die", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_01", }, { "$type": "SendEffectTrigger", "parameter": "Die", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_02", }, { "$type": "SendEffectTrigger", "parameter": "Die", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_03", }, { "$type": "SendEffectTrigger", "parameter": "Die", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_04", }, ], "modifiers": { "EnergyModifierToAvatar": { "onAdded": [ { "$type": "DebugLog", "content": "## [TitanEnergy] EnergyModifierToAvatar is attached to local avatar" } ], "modifierMixins": [ {//每次energy level变化的时候进入新区间,切换特效 "$type":"AttachModifierToSelfGlobalValueNoInitMixin", "globalValueKey":"SGV_ENERGY_LEVEL", "valueSteps":[0.5,1.5,2.5,3.5, 4.5], "modifierNameSteps":[ "AttachEnergyEffectToAvatar_01", "AttachEnergyEffectToAvatar_02", "AttachEnergyEffectToAvatar_03", "AttachEnergyEffectToAvatar_04"], }, ] }, "AttachEnergyEffectToAvatar_01": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"EnergyEffect_01", }, ], }, "EnergyEffect_01": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_01", } ] }, "AttachEnergyEffectToAvatar_02": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"EnergyEffect_02", }, ], }, "EnergyEffect_02": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_02", } ] }, "AttachEnergyEffectToAvatar_03": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"EnergyEffect_03", }, ], }, "EnergyEffect_03": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_03", } ] }, "AttachEnergyEffectToAvatar_04": { "modifierMixins": [ { "$type":"CurLocalAvatarMixinV2", "modifierName":"EnergyEffect_04", }, ], }, "EnergyEffect_04": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_ScenObj_EnergyShitou_Active_04", } ] }, }, }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 时停挑战活动-t键技能 /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type":"ConfigAbility", "abilityName":"ActivityAbility_MuqadasPotion_Key", "isDynamicAbility":true, "onAdded": [ {//t键的gv值 "$type":"SetGlobalValue", "key":"MuqadasPotion_Camera_Times", "value":0, "target":"Self", }, {//添加t键 "$type": "ShowExtraAbility", "skillID": 20019, }, {//t键可用 "$type": "SetExtraAbilityEnable", "enable": true, }, { "$type": "ApplyModifier", "target": "Team", "modifierName": "Self_Increase", }, ], "onAbilityStart": [ {//设置t键状态,不设则cd无效 "$type": "SetExtraAbilityState", "state": "Start", }, { "$type": "PushInterActionByConfigPath", "cfgPath": "UI/open_MuqadasPotionPhoto_page", //"cfgPath": "UI/open_Thunderbolt_page", "target" : "CurLocalAvatar", }, {//触发t键 "$type":"DebugLog", "content":"## TD: T键触发 - MuquadasPotion", }, ], "modifiers": { "Self_Increase": { "thinkInterval": 1, "onThinkInterval": [ /*{ "$type": "AddGlobalValue", "key":"MuqadasPotion_Camera_Times", "value": 20, "target": "Team", "useLimitRange": true, "maxValue": 3000, "minValue": 0, },*/ { "$type" : "ServerLuaCall", "luaCallType": "CurGalleryControlGroup", "funcName": "SLC_Self_Increase", }, ], }, }, }, }, ////////////////////////////////////////////////////////////////////////////////////////////// /// /// 3.0主线任务主角基础Buff /// ////////////////////////////////////////////////////////////////////////////////////////////// { "Default": { "$type": "ConfigAbility", "abilityName": "ActivityAbility_Challenge_MainQuest", "isDynamicAbility": true, "onAdded": [ { "$type": "AttachModifier", "modifierName": "Avatar_MainQuest_Property", }, ], "modifiers": { "Avatar_MainQuest_Property": { "isLimitedProperties": true, "properties": { "Actor_AttackDelta": 6000, "Actor_MaxHPDelta": 15000, "Actor_DefenceDelta": 800, }, }, }, }, }, ]