[ //ServerUploadTool Save to [/root/env/data/json/ability/Temp] //////////////////////////////////////////////// // // Burning // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Burning", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "BurningModifier", "target" : "Target", "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass"], }, ], }, { "$type": "ByTargetGlobalValue", "key": "_CUSTOM_ATTACK_SHAPE_TYPE", "value": 0, "compareType": "NoneOrEqual", }, { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_BURNING_ALTER", "value":0, "compareType":"NoneOrEqual", } ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "BurningModifier_Grass", "target" : "Target", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass"], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Burning_Alter_Modifier", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_CUSTOM_ATTACK_SHAPE_TYPE", "value": 0, "compareType": "NoneOrEqual", }, { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_BURNING_ALTER", "value":1, "compareType":"Equal", } ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "BurningModifier_Custom_Sphere", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_CUSTOM_ATTACK_SHAPE_TYPE", "value": 1, "compareType": "Equal", }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "BurningModifier_Custom_Box", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_CUSTOM_ATTACK_SHAPE_TYPE", "value": 2, "compareType": "Equal", }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "BurningModifier_Custom_Circle", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_CUSTOM_ATTACK_SHAPE_TYPE", "value": 3, "compareType": "Equal", }, ], }, ], "modifiers" : { "BurningModifier" : { /*"isUnique" : true,*/ "state" : "ElementBurning", "elementType" : "Fire", "elementDurability" : 50, "overrideWeaponElement" : true, "modifierMixins": [ { "$type":"OverrideStickElemUIMixin", "effName":"Burning", } ], "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning", "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster", "Grass", "Bush"], }, ], }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Shrub", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Bush"], }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Grass", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass"], }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Monster", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster"], }, ], }, { "$type" : "AttachModifier", "modifierName" : "UNIQUE_Burning_Immune_Modifier", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_BURNING_IGNITE_ONLY", "value": 1, "compareType": "Equal", }, ], }, ], "thinkInterval" : 0.25, "trimThinkInterval": true, "onThinkInterval" : [ { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "filterByFrame" : true, "radius" : 1.0, "born": { "$type": "ConfigBornByAttachPoint", // "attachPointTargetType":"Self", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, // "born": // { // "$type": "ConfigBornBySelectedPoint", // "useCorrectDir": true, // "useRotation": true, // }, }, "attackInfo": { "attackTag" : "BurningDamage", "attenuationTag": "BurningDamage", "attenuationGroup":"ElementReaction_Burning_Attenuation", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", // "target":"Self", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, { "$type" : "DamageByAttackValue", "target" : "Self", "born": { "$type": "ConfigBornByTarget", "offset" : { "x": 0.0, "y": 1.0, "z": 0.0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*0.1", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, "BurningModifier_Grass" : { /*"isUnique" : true,*/ "state" : "ElementBurning", "elementType" : "Fire", "elementDurability" : 50, "overrideWeaponElement" : true, "modifierMixins": [ { "$type": "TileAttackMixin", "attackID": "TileAttack_Grass", }, ], "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Grass", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass"], }, ], }, ], }, "Burning_Alter_Modifier" : { /*"isUnique" : true,*/ "state" : "ElementBurning", "elementType" : "Fire", "elementDurability" : 50, "overrideWeaponElement" : true, "modifierMixins": [ { "$type":"OverrideStickElemUIMixin", "effName":"Burning", } ], "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning", "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster", "Grass", "Bush"], }, ], }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Shrub", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Bush"], }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Grass", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass"], }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Burning_Monster", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster"], }, ], }, { "$type" : "AttachModifier", "modifierName" : "UNIQUE_Burning_Immune_Modifier", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_BURNING_IGNITE_ONLY", "value": 1, "compareType": "Equal", }, ], }, ], "thinkInterval" : 0.25, "trimThinkInterval": true, "onThinkInterval" : [ { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "filterByFrame" : true, "radius" : 1.0, "born": { "$type": "ConfigBornByAttachPoint", // "attachPointTargetType":"Self", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, // "born": // { // "$type": "ConfigBornBySelectedPoint", // "useCorrectDir": true, // "useRotation": true, // }, }, "attackInfo": { "attackTag" : "BurningDamage", "attenuationTag": "BurningDamage", "attenuationGroup":"ElementReaction_Burning_Attenuation", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Alter_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", // "target":"Self", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, { "$type" : "DamageByAttackValue", "target" : "Self", "born": { "$type": "ConfigBornByTarget", "offset" : { "x": 0.0, "y": 1.0, "z": 0.0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*0.1", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, "BurningModifier_Custom_Sphere" : { /*"isUnique" : true,*/ "state" : "ElementBurning", "elementType" : "Fire", "elementDurability" : 50, "overrideWeaponElement" : true, "onAdded": [ { "$type" : "AttachModifier", "modifierName" : "UNIQUE_Burning_Immune_Modifier", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_BURNING_IGNITE_ONLY", "value": 1, "compareType": "Equal", }, ], }, ], "thinkInterval" : 0.25, "trimThinkInterval": true, "onThinkInterval" : [ { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "filterByFrame" : true, "useCustomShape": true, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "BurningDamage", "attenuationTag": "BurningDamage", "attenuationGroup":"ElementReaction_Burning_Attenuation", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, { "$type" : "DamageByAttackValue", "target" : "Self", "born": { "$type": "ConfigBornByTarget", "offset" : { "x": 0.0, "y": 1.0, "z": 0.0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*0.1", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, "BurningModifier_Custom_Box" : { /*"isUnique" : true,*/ "state" : "ElementBurning", "elementType" : "Fire", "elementDurability" : 50, "overrideWeaponElement" : true, "onAdded": [ { "$type" : "AttachModifier", "modifierName" : "UNIQUE_Burning_Immune_Modifier", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_BURNING_IGNITE_ONLY", "value": 1, "compareType": "Equal", }, ], }, ], "thinkInterval" : 0.25, "trimThinkInterval": true, "onThinkInterval" : [ { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackBox", "triggerType" : "TriggerNoRepeat", "filterByFrame" : true, "useCustomShape": true, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "useRotation" : true, "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "BurningDamage", "attenuationTag": "BurningDamage", "attenuationGroup":"ElementReaction_Burning_Attenuation", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, { "$type" : "DamageByAttackValue", "target" : "Self", "born": { "$type": "ConfigBornByTarget", "offset" : { "x": 0.0, "y": 1.0, "z": 0.0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*0.1", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, "BurningModifier_Custom_Circle" : { /*"isUnique" : true,*/ "state" : "ElementBurning", "elementType" : "Fire", "elementDurability" : 50, "overrideWeaponElement" : true, "onAdded": [ { "$type" : "AttachModifier", "modifierName" : "UNIQUE_Burning_Immune_Modifier", "target" : "Target", "predicates" : [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_BURNING_IGNITE_ONLY", "value": 1, "compareType": "Equal", }, ], }, ], "thinkInterval" : 0.25, "trimThinkInterval": true, "onThinkInterval" : [ { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackCircle", "triggerType" : "TriggerNoRepeat", "filterByFrame" : true, "fanAngle": 360.0, "useCustomShape": true, "checkHitScene": false, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "useRotation" : true, "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "BurningDamage", "attenuationTag": "BurningDamage", "attenuationGroup":"ElementReaction_Burning_Attenuation", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, { "$type" : "DamageByAttackValue", "target" : "Self", "born": { "$type": "ConfigBornByTarget", "offset" : { "x": 0.0, "y": 1.0, "z": 0.0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 25, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*0.1", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Equip", "MonsterEquip"], }, ], }, ], }, "UNIQUE_Burning_Immune_Modifier": { "isUnique": true, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "BurningDamage", }, ], }, }, "abilitySpecials": { "ElementAbility_Burning_BaseReactionDamage" : 0, "Burning_Damage_Factor" : 0.25, "Burning_Alter_Damage_Factor":1.0, }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Burning_Fuel", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "GrassMaterialModifier", "target" : "Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "entityTypes":["Monster","Avatar",], // }, // ], }, ], "modifiers" : { "GrassMaterialModifier" : { "stacking" : "Refresh", "duration": "%Ability_Burning_Fuel_Duration+7", "elementType" : "Grass", "elementDurability": "%Ability_Burning_Fuel_Durability", }, }, "abilitySpecials": { "Ability_Burning_Fuel_Duration" : 0.1, "Ability_Burning_Fuel_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Burning Tile Attack Manager // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_BurningTileAttackManager", "isDynamicAbility":true, "abilityMixins": [ { "$type": "TileAttackManagerMixin", "attackID": "TileAttack_Grass", "interval": 0.25, "attackInfo": { "attenuationTag" : "BurningDamage", "attackTag" : "BurningDamage", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 50, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, { "$type": "TileAttackManagerMixin", "attackID": "TileAttack_Water", "interval": 2, "attackInfo": { "attackTag" : "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true }, }, }, { "$type": "TileComplexManagerMixin", "attackID": "TileAttack_FireSource", "interval": 0.5, "attackInfo": { "attenuationTag" : "BurningDamage", "attackTag" : "BurningDamage", "attackProperty": { "damagePercentage": 0, "elementType" : "Fire", "elementDurability" : 50, "strikeType": "None", "damageExtra": "%ElementAbility_Burning_BaseReactionDamage*%Burning_Damage_Factor", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true, }, }, }, // // Steam Tile Action // { "$type": "DoTileActionManagerMixin", "duration": 0.01, "actionID": "TileSteam", "actionPosKey": "ElementAbility_Steam_Pos", "actionRadiusKey": "ElementAbility_Steam_Radius", "actions": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Steam_Tile", "born": { "$type": "ConfigBornByGlobalValue", "positionKey": "ElementAbility_Steam_Pos", }, }, ], }, // // Overload Tile Action // { "$type": "DoTileActionManagerMixin", "duration": 0.01, "actionID": "GrassExplode", "actionPosKey": "ElementAbility_Explode_Pos", "actionRadiusKey": "ElementAbility_Explode_Radius", "actions": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overload_Explode", "born": { "$type": "ConfigBornByGlobalValue", "positionKey": "ElementAbility_Explode_Pos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Target", // DoTileAction会把applier作为otehr传进来 "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "radius" : "%ElementAbility_Explode_Radius+5", "born": { "$type": "ConfigBornByGlobalValue", "positionKey": "ElementAbility_Explode_Pos", }, }, "attackInfo": { "attackTag":"ExplodeDamage", "attenuationTag":"ExplodeDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0, "elementType":"Fire", "elementDurability":0, "damageExtra": "%ElementAbility_Explode_BaseReactionDamage*%Explode_Damage_Factor", "strikeType": "Blunt", "ignoreAttackerProperty": true, "enBreak":90, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV5", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, "forceCameraShake": true, "cameraShake": { "shakeRange": 0.48, "shakeTime": 0.24, }, }, }, }, ], }, // // Superconduct Tile Action // { "$type": "DoTileActionManagerMixin", "duration": 0.01, "actionID": "SuperconductExplode", "actionPosKey": "ElementAbility_Superconduct_Pos", "actionRadiusKey": "ElementAbility_Superconduct_Radius", "actions": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Superconductor", "born": { "$type": "ConfigBornByGlobalValue", "positionKey": "ElementAbility_Superconduct_Pos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Target", // DoTileAction会把applier作为otehr传进来 "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "radius" : "%ElementAbility_Superconduct_Radius+5", "born": { "$type": "ConfigBornByGlobalValue", "positionKey": "ElementAbility_Superconduct_Pos", }, }, "attackInfo": { "attackTag":"SuperconductorDamage", "attenuationTag":"SuperconductorDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "elementType":"Ice", "elementDurability":0, "damageExtra": "%ElementAbility_Superconductor_BaseReactionDamage*%Superconductor_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV3", "overrideHitImpulse": { "hitLevel": "Heavy", //hitlevel = 5 "hitImpulseX": 240, //hitlevel = 5 "hitImpulseY": 300, //hitlevel = 5 }, "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], }, // // 水草同步 // { "$type": "ScenePropSyncMixin", "isWorldType":true, }, ], "abilitySpecials": { // 这里的BaseReactionDamage,如果不注释掉就会直接用0,很有问题,需要查一下 //"ElementAbility_Burning_BaseReactionDamage" : 0, "Burning_Damage_Factor" : 0.25, "Burning_Alter_Damage_Factor":1.0, // //"ElementAbility_Electric_BaseReactionDamage" : 0, "Electric_Shock_Damage_Factor" : 1.2, // "ElementAbility_Steam_Pos_0": 0, "ElementAbility_Steam_Pos_1": 0, "ElementAbility_Steam_Pos_2": 0, "ElementAbility_Steam_Radius": 1, // //"ElementAbility_Explode_BaseReactionDamage": 0, "Explode_Damage_Factor" : 2, "ElementAbility_Explode_Pos_0": 0, "ElementAbility_Explode_Pos_1": 0, "ElementAbility_Explode_Pos_2": 0, "ElementAbility_Explode_Radius": 1, // //"ElementAbility_Superconductor_BaseReactionDamage": 0, "Superconductor_Damage_Factor" : 0.5, "ElementAbility_Superconduct_Pos_0": 0, "ElementAbility_Superconduct_Pos_1": 0, "ElementAbility_Superconduct_Pos_2": 0, "ElementAbility_Superconduct_Radius": 1, }, }, }, //////////////////////////////////////////////// // // Electric // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Electric", "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Electric_Modifier", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water", "Field","Grass"], }, ], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Shock_Modifier", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water", "Field","Grass"], }, ], }, { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_ELECTRIC_ALTER", "value":0, "compareType":"NoneOrEqual", } ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Shock_Alter_Modifier", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water", "Field","Grass"], }, ], }, { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_ELECTRIC_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", } ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Electrified_Water", "target" : "Target", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], "modifiers" : { "Electric_Modifier" : { /*"isUnique" : true,*/ "stacking" : "Overlap", "elementType": "Electric", "duration": "%Ability_Electric_Duration", "elementDurability": "%Ability_Electric_Durability", "overrideWeaponElement" : false, "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Shock_Loop", }, ], }, "Shock_Modifier" : { /*"isUnique" : true,*/ "state" : "ElementShock", "elementType" : "None", "overrideWeaponElement" : false, "onAdded" : [ { "$type" : "DamageByAttackValue", "attacker" : "Self", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR0_5", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", "topLimit" : 1, }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "Eff_Element_Shock_Damage", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, ], "modifierMixins": [ { "$type": "ElementReactionShockMixin", "thinkInterval" : 1.0, "attackAction": { "$type" : "DamageByAttackValue", "attacker" : "Self", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR0_5", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", }, "born": { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "Eff_Element_Shock_Damage", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type": "ByTargetType", "targetType":"Self", "isTarget":true, }, { "$type" : "ByHasElement", "element" : "Water", }, { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar", "Monster", "Gear","MonsterEquip", "Partner"], }, ], }, "conductAction": { "$type": "ApplyModifier", "modifierName": "ConductShock", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR10H3", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", "topLimit" : 1, }, "predicates": [ { "$type": "ByTargetType", "targetType":"Self", "isTarget":false, }, { "$type" : "ByHasElement", "element" : "Water", }, { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar", "Monster", "Gear", "Partner"], }, { "$type" : "ByTargetGlobalValue", "key" : "Element_Electric_Shock_Rencently_Shocked", "value" : 0, "maxvalue" : 1, "compareType" : "NoneOrEqual", }, ], }, }, ], "onAttackLanded" : [ { "$type" : "ApplyModifier", "target" : "Self", "modifierName" : "Shock_Modifier_Wane", "predicates": [ { "$type" : "ByAttackTags", "attackTags" : ["ShockDamage"], }, ], }, ], }, "Shock_Alter_Modifier" : { /*"isUnique" : true,*/ "state" : "ElementShock", "elementType" : "None", "overrideWeaponElement" : false, "onAdded" : [ { "$type" : "DamageByAttackValue", "attacker" : "Self", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR0_5", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", "topLimit" : 1, }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Alter_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "Eff_Element_Shock_Damage", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, ], "modifierMixins": [ { "$type": "ElementReactionShockMixin", "thinkInterval" : 0.5, "attackAction": { "$type" : "DamageByAttackValue", "attacker" : "Self", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR0_5", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", }, "born": { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Alter_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "Eff_Element_Shock_Damage", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type": "ByTargetType", "targetType":"Self", "isTarget":true, }, { "$type" : "ByHasElement", "element" : "Water", }, { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar", "Monster", "Gear", "MonsterEquip", "Partner"], }, ], }, "conductAction": { "$type": "ApplyModifier", "modifierName": "ConductShock_Alter", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR20H10", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", "topLimit" : 1, }, "predicates": [ { "$type": "ByTargetType", "targetType":"Self", "isTarget":false, }, { "$type" : "ByHasElement", "element" : "Water", }, { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar", "Monster", "Gear", "Partner"], }, { "$type" : "ByTargetGlobalValue", "key" : "Element_Electric_Shock_Rencently_Shocked", "value" : 0, "maxvalue" : 1, "compareType" : "NoneOrEqual", }, ], }, }, ], "onAttackLanded" : [ { "$type" : "ApplyModifier", "target" : "Self", "modifierName" : "Shock_Modifier_Wane", "predicates": [ { "$type" : "ByAttackTags", "attackTags" : ["ShockDamage"], }, ], }, ], }, "Shock_Modifier_Wane" : { /*"isUnique" : true,*/ "duration" : 0.1, "onAdded" : [ { "$type" : "AddElementDurability", "value" : -10, "elementType" : "Water", "sortModifier": "All", "useLimitRange": true, "minValue": 0.0, }, { "$type" : "AddElementDurability", "value" : -10, "elementType" : "Electric", "sortModifier": "All", "useLimitRange": true, "minValue": 0.0, }, ], }, "ConductShock" : { /*"isUnique" : true,*/ "duration": 0.1, "onAdded": [ // { // "$type" : "UpdateReactionDamage", // "levelTarget":"Applier", // "reactionDamageName" : "ElementAbility_Electric_BaseReactionDamage" // }, { "$type":"DoWatcherSystemAction", "watcherId":1011, "authorityOnly":true, }, { "$type":"CopyGlobalValue", "srcTarget":"Applier", "srcKey":"ElementAbility_Electric_BaseReactionDamage", "dstKey":"ElementAbility_Electric_BaseReactionDamage", }, { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Conduct_Lightning", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "attachPointTargetType":"Applier", "offset": { "x":0, "y":0, "z":0, }, }, }, { "$type" : "DamageByAttackValue", "attacker" : "Self", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "Eff_Element_Shock_Damage", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, { "$type" : "ApplyModifier", "modifierName" : "UNIQUE_Electric_Shock_Recently_Shocked", }, ], }, "ConductShock_Alter" : { /*"isUnique" : true,*/ "duration": 0.1, "onAdded": [ // { // "$type" : "UpdateReactionDamage", // "levelTarget":"Applier", // "reactionDamageName" : "ElementAbility_Electric_BaseReactionDamage" // }, { "$type":"CopyGlobalValue", "srcTarget":"Applier", "srcKey":"ElementAbility_Electric_BaseReactionDamage", "dstKey":"ElementAbility_Electric_BaseReactionDamage", }, { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Conduct_Lightning", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "attachPointTargetType":"Applier", "offset": { "x":0, "y":0, "z":0, }, }, }, { "$type" : "DamageByAttackValue", "attacker" : "Self", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Alter_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "Eff_Element_Shock_Damage", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, { "$type" : "ApplyModifier", "modifierName" : "UNIQUE_Electric_Shock_Recently_Shocked", }, ], }, "UNIQUE_Electric_Shock_Recently_Shocked": { "duration" : 1.0, "isUnique" : true, "stacking" : "Unique", "onAdded": [ { "$type" : "AddGlobalValue", "key" : "Element_Electric_Shock_Rencently_Shocked", "value" : 1, "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, ], "onRemoved": [ { "$type" : "AddGlobalValue", "key" : "Element_Electric_Shock_Rencently_Shocked", "value" : -1, "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, ], }, "Electrified_Water": { /*"isUnique" : true,*/ "isDurabilityGlobal" : true, "duration": "%Ability_Electric_Duration", "elementDurability": "%Ability_Electric_Durability", "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Conductive_Water", }, ], "thinkInterval" : 2.0, "trimThinkInterval": true, "onThinkInterval" : [ { "$type" : "TriggerAttackEvent", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "filterByFrame" : true, "radius" : 3.0, "born": { "$type" : "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : -1.5, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "ShockDamage", "attenuationTag":"ShockDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0, "damageExtra": "%ElementAbility_Electric_BaseReactionDamage*%Electric_Shock_Damage_Factor", "elementType" : "Electric", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, "recurring": true }, }, }, }, ], "onAttackLanded" : [ { "$type" : "AddElementDurability", "modifierName" : "Electrified_Water", "value" : -20, "useLimitRange": true, "minValue": 0.0, "predicates": [ { "$type" : "ByAttackTags", "attackTags" : ["ShockDamage"], }, ], }, ], }, }, "abilitySpecials": { "ElementAbility_Electric_BaseReactionDamage" : 0, "Electric_Shock_Damage_Factor" : 1.2, "Electric_Shock_Alter_Damage_Factor":3, "Ability_Electric_Duration" : 0.2, "Ability_Electric_Durability" : 1, }, }, }, //////////////////////////////////////////////// // // Wet // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Wet", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "WetModifier", "target" : "Target", }, ], "modifiers" : { "WetModifier" : { /*"isUnique" : true,*/ "state" : "ElementWet", "overrideWeaponElement" : false, "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Wet", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar" ,"Partner"], }, ], }, //效果测试 { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Wet_Monster", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster"], }, { "$type" : "ByTargetGlobalValue", "key" : "_ANIMAL_ENTITY_TYPE", "value" : 0, "compareType" : "NoneOrEqual", }, ], }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Wet_Added", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster"], }, { "$type" : "ByTargetGlobalValue", "key" : "_ANIMAL_ENTITY_TYPE", "value" : 0, "compareType" : "NoneOrEqual", }, ], }, ], } }, }, }, //////////////////////////////////////////////// // // Ice // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Ice", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "IceModifier", "target" : "Target", }, ], "modifiers" : { "IceModifier" : { /*"isUnique" : true,*/ "state" : "ElementIce", "stacking" : "Overlap", "duration": "%Ability_Ice_Duration+7", "elementType" : "Ice", "elementDurability": "%Ability_Ice_Durability", "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Ice", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Avatar", "Monster","Gear" ,"Partner"], }, ], }, ], "properties" : { "Animator_OverallSpeedRatioMultiplied" : 0.85, }, } }, "abilitySpecials": { "Ability_Ice_Duration" : 0.1, "Ability_Ice_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Steam // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Steam", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "SteamModifier", "target" : "Target", }, ], "modifiers" : { "SteamModifier" : { /*"isUnique" : true,*/ "duration" : 2.0, "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Steam", }, //怪物身上的蒸发效果不够明显 { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Steam_Added", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster"], }, ], }, ], } }, }, }, //////////////////////////////////////////////// // // Explode // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Explode", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "ExplodeModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Grass"], "reject":true, }, { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_EXPLODE_ALTER", "value":0, // "forceByCaster":true, "compareType":"NoneOrEqual", }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Grass_ExplodeModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Grass"], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Explode_Alter_Modifier", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_EXPLODE_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type":"ByEntityTypes", "entityTypes":["Grass"], "reject":true, }, ], }, ], "modifiers": { "ExplodeModifier": { "duration":0.1, "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overload_Explode", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, // "born": // { // "$type": "ConfigBornBySelf", // //"attachPointName" : "RootNode", // "offset" : // { // "x": 0.0, // "y" : 0.0, // "z" : 0.0, // }, // }, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"ExplodeDamage", "attenuationTag":"ExplodeDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0, "elementType":"Fire", "elementDurability":0, "damageExtra": "%ElementAbility_Explode_BaseReactionDamage*%Explode_Damage_Factor", "strikeType": "Blunt", "ignoreAttackerProperty": true, "enBreak":90, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV5", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], }, "Grass_ExplodeModifier": { "duration":0.1, "onAdded": [ // 转到TILE里去做 { "$type" : "DoTileAction", "actionID": "GrassExplode", } /* { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overload_Explode", "target" : "Self", }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 2.0, "born": { "$type": "ConfigBornBySelf", //"attachPointName" : "RootNode", "offset" : { "x": 0.0, "y" : 0.0, "z" : 0.0, }, }, "filterByFrame":true,//一片草只能炸一下 }, "attackInfo": { "attackTag":"ExplodeDamage", "attackProperty": { "damagePercentage": 0, "elementType":"Fire", "elementDurability":0, "damageExtra": "%ElementAbility_Explode_BaseReactionDamage*%Explode_Damage_Factor", "strikeType": "Blunt", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "", "hitLevel": "Air", //hitlevel = 5 "hitImpulseX": 480, //hitlevel = 5 "hitImpulseY": 600, //hitlevel = 5 "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, */ ], }, "Explode_Alter_Modifier": { "duration":0.15, "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overload_Explode", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, // "born": // { // "$type": "ConfigBornBySelf", // //"attachPointName" : "RootNode", // "offset" : // { // "x": 0.0, // "y" : 0.0, // "z" : 0.0, // }, // }, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"ExplodeDamage", "attenuationTag":"ExplodeDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_2", "attackProperty": { "damagePercentage": 0, "elementType":"Fire", "elementDurability":0, "damageExtra": "%ElementAbility_Explode_BaseReactionDamage*%Explode_Alter_Damage_Factor", "strikeType": "Blunt", "ignoreAttackerProperty": true, "enBreak":112.5, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV5", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], }, }, "abilitySpecials": { "ElementAbility_Explode_BaseReactionDamage" : 0, "Explode_Damage_Factor" : 2, "Explode_Alter_Damage_Factor" : 6, }, }, }, //////////////////////////////////////////////// // // Frozen / Freeze // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Frozen", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "FrozenModifier", "target" : "Target", "predicates"://绿皮做法,1.0临时处理先遣队的冰盾会被钝击扣含量的问题 [ { "$type":"ByTargetGlobalValue", "key":"_MONSTER_SIGNLEELEMENTMETHOD_FROZEN_", "value":0, "compareType":"NoneOrEqual", }, ], }, ], "modifiers" : { "FrozenModifier" : { /*"isUnique" : true,*/ "state" : "ElementFrozen", "modifierMixins": [ { "$type": "AttackCostElementMixin", "strikeType": "Blunt", "strikeCostRatio": 0.15, "costElementType": "Frozen", "costType":"Max", }, { "$type":"OverrideStickElemUIMixin", "effName":"Frozen", } ], } }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Freeze", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "FreezeModifier", "target" : "Target", "predicates" : [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_FREEZE_ALTER", "value":0, "compareType":"NoneOrEqual", } ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Freeze_Alter_Modifier", "target" : "Target", "predicates" : [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_FREEZE_ALTER", "value":1, "compareType":"Equal", } ], }, ], "modifiers" : { "FreezeModifier" : { /*"isUnique" : true,*/ "stacking" : "Overlap", "state" : "ElementFreeze", "duration": "%Ability_Freeze_Duration", "elementType": "Frozen", "elementDurability": "%Ability_Freeze_Durability", "overrideWeaponElement" : true, "purgeIncrement" : 0.25, "modifierMixins": [ { "$type":"OverrideStickElemUIMixin", "effName":"Frozen", } ], "onAdded" : [ { "$type": "AttachAbilityStateResistance", "resistanceListID": 14006, //抵抗石化 }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14007, //抵抗时停 }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Frozen", "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], }, { "$type" : "TriggerAudio", "responder" : "Receiver", "operation": { "$type": "ConfigAudioEventOp", "operation": { "text" : "Play_sfx_elem_freeze" } }, }, ], "onRemoved": [ { "$type" : "DamageByAttackValue", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0.0, "damageExtra": 0.0, "elementType" : "None", "elementDurability" : 0, "strikeType": "None", }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, { "$type" : "TriggerAudio", "responder" : "Receiver", "operation": { "$type": "ConfigAudioEventOp", "operation": { "text" : "Play_sfx_elem_freeze_break" } }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], }, { "$type" : "TriggerAudio", "responder" : "Receiver", "operation": { "$type": "ConfigAudioEventOp", "operation": { "text" : "Play_sfx_elem_frozenWater" } }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], "onKill": [ { "$type":"DoWatcherSystemAction", "watcherId":82015, "authorityOnly":true, "predicates": [ { "$type":"ByAttackTags", "attackTags":["FrozenBrokenDamage"], }, { "$type":"ByEntityTypes", "entityTypes":["Monster"], }, ], }, { "$type": "RemoveModifier", "modifierName": "FreezeModifier", "predicates": [ { "$type": "ByEntityTypes", "entityTypes": [ "Avatar" ], }, ], }, ], "properties" : { "Actor_EndureDelta" : 0, "Actor_CostStaminaRatio" : -999, }, }, "Freeze_Alter_Modifier" : { /*"isUnique" : true,*/ "stacking" : "Overlap", "state" : "ElementFreeze", "duration": "%Ability_Freeze_Duration*%Ability_Freeze_Alter_DurationRate", "elementType": "Frozen", "elementDurability": "%Ability_Freeze_Durability", "overrideWeaponElement" : true, "purgeIncrement" : 0.25, "modifierMixins": [ { "$type":"OverrideStickElemUIMixin", "effName":"Frozen", } ], "onAdded" : [ { "$type": "AttachAbilityStateResistance", "resistanceListID": 14006, //抵抗石化 }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14007, //抵抗时停 }, { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Frozen", "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], }, { "$type" : "TriggerAudio", "responder" : "Receiver", "operation": { "$type": "ConfigAudioEventOp", "operation": { "text" : "Play_sfx_elem_freeze" } }, }, ], "onRemoved": [ { "$type" : "DamageByAttackValue", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackProperty": { "damagePercentage": 0.0, "damageExtra": 0.0, "elementType" : "None", "elementDurability" : 0, "strikeType": "None", }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, { "$type" : "TriggerAudio", "responder" : "Receiver", "operation": { "$type": "ConfigAudioEventOp", "operation": { "text" : "Play_sfx_elem_freeze_break" } }, "predicates" : [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], }, { "$type" : "TriggerAudio", "responder" : "Receiver", "operation": { "$type": "ConfigAudioEventOp", "operation": { "text" : "Play_sfx_elem_frozenWater" } }, "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Water"], }, ], }, ], "onKill": [ { "$type":"DoWatcherSystemAction", "watcherId":82015, "authorityOnly":true, "predicates": [ { "$type":"ByAttackTags", "attackTags":["FrozenBrokenDamage"], }, { "$type":"ByEntityTypes", "entityTypes":["Monster"], }, ], }, { "$type": "RemoveModifier", "modifierName": "FreezeModifier", "predicates": [ { "$type": "ByEntityTypes", "entityTypes": [ "Avatar" ], }, ], }, ], "properties" : { "Actor_EndureDelta" : 0, "Actor_CostStaminaRatio" : -999, }, }, }, "abilitySpecials": { "Freeze_BaseReactionDamage":0, "Ability_Freeze_Duration" : 0.2, "Ability_Freeze_Durability" : 2, "Ability_Freeze_Alter_DurationRate": 4, "ElementAbility_Freeze_BaseReactionDamage" : 0, "FrozenBroken_Damage_Factor" : 1.5, }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Frozen_Broken", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "FrozenBrokenModifier", "target" : "Target", }, ], "modifiers" : { "FrozenBrokenModifier": { "duration":0.2, "onAdded": [ { "$type": "FireEffect", "effectPattern": "Eff_Element_FreezeBroken", "target" : "Self", "predicates": [ { "$type":"ByNot", "predicates": [ { "$type":"ByEntityTypes", "target":"Self", "entityTypes":["Water"], }, ], }, ], }, { "$type": "ActCameraShake", "cameraShake": { "shakeType": "Center", "shakeRange": 1.1, "shakeTime": 0.15, "shakeDistance": 30, }, }, { "$type" : "DamageByAttackValue", "target" : "Self", "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "FrozenBrokenDamage", "attenuationTag":"FrozenBrokenDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "damageExtra": "%ElementAbility_Frozen_Broken_BaseReactionDamage*%FrozenBroken_Damage_Factor", "elementType" : "None", "elementDurability" : 0, "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "",//Eff_WhiteBox_FrozeBroken "hitImpulseType":"LV3", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, // { // "$type" : "AddElementDurability", // "value" : -200, // "elementType" : "Frozen", // "sortModifier": "DurabilityDes", // "useLimitRange": true, // "minValue": 0.0, // }, ] }, }, "abilitySpecials": { "Freeze_BaseReactionDamage":0, "ElementAbility_Frozen_Broken_BaseReactionDamage" : 0, "FrozenBroken_Damage_Factor" : 1.5, }, }, }, //////////////////////////////////////////////// // // Melt // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Melt", "isDynamicAbility":true, "onAbilityStart" : [ // { // "$type" : "ApplyLevelModifier", // "modifierName" : "MeltModifier", // "target" : "Self", // }, { "$type" : "ApplyLevelModifier", "modifierName" : "MeltSteamModifier", "target" : "Target", }, ], "modifiers" : { "MeltModifier" : { /*"isUnique" : true,*/ "elementType": "Water", "elementDurability": 10, "duration" : 5.0, }, "MeltSteamModifier" : { /*"isUnique" : true,*/ "duration" : 2.0, "fireEventWhenApply": true, "onAdded" : [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Steam", }, //怪物身上的蒸发效果不够明显 { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_Steam_Added", "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster"], }, ], }, ], }, }, "abilitySpecials": { "ElementAbility_Melt_BaseReactionDamage" : 0, "Melt_Damage_Factor" : 1.5, }, }, }, //////////////////////////////////////////////// // // Rock // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Rock", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "RockModifier", "target" : "Target", }, ], "modifiers" : { "RockModifier" : { /*"isUnique" : true,*/ "state" : "ElementRock", "modifierMixins": [ { "$type": "AttackCostElementMixin", "strikeType": "Blunt", "strikeCostRatio": 0.35, "attackType": "Melee", "attackCostRatio":0.05, "costType":"Max", "costElementType": "Rock", }, ], // "properties" : // { // "Entity_WeightRatio" : 0.5, // "Actor_ElemAttackByRockRatio":0.25, // // "Actor_ElemDefenseByRockRatio":0.25, // }, }, }, }, }, //////////////////////////////////////////////// // // Crash // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "Unique_AbilityCrash", "isDynamicAbility":true, "onAdded" : [ { "$type" : "ApplyModifier", "modifierName" : "UNIQUE_CrashModifier", "target" : "Self", }, ], "modifiers" : { "UNIQUE_CrashModifier" : { "isUnique" : true, "onCrash" : [ { "$type": "SetCrashDamage", "maxVelocity": 40, "minDamage": 10, "maxDamage": 100, "key": "CrashDamageParam", "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_CRASH_RECENTLY_CRASHED", "value": 0, "compareType": "NoneOrEqual", }, ], }, { "$type": "FireEffect", "effectPattern": "Eff_Hit_None_Blunt_Small", "born": { "$type": "ConfigBornByGlobalValue", "positionKey": "CrashDamageParam", }, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_CRASH_RECENTLY_CRASHED", "value": 0, "compareType": "NoneOrEqual", }, ], }, { "$type": "TriggerAttackEvent", "targetType": "Self", "attackEvent": { "attackPattern": { "$type": "ConfigAttackSphere", "duration": 0.0, "triggerType": "TriggerNoRepeat", "radius": 1, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName": "RootNode", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, "attackInfo": { "attackTag":"CrashDamage", "attackProperty": { "damagePercentage": 0, "elementDurability": 20, "trueDamage": true, "damageExtra": "%CrashDamageParam" }, "hitPattern": { "hitImpulseType":"LV1", "hitHaltTime": 0.0, "hitHaltTimeScale": 0.05, "muteHitText": false, }, "forceCameraShake": false, /* "cameraShake": { "shakeRange": 0.24, "shakeTime": 0.12, },*/ }, }, "predicates": [ { "$type": "ByTargetGlobalValue", "key": "_ABILITY_CRASH_RECENTLY_CRASHED", "value": 0, "compareType": "NoneOrEqual", }, ], }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_Crash_Recently_Crashed", "target": "Self", }, ], }, "UNIQUE_Crash_Recently_Crashed": { "duration": 1.5, "isUnique": true, "stacking": "Unique", "onAdded": [ { "$type" : "AddGlobalValue", "key" : "_ABILITY_CRASH_RECENTLY_CRASHED", "value" : 1, "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, ], "onRemoved": [ { "$type" : "AddGlobalValue", "key" : "_ABILITY_CRASH_RECENTLY_CRASHED", "value" : -10, "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, ], }, }, }, }, //////////////////////////////////////////////// // // Resist Debuff // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "AbilityResistCommonDebuff", "onAdded" : [ { "$type" : "ApplyModifier", "modifierName" : "ResistCommonDebuff", "target" : "Self", }, ], "modifiers" : { "ResistCommonDebuff" : { "onAdded" : [ { "$type" : "AttachAbilityStateResistance", "resistanceListID": 13002, }, ], }, }, }, }, //////////////////////////////////////////////// // // Resist Frozen // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "AbilityResistFrozen", "onAdded" : [ { "$type" : "ApplyModifier", "modifierName" : "ResistFrozen", "target" : "Self", }, ], "modifiers" : { "ResistFrozen" : { "onAdded" : [ { "$type" : "AttachAbilityStateResistance", "resistanceListID": 14002, }, ], }, }, }, }, //////////////////////////////////////////////// // // Resist Struggle // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "AbilityResistStruggle", "onAdded" : [ { "$type" : "ApplyModifier", "modifierName" : "ResistStruggle", "target" : "Self", }, ], "modifiers" : { "ResistStruggle" : { "onAdded" : [ { "$type" : "AttachAbilityStateResistance", "resistanceListID": 14001, }, ], }, }, }, }, //////////////////////////////////////////////// // // Wind // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Wind", "isDynamicAbility":true, "onAbilityStart" : [ // { // "$type" : "ApplyLevelModifier", // "modifierName" : "WindModifier", // "target" : "Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "entityTypes":["Monster","Avatar",], // }, // ], // }, ], "modifiers" : { "WindModifier" : { "state" : "ElementWind", "stacking" : "Overlap", "duration": "%Ability_Wind_Duration+7", "elementType" : "Wind", "elementDurability": "%Ability_Wind_Durability", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_StickWind", // "predicates": // [ // { // "$type":"ByEntityTypes", // "entityTypes":["Monster",], // }, // ], }, ], } }, "abilitySpecials": { "Ability_Wind_Duration" : 0.1, "Ability_Wind_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Stick Electric // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_StickElectric", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "StickElectricModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Monster","Avatar","Partner"], }, ], }, ], "modifiers" : { "StickElectricModifier" : { "state" : "ElementElectric", "stacking" : "Overlap", "duration": "%Ability_StickElectric_Duration+7", "elementType" : "Electric", "elementDurability": "%Ability_StickElectric_Durability", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_StickElectric", // "predicates": // [ // { // "$type" : "ByEntityTypes", // "entityTypes" : ["Avatar", "Monster","Gear"], // }, // ], }, ], } }, "abilitySpecials": { "Ability_StickElectric_Duration" : 0.1, "Ability_StickElectric_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Stick Water // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_StickWater", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "StickWaterModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Monster","Avatar","Partner"], }, ], }, ], "modifiers" : { "StickWaterModifier" : { "state" : "ElementWet", "stacking" : "Overlap", "duration": "%Ability_StickWater_Duration+7", "elementType" : "Water", "elementDurability": "%Ability_StickWater_Durability", } }, "abilitySpecials": { "Ability_StickWater_Duration" : 0.1, "Ability_StickWater_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Fire // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Fire", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "FireModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Monster","Avatar","Partner"], }, ], }, ], "modifiers" : { "FireModifier" : { "state" : "ElementFire", "stacking" : "OverlapRefreshDuration", "duration": "%Ability_Fire_Duration+7", "elementType" : "Fire", "elementDurability": "%Ability_Fire_Durability", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_StickFire", // "predicates": // [ // { // "$type" : "ByEntityTypes", // "entityTypes" : ["Avatar", "Monster","Gear"], // }, // ], }, ], }, }, "abilitySpecials": { "Ability_Fire_Duration" : 0.1, "Ability_Fire_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Superconductor // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Superconductor", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "SuperconductorModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Grass", "Water"], "reject":true, }, { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SUPERCONDUCTOR_ALTER", "value":0, // "forceByCaster":true, "compareType":"NoneOrEqual", } ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "SuperconductorModifier_Water", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Water"], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Superconductor_Alter_Modifier", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SUPERCONDUCTOR_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type":"ByEntityTypes", "entityTypes":["Grass"], "reject":true, }, ], }, ], "modifiers" : { "SuperconductorModifier": { "duration":0.1, "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Superconductor", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"SuperconductorDamage", "attenuationTag":"SuperconductorDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "elementType":"Ice", "elementDurability":0, "damageExtra": "%ElementAbility_Superconductor_BaseReactionDamage*%Superconductor_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV3", "overrideHitImpulse": { "hitLevel": "Heavy", //hitlevel = 5 "hitImpulseX": 240, //hitlevel = 5 "hitImpulseY": 300, //hitlevel = 5 }, "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "ApplyModifier", "modifierName" : "SuperconductorDefenceDown", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR5", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", }, "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster","Avatar","Partner"], }, ], }, ], }, "SuperconductorModifier_Water": { "duration":0.1, "onAdded": [ // 转到TILE里去做 { "$type" : "DoTileAction", "actionID": "SuperconductExplode", } /* { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Superconductor", "target" : "Self", }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type": "ConfigBornBySelf", "offset" : { "x": 0.0, "y" : 0.0, "z" : 0.0, }, }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"SuperconductorDamage", "attackProperty": { "damagePercentage": 0, "elementType":"Ice", "elementDurability":0, "damageExtra": "%ElementAbility_Superconductor_BaseReactionDamage*%Superconductor_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitLevel": "Heavy", //hitlevel = 5 "hitImpulseX": 240, //hitlevel = 5 "hitImpulseY": 300, //hitlevel = 5 "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, */ ], }, "Superconductor_Alter_Modifier": { "duration":0.15, "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Superconductor", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 10.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"SuperconductorDamage", "attenuationTag":"SuperconductorDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "elementType":"Ice", "elementDurability":0, "damageExtra": "%ElementAbility_Superconductor_BaseReactionDamage*%Superconductor_Alter_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV3", "overrideHitImpulse": { "hitLevel": "Heavy", //hitlevel = 5 "hitImpulseX": 240, //hitlevel = 5 "hitImpulseY": 300, //hitlevel = 5 }, "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "ApplyModifier", "modifierName" : "SuperconductorDefenceDown_Alter", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR5", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", }, "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster","Avatar","Partner"], }, ], }, ], }, "SuperconductorDefenceDown": { "stacking":"Refresh", "duration":12, "properties" : { "Actor_PhysicalSubHurtDelta" : -0.4, }, "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Avatar_Properties_Defense_Down", }, ], }, "SuperconductorDefenceDown_Alter": { "stacking":"Refresh", "duration":12, "properties" : { "Actor_PhysicalSubHurtDelta" : "%Superconductor_Alter_DefenceDown", }, "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Avatar_Properties_Defense_Down", }, ], }, }, "abilitySpecials": { "ElementAbility_Superconductor_BaseReactionDamage":0, "Superconductor_Damage_Factor":0.5, "Superconductor_Alter_Damage_Factor":2, "Superconductor_Alter_DefenceDown":-0.6, // "Superconductor_Durability":0, }, }, }, //////////////////////////////////////////////// // // Swirl_Fire // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Swirl_Fire", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Fire", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_FIRE_ALTER", "value":0, // "forceByCaster":true, "compareType":"NoneOrEqual", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Fire_Alter", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_FIRE_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, ], "modifiers" : { "Swirl_Fire": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_FireDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Fire", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 6.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, "ignoreMassive":true, }, "attackInfo": { "attackTag":"Swirl_FireDamage", "attenuationTag":"Swirl_FireDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "elementType":"Fire", "damageExtra": "%ElementAbility_Swirl_Fire_BaseReactionDamage*%Swirl_Fire_Damage_Factor", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_FireDamage", "attenuationTag":"Swirl_FireDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Fire", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Fire_BaseReactionDamage*%Swirl_Fire_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, "Swirl_Fire_Alter": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_FireDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Fire_Alter", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 12.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, "ignoreMassive":true, }, "attackInfo": { "attackTag":"Swirl_FireDamage", "attenuationTag":"Swirl_FireDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "elementType":"Fire", "damageExtra": "%ElementAbility_Swirl_Fire_BaseReactionDamage*%Swirl_Fire_Alter_Damage_Factor", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_FireDamage", "attenuationTag":"Swirl_FireDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Fire", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Fire_BaseReactionDamage*%Swirl_Fire_Alter_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, }, "abilitySpecials": { "ElementAbility_Swirl_Fire_BaseReactionDamage":0, "Swirl_Fire_Damage_Factor":0.6, "Swirl_Fire_Alter_Damage_Factor":2.4, "Swirl_Durability":1, }, }, }, //////////////////////////////////////////////// // // Swirl_Electric // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Swirl_Electric", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Electric", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_ELECTRIC_ALTER", "value":0, // "forceByCaster":true, "compareType":"NoneOrEqual", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Electric_Alter", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_ELECTRIC_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, ], "modifiers" : { "Swirl_Electric": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_ElectricDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Electric", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 6.0, "born": { "$type":"ConfigBornByElementPos", }, "ignoreMassive":true, // "filterByFrame":true, }, "attackInfo": { "attackTag":"Swirl_ElectricDamage", "attenuationTag":"Swirl_ElectricDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "damageExtra": "%ElementAbility_Swirl_Electric_BaseReactionDamage*%Swirl_Electric_Damage_Factor", "elementType":"Electric", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_ElectricDamage", "attenuationTag":"Swirl_ElectricDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Electric", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Electric_BaseReactionDamage*%Swirl_Electric_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, "Swirl_Electric_Alter": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_ElectricDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Electric_Alter", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 12.0, "born": { "$type":"ConfigBornByElementPos", }, "ignoreMassive":true, // "filterByFrame":true, }, "attackInfo": { "attackTag":"Swirl_ElectricDamage", "attenuationTag":"Swirl_ElectricDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "damageExtra": "%ElementAbility_Swirl_Electric_BaseReactionDamage*%Swirl_Electric_Alter_Damage_Factor", "elementType":"Electric", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_ElectricDamage", "attenuationTag":"Swirl_ElectricDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Electric", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Electric_BaseReactionDamage*%Swirl_Electric_Alter_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, }, "abilitySpecials": { "ElementAbility_Swirl_Electric_BaseReactionDamage":0, "Swirl_Electric_Damage_Factor":0.6, "Swirl_Electric_Alter_Damage_Factor":2.4, "Swirl_Durability":1, }, }, }, //////////////////////////////////////////////// // // Swirl_Water // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Swirl_Water", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Water", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_WATER_ALTER", "value":0, // "forceByCaster":true, "compareType":"NoneOrEqual", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Water_Alter", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_WATER_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, ], "modifiers" : { "Swirl_Water": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_WaterDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Water", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 6.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"Swirl_WaterDamage", "attenuationTag":"Swirl_WaterDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "elementType":"Water", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", "attacker" : "Self", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_WaterDamage", "attenuationTag":"Swirl_WaterDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Water", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Water_BaseReactionDamage*%Swirl_Water_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, "Swirl_Water_Alter": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_WaterDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Water_Alter", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 12.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"Swirl_WaterDamage", "attenuationTag":"Swirl_WaterDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "elementType":"Water", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_WaterDamage", "attenuationTag":"Swirl_WaterDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Water", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Water_BaseReactionDamage*%Swirl_Water_Alter_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, }, "abilitySpecials": { "ElementAbility_Swirl_Water_BaseReactionDamage":0, "Swirl_Water_Damage_Factor":0.6, "Swirl_Water_Alter_Damage_Factor":2.4, "Swirl_Durability":1, }, }, }, //////////////////////////////////////////////// // // Swirl_Ice // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Swirl_Ice", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Ice", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_ICE_ALTER", "value":0, // "forceByCaster":true, "compareType":"NoneOrEqual", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "Swirl_Ice_Alter", "target" : "Target", "predicates": [ { "$type":"ByTargetGlobalValue", "target":"Team", "key":"_IS_SWRIL_ICE_ALTER", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass", "Water"], }, ], }, ], }, ], "modifiers" : { "Swirl_Ice": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_IceDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Ice", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 6.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"Swirl_IceDamage", "attenuationTag":"Swirl_IceDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "elementType":"Ice", "damageExtra": "%ElementAbility_Swirl_Ice_BaseReactionDamage*%Swirl_Ice_Damage_Factor", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_IceDamage", "attenuationTag":"Swirl_IceDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Ice", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Ice_BaseReactionDamage*%Swirl_Ice_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, "Swirl_Ice_Alter": { "duration":0.1, "modifierMixins": [ { "$type": "RejectAttackMixin", "attackTag": "Swirl_IceDamage", "limitTime":0.01, }, ], "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Swirl_Ice_Alter", "target" : "Self", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "Enemy", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 12.0, "born": { "$type":"ConfigBornByElementPos", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"Swirl_IceDamage", "attenuationTag":"Swirl_IceDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0, "strikeType": "Default", "elementType":"Ice", "damageExtra": "%ElementAbility_Swirl_Ice_BaseReactionDamage*%Swirl_Ice_Alter_Damage_Factor", "elementDurability":"%Swirl_Durability*1.25+25", "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "DamageByAttackValue", // "otherTargets": // { // "$type": "SelectTargetsByShape", // "shapeName": "CircleR0_5", // "centerBasedOn": "Self", // "campTargetType": "Enemy", // "campBasedOn": "Applier", // "topLimit" : 1, // }, "born" : { "$type":"ConfigBornByAttachPoint", "attachPointName":"RootNode", "offset": { "x":0, "y":0, "z":0, }, }, "attackInfo": { "attackTag": "Self_Swirl_IceDamage", "attenuationTag":"Swirl_IceDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1", "attackProperty": { "damagePercentage": 0.0, "elementType":"Ice", "elementDurability":0, "damageExtra": "%ElementAbility_Swirl_Ice_BaseReactionDamage*%Swirl_Ice_Alter_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":130, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV1", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, "predicates": [ { "$type":"ByIsTargetCamp", "campBaseOn":"Applier", "campTargetType":"Enemy", }, ], }, ], }, }, "abilitySpecials": { "ElementAbility_Swirl_Ice_BaseReactionDamage":0, "Swirl_Ice_Damage_Factor":0.6, "Swirl_Ice_Alter_Damage_Factor":2.4, "Swirl_Durability":1, }, }, }, ////////////////////////////////以下为岩元素反应内容////////////////////////////////////////// //////////////////////////////////////////////// // // Crystallize Water // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Crystallize_Water", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Crystallize_Water", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass","Water",], }, ], }, ], }, ], "modifiers" : { "Crystallize_Water": { "duration":0.9, "onAdded": [ { "$type": "TriggerBullet", "bulletID": 70900356,//70900356 41029015 "propOwnerIs":"Applier", "isPeerIdFromPlayer": true, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset": { "x": 0.0, "y": 1.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByEntity", "randomAngleHor":60, "angleOffset": { "x": 0.0, "y": 1.0, "z": 0.0, }, }, }, }, ], }, }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Water_Trigger", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Crystal_Water_Trail", }, ], "onAbilityStart" : [ { "$type": "CreateGadget", "gadgetID": 70900345, "campID": 1001, "campTargetType": "All", "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Water", "onAdded" : [ { "$type":"AttachModifier", "modifierName":"Crystal_Water_Seed_Fx", }, { "$type":"AttachModifier", "modifierName":"Life_Timer",//这件事儿待定 }, { "$type":"SetCrystalShieldHpToOverrideMap",//依据种子自身的等级及精通值确认护盾吸收量 "overrideMapKey":"Player_Water_Shield_Level_Ratio", }, //给自己一个gv标记,让狗狼的大招只能选到它 { "$type": "SetGlobalValue", "key": "ElementAbility_CrystalSeed", "value": 1, } ], // "onKill": // [ // { // "$type":"FireEffect", // "effectPattern":"Eff_Element_Crystal_Water_Seed_Disappear", // }, // ], "onFieldEnter": [ // { // "$type": "SetSystemValueToOverrideMap",//依据获得种子玩家的等级,设置护盾的吸收量(不选择触发者,是能保证护盾吸收量的稳定) // "key": "Player_Water_Shield_Level_Ratio", // "type": "PlayerShieldLevelCo", // "target":"Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "target":"Target", // "entityTypes":["Avatar"], // }, // ], // }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Water_Shield_Handler", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"FireGainCrystalSeedEvent", "elementType":"Water", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"RemoveModifier", "target":"Self", "modifierName":"Crystal_Water_Seed_Fx", }, { "$type":"KillSelf", "duration":1.0, } ], "modifiers" : { "UNIQUE_CrystalSeed_Water_Shield_Handler": { "duration":0.1, "isUnique":true, "onAdded"://每次吃种子,移除老的护盾,添加新的护盾; [ { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Water_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Fire_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Ice_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Electric_Shield", }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Water_Shield", "target":"Team", }, { "$type":"AttachEffect", "effectPattern":"Eff_Element_CrystalSeed_Absorb_Water", "target":"CurLocalAvatar", }, ], }, // "UNIQUE_CrystalSeed_Water_Shield_Applier": // { // "duration":0.1, // "isUnique":true, // "stacking":"Refresh", // "onAdded": // [ // { // "$type":"SetGlobalValueToOverrideMap", // "globalValueKey":"_ABILITY_TEAM_CRYSTAL_WATER_SHIELD_RATIO", // "overrideMapKey":"Team_Crystal_Water_SHield_Ratio", // }, // ], // "onRemoved": // [ // { // "$type": "ApplyModifier", // "modifierName": "UNIQUE_CrystalSeed_Water_Shield", // "target":"Team", // }, // ], // }, "UNIQUE_CrystalSeed_Water_Shield": { "duration":15, "isUnique":true, "stacking":"Refresh", "onAdded": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Absorb_Water_02", }, { "$type": "AttachModifier", "modifierName": "UNIQUE_CrystalSeed_Water_Shield_Mark", }, ], "modifierMixins": [ { "$type": "GlobalMainShieldMixin", "shieldType": "Element_Water", "shieldHP": "%Player_Water_Shield_Level_Ratio", "effectPattern": "Eff_Element_Crystal_Water_Shield", "targetMuteHitEffect": false, "showDamageText": "INFO_ELITE_DEFENCE", "childShieldModifierName": "UNIQUE_CrystalSeed_Water_Shield_Child", "onShieldBroken": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Water_Shield_Disappear", }, ], }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Water_Shield_Disappear", }, ], }, "UNIQUE_CrystalSeed_Water_Shield_Child": { "isUnique": true, "stacking": "Unique", "modifierMixins": [ { "$type": "GlobalSubShieldMixin", "mainShieldModifierName":"UNIQUE_CrystalSeed_Water_Shield", }, ], "properties": { "Actor_EndureDelta": 0, }, "onBeingHit": [ { "$type": "Predicated", "target": "Target", "targetPredicates": [ { "$type": "ByHitEnBreak", "enBreak": 0, "logic": "Greater", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName": "CrystalShieldHitEffect", "target": "Team", }, ], }, ], }, "CrystalShieldHitEffect": { "duration": 0.3, "onAdded": [ { "$type":"SendEffectTrigger", "effectPattern":"Eff_Element_Crystal_Water_Shield", "parameter":"BeHit", }, { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Water_BeHit", }, ], }, "UNIQUE_CrystalSeed_Water_Shield_Mark": { "isUnique": true, "useDummyAbility": true, "onAdded": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Water_Shield_Mark", "value": 1, "useLimitRange": true, "maxValue": 1, "minValue": 1, }, ], "onRemoved": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Water_Shield_Mark", "value": -1, "useLimitRange": true, "maxValue": 0, "minValue": 0, }, ], }, "Crystal_Water_Seed_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Crystal_Water_Seed", }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Water_Seed_Disappear", }, ], }, "Life_Timer": { "duration":15, "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Water_Seed_Disappear", }, { "$type":"KillSelf", }, ], }, }, "abilitySpecials": { "Player_Water_Shield_Level_Ratio":0, "Team_Crystal_Water_SHield_Ratio":0.0, }, }, }, //////////////////////////////////////////////// // // Crystallize Fire // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Crystallize_Fire", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Crystallize_Fire", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass","Water",], }, ], }, ], }, ], "modifiers" : { "Crystallize_Fire": { "duration":0.9, "onAdded": [ { "$type": "TriggerBullet", "bulletID": 70900355, "isPeerIdFromPlayer": true, "propOwnerIs":"Applier", "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset": { "x": 0.0, "y": 1.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByEntity", "randomAngleHor":60, "angleOffset": { "x": 0.0, "y": 1.0, "z": 0.0, }, }, }, }, ], }, }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Fire_Trigger", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Crystal_Fire_Trail", }, ], "onAbilityStart" : [ { "$type": "CreateGadget", "gadgetID": 70900344, "campID": 1001, "campTargetType": "All", "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Fire", "onAdded" : [ { "$type":"AttachModifier", "modifierName":"Crystal_Fire_Seed_Fx", }, { "$type":"AttachModifier", "modifierName":"Life_Timer",//这件事儿待定 }, { "$type":"SetCrystalShieldHpToOverrideMap",//依据种子自身的等级及精通值确认护盾吸收量 "overrideMapKey":"Player_Fire_Shield_Level_Ratio", }, //给自己一个gv标记,让狗狼的大招只能选到它 { "$type": "SetGlobalValue", "key": "ElementAbility_CrystalSeed", "value": 1, } ], // "onKill": // [ // { // "$type":"FireEffect", // "effectPattern":"Eff_Element_Crystal_Fire_Seed_Disappear", // }, // ], "onFieldEnter": [ // { // "$type": "SetSystemValueToOverrideMap",//依据获得种子玩家的等级,设置护盾的吸收量(不选择触发者,是能保证护盾吸收量的稳定) // "key": "Player_Fire_Shield_Level_Ratio", // "type": "PlayerShieldLevelCo", // "target":"Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "target":"Target", // "entityTypes":["Avatar"], // }, // ], // }, // { // "$type" : "AddGlobalValue",//将从玩家身上取到的吸收量设成globalvalue记在自己身上 // "key" : "_ABILITY_PLAYER_CRYSTAL_FIRE_SHIELD_RATIO", // "value" : "%Player_Fire_Shield_Level_Ratio", // "target":"Self", // }, // { // "$type":"CopyGlobalValue", // "srcTarget":"Caster", // "dstTarget":"Team", // "srcKey":"_ABILITY_PLAYER_CRYSTAL_FIRE_SHIELD_RATIO", // "dstKey":"_ABILITY_TEAM_CRYSTAL_FIRE_SHIELD_RATIO", // }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Fire_Shield_Handler", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"FireGainCrystalSeedEvent", "elementType":"Fire", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"RemoveModifier", "target":"Self", "modifierName":"Crystal_Fire_Seed_Fx", }, { "$type":"KillSelf", "duration":1.0, } ], "modifiers" : { "UNIQUE_CrystalSeed_Fire_Shield_Handler": { "isUnique":true, "duration":1, "onAdded"://每次吃种子,移除老的护盾,添加新的护盾; [ { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Fire_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Water_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Ice_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Electric_Shield", }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Fire_Shield", "target":"Team", }, { "$type":"AttachEffect", "effectPattern":"Eff_Element_CrystalSeed_Absorb_Fire", "target":"CurLocalAvatar", }, ], }, // "UNIQUE_CrystalSeed_Fire_Shield_Applier": // { // "duration":0.1, // "isUnique":true, // "stacking":"Refresh", // "onAdded": // [ // { // "$type":"SetGlobalValueToOverrideMap", // "globalValueKey":"_ABILITY_TEAM_CRYSTAL_FIRE_SHIELD_RATIO", // "overrideMapKey":"Team_Crystal_Fire_SHield_Ratio", // }, // ], // "onRemoved": // [ // { // "$type": "ApplyModifier", // "modifierName": "UNIQUE_CrystalSeed_Fire_Shield", // "target":"Team", // }, // ], // }, "UNIQUE_CrystalSeed_Fire_Shield": { "duration":15, "isUnique":true, "stacking":"Refresh", "onAdded": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Absorb_Fire_02", }, { "$type": "AttachModifier", "modifierName": "UNIQUE_CrystalSeed_Fire_Shield_Mark", }, ], "modifierMixins": [ { "$type": "GlobalMainShieldMixin", "shieldType": "Element_Fire", "shieldHP": "%Player_Fire_Shield_Level_Ratio", "effectPattern": "Eff_Element_Crystal_Fire_Shield", "targetMuteHitEffect": true, "showDamageText": "INFO_ELITE_DEFENCE", "childShieldModifierName": "UNIQUE_CrystalSeed_Fire_Shield_Child", "onShieldBroken": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Fire_Shield_Disappear", }, ], }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Fire_Shield_Disappear", }, ], }, "UNIQUE_CrystalSeed_Fire_Shield_Child": { "isUnique": true, "stacking": "Unique", "modifierMixins": [ { "$type": "GlobalSubShieldMixin", "mainShieldModifierName":"UNIQUE_CrystalSeed_Fire_Shield", }, ], "properties": { "Actor_EndureDelta": 0, }, "onBeingHit": [ { "$type": "Predicated", "target": "Target", "targetPredicates": [ { "$type": "ByHitEnBreak", "enBreak": 0, "logic": "Greater", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName": "CrystalShieldHitEffect", "target": "Team", }, ], }, ], }, "CrystalShieldHitEffect": { "duration": 0.3, "onAdded": [ { "$type":"SendEffectTrigger", "effectPattern":"Eff_Element_Crystal_Fire_Shield", "parameter":"BeHit", }, { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Fire_BeHit", }, ], }, "UNIQUE_CrystalSeed_Fire_Shield_Mark": { "isUnique": true, "useDummyAbility": true, "onAdded": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Fire_Shield_Mark", "value": 1, "useLimitRange": true, "maxValue": 1, "minValue": 1, }, ], "onRemoved": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Fire_Shield_Mark", "value": -1, "useLimitRange": true, "maxValue": 0, "minValue": 0, }, ], }, "Crystal_Fire_Seed_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Crystal_Fire_Seed", }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Fire_Seed_Disappear", }, ], }, "Life_Timer": { "duration":15, "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Fire_Seed_Disappear", }, { "$type":"KillSelf", }, ], }, }, "abilitySpecials": { "Player_Fire_Shield_Level_Ratio":0, "Team_Crystal_Fire_SHield_Ratio":0.0, }, }, }, //////////////////////////////////////////////// // // Crystallize Ice // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Crystallize_Ice", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Crystallize_Ice", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass","Water",], }, ], }, ], }, ], "modifiers" : { "Crystallize_Ice": { "duration":0.9, "onAdded": [ { "$type": "TriggerBullet", "bulletID": 70900358, "isPeerIdFromPlayer": true, "propOwnerIs":"Applier", "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByEntity", "randomAngleHor":60, "angleOffset": { "x": 0.0, "y": 1.0, "z": 0.0, }, }, }, }, ], }, }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Ice_Trigger", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Crystal_Ice_Trail", }, ], "onAbilityStart" : [ { "$type": "CreateGadget", "gadgetID": 70900347, "campID": 1001, "campTargetType": "All", "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Ice", "onAdded" : [ { "$type":"AttachModifier", "modifierName":"Crystal_Ice_Seed_Fx", }, { "$type":"AttachModifier", "modifierName":"Life_Timer",//这件事儿待定 }, { "$type":"SetCrystalShieldHpToOverrideMap",//依据种子自身的等级及精通值确认护盾吸收量 "overrideMapKey":"Player_Ice_Shield_Level_Ratio", }, //给自己一个gv标记,让狗狼的大招只能选到它 { "$type": "SetGlobalValue", "key": "ElementAbility_CrystalSeed", "value": 1, } ], // "onKill": // [ // { // "$type":"FireEffect", // "effectPattern":"Eff_Element_Crystal_Ice_Seed_Disappear", // }, // ], "onFieldEnter": [ // { // "$type": "SetSystemValueToOverrideMap",//依据获得种子玩家的等级,设置护盾的吸收量(不选择触发者,是能保证护盾吸收量的稳定) // "key": "Player_Ice_Shield_Level_Ratio", // "type": "PlayerShieldLevelCo", // "target":"Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "target":"Target", // "entityTypes":["Avatar"], // }, // ], // }, // { // "$type" : "AddGlobalValue",//将从玩家身上取到的吸收量设成globalvalue记在自己身上 // "key" : "_ABILITY_PLAYER_CRYSTAL_ICE_SHIELD_RATIO", // "value" : "%Player_Ice_Shield_Level_Ratio", // "target":"Self", // }, // { // "$type":"CopyGlobalValue", // "srcTarget":"Caster", // "dstTarget":"Team", // "srcKey":"_ABILITY_PLAYER_CRYSTAL_ICE_SHIELD_RATIO", // "dstKey":"_ABILITY_TEAM_CRYSTAL_ICE_SHIELD_RATIO", // }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Ice_Shield_Handler", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"FireGainCrystalSeedEvent", "elementType":"Ice", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"RemoveModifier", "target":"Self", "modifierName":"Crystal_Ice_Seed_Fx", }, { "$type":"KillSelf", "duration":1.0, } ], "modifiers" : { "UNIQUE_CrystalSeed_Ice_Shield_Handler": { "duration":0.1, "isUnique":true, "onAdded"://每次吃种子,移除老的护盾,添加新的护盾; [ { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Ice_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Water_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Fire_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Electric_Shield", }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Ice_Shield", "target":"Team", }, { "$type":"AttachEffect", "effectPattern":"Eff_Element_CrystalSeed_Absorb_Ice", "target":"CurLocalAvatar", }, ], }, // "UNIQUE_CrystalSeed_Ice_Shield_Applier": // { // "duration":0.1, // "isUnique":true, // "stacking":"Refresh", // "onAdded": // [ // { // "$type":"SetGlobalValueToOverrideMap", // "globalValueKey":"_ABILITY_TEAM_CRYSTAL_ICE_SHIELD_RATIO", // "overrideMapKey":"Team_Crystal_Ice_SHield_Ratio", // }, // ], // "onRemoved": // [ // { // "$type": "ApplyModifier", // "modifierName": "UNIQUE_CrystalSeed_Ice_Shield", // "target":"Team", // }, // ], // }, "UNIQUE_CrystalSeed_Ice_Shield": { "duration":15, "isUnique":true, "stacking":"Refresh", "onAdded": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Absorb_Ice_02", }, { "$type": "AttachModifier", "modifierName": "UNIQUE_CrystalSeed_Ice_Shield_Mark", }, ], "modifierMixins": [ { "$type": "GlobalMainShieldMixin", "shieldType": "Element_Ice", "shieldHP": "%Player_Ice_Shield_Level_Ratio", "effectPattern": "Eff_Element_Crystal_Ice_Shield", "targetMuteHitEffect": true, "showDamageText": "INFO_ELITE_DEFENCE", "childShieldModifierName": "UNIQUE_CrystalSeed_Ice_Shield_Child", "onShieldBroken": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Ice_Shield_Disappear", }, ], }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Ice_Shield_Disappear", }, ], }, "UNIQUE_CrystalSeed_Ice_Shield_Child": { "isUnique": true, "stacking": "Unique", "modifierMixins": [ { "$type": "GlobalSubShieldMixin", "mainShieldModifierName":"UNIQUE_CrystalSeed_Ice_Shield", }, ], "properties": { "Actor_EndureDelta": 0, }, "onBeingHit": [ { "$type": "Predicated", "target": "Target", "targetPredicates": [ { "$type": "ByHitEnBreak", "enBreak": 0, "logic": "Greater", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName": "CrystalShieldHitEffect", "target": "Team", }, ], }, ], }, "CrystalShieldHitEffect": { "duration": 0.3, "onAdded": [ { "$type":"SendEffectTrigger", "effectPattern":"Eff_Element_Crystal_Ice_Shield", "parameter":"BeHit", }, { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Ice_BeHit", }, ], }, "UNIQUE_CrystalSeed_Ice_Shield_Mark": { "isUnique": true, "useDummyAbility": true, "onAdded": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Ice_Shield_Mark", "value": 1, "useLimitRange": true, "maxValue": 1, "minValue": 1, }, ], "onRemoved": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Ice_Shield_Mark", "value": -1, "useLimitRange": true, "maxValue": 0, "minValue": 0, }, ], }, "Crystal_Ice_Seed_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Crystal_Ice_Seed", }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Ice_Seed_Disappear", }, ], }, "Life_Timer": { "duration":15, "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Ice_Seed_Disappear", }, { "$type":"KillSelf", }, ], }, }, "abilitySpecials": { "Player_Ice_Shield_Level_Ratio":0, "Team_Crystal_Ice_SHield_Ratio":0.0, }, }, }, //////////////////////////////////////////////// // // Crystallize Electric // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Crystallize_Electric", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Crystallize_Electric", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass","Water",], }, ], }, ], }, ], "modifiers" : { "Crystallize_Electric": { "duration":0.9, "onAdded": [ { "$type": "TriggerBullet", "bulletID": 70900357, "isPeerIdFromPlayer": true, "propOwnerIs":"Applier", "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByEntity", "randomAngleHor":60, "angleOffset": { "x": 0.0, "y": 1.0, "z": 0.0, }, }, }, }, ], }, }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Electric_Trigger", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Crystal_Elect_Trail", }, ], "onAbilityStart" : [ { "$type": "CreateGadget", "gadgetID": 70900346, "campID": 1001, "campTargetType": "All", "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_CrystalSeed_Electric", "onAdded" : [ { "$type":"AttachModifier", "modifierName":"Crystal_Electric_Seed_Fx", }, { "$type":"AttachModifier", "modifierName":"Life_Timer",//这件事儿待定 }, { "$type":"SetCrystalShieldHpToOverrideMap",//依据种子自身的等级及精通值确认护盾吸收量 "overrideMapKey":"Player_Electric_Shield_Level_Ratio", }, //给自己一个gv标记,让狗狼的大招只能选到它 { "$type": "SetGlobalValue", "key": "ElementAbility_CrystalSeed", "value": 1, } ], // "onKill": // [ // { // "$type":"FireEffect", // "effectPattern":"Eff_Element_Crystal_Elect_Seed_Disappear", // }, // ], "onFieldEnter": [ // { // "$type": "SetSystemValueToOverrideMap",//依据获得种子玩家的等级,设置护盾的吸收量(不选择触发者,是能保证护盾吸收量的稳定) // "key": "Player_Electric_Shield_Level_Ratio", // "type": "PlayerShieldLevelCo", // "target":"Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "target":"Target", // "entityTypes":["Avatar"], // }, // { // "$type": "ByTargetGlobalValue", // "key": "_ABILITY_CRYSTAL_SEED_TRIGGER_CD", // "value": 0, // "forceByCaster":true, // "compareType": "NoneOrEqual", // }, // ], // }, // { // "$type" : "AddGlobalValue",//将从玩家身上取到的吸收量设成globalvalue记在自己身上 // "key" : "_ABILITY_PLAYER_CRYSTAL_ELECTRIC_SHIELD_RATIO", // "value" : "%Player_Electric_Shield_Level_Ratio", // "target":"Self", // }, // { // "$type":"CopyGlobalValue", // "srcTarget":"Caster", // "dstTarget":"Team", // "srcKey":"_ABILITY_PLAYER_CRYSTAL_ELECTRIC_SHIELD_RATIO", // "dstKey":"_ABILITY_TEAM_CRYSTAL_ELECTRIC_SHIELD_RATIO", // }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Electric_Shield_Handler", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"FireGainCrystalSeedEvent", "elementType":"Electric", "target":"Target", "predicates": [ { "$type":"ByEntityTypes", "target":"Target", "entityTypes":["Avatar"], }, ], }, { "$type":"RemoveModifier", "target":"Self", "modifierName":"Crystal_Electric_Seed_Fx", }, { "$type":"KillSelf", "duration":1.0, } ], "modifiers" : { "UNIQUE_CrystalSeed_Electric_Shield_Handler": { "duration":0.1, "isUnique":true, "onAdded"://每次吃种子,移除老的护盾,添加新的护盾; [ { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Electric_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Water_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Fire_Shield", }, { "$type":"RemoveUniqueModifier", "target":"Team", "modifierName":"UNIQUE_CrystalSeed_Ice_Shield", }, { "$type": "ApplyModifier", "modifierName": "UNIQUE_CrystalSeed_Electric_Shield", "target":"Team", }, { "$type":"AttachEffect", "effectPattern":"Eff_Element_CrystalSeed_Absorb_Elect", "target":"CurLocalAvatar", }, ], }, // "UNIQUE_CrystalSeed_Electric_Shield_Applier": // { // "duration":0.1, // "isUnique":true, // "stacking":"Refresh", // "onAdded": // [ // { // "$type":"SetGlobalValueToOverrideMap", // "globalValueKey":"_ABILITY_TEAM_CRYSTAL_ELECTRIC_SHIELD_RATIO", // "overrideMapKey":"Team_Crystal_Electric_SHield_Ratio", // }, // ], // "onRemoved": // [ // { // "$type": "ApplyModifier", // "modifierName": "UNIQUE_CrystalSeed_Electric_Shield", // "target":"Team", // }, // ], // }, "UNIQUE_CrystalSeed_Electric_Shield": { "duration":15, "isUnique":true, "stacking":"Refresh", "onAdded": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Absorb_Electric_02", }, { "$type": "AttachModifier", "modifierName": "UNIQUE_CrystalSeed_Electric_Shield_Mark", }, ], "modifierMixins": [ { "$type": "GlobalMainShieldMixin", "shieldType": "Element_Electric", "shieldHP": "%Player_Electric_Shield_Level_Ratio", "effectPattern": "Eff_Element_Crystal_Elect_Shield", "targetMuteHitEffect": true, "showDamageText": "INFO_ELITE_DEFENCE", "childShieldModifierName": "UNIQUE_CrystalSeed_Electric_Shield_Child", "onShieldBroken": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Elect_Shield_Disappear", }, ], }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Elect_Shield_Disappear", }, ], }, "UNIQUE_CrystalSeed_Electric_Shield_Child": { "isUnique": true, "stacking": "Unique", "modifierMixins": [ { "$type": "GlobalSubShieldMixin", "mainShieldModifierName":"UNIQUE_CrystalSeed_Electric_Shield", }, ], "properties": { "Actor_EndureDelta": 0, }, "onBeingHit": [ { "$type": "Predicated", "target": "Target", "targetPredicates": [ { "$type": "ByHitEnBreak", "enBreak": 0, "logic": "Greater", }, ], "successActions": [ { "$type": "ApplyModifier", "modifierName": "CrystalShieldHitEffect", "target": "Team", }, ], }, ], }, "CrystalShieldHitEffect": { "duration": 0.3, "onAdded": [ { "$type":"SendEffectTrigger", "effectPattern":"Eff_Element_Crystal_Elect_Shield", "parameter":"BeHit", }, { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Elect_BeHit", }, ], }, "UNIQUE_CrystalSeed_Electric_Shield_Mark": { "isUnique": true, "useDummyAbility": true, "onAdded": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Electric_Shield_Mark", "value": 1, "useLimitRange": true, "maxValue": 1, "minValue": 1, }, ], "onRemoved": [ { "$type": "AddGlobalValue", "key": "_ABILITY_CrystalSeed_Electric_Shield_Mark", "value": -1, "useLimitRange": true, "maxValue": 0, "minValue": 0, }, ], }, "Crystal_Electric_Seed_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Crystal_Elect_Seed", }, ], "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Elect_Seed_Disappear", }, ], }, "Life_Timer": { "duration":15, "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Elect_Seed_Disappear", }, { "$type":"KillSelf", }, ], }, }, "abilitySpecials": { "Player_Electric_Shield_Level_Ratio":0, "Team_Crystal_Electric_SHield_Ratio":0.0, }, }, }, //////////////////////////////////////////////// // // Petrifaction // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Petrifaction", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "Petrifaction_Buff", "target" : "Target", }, ], "modifiers": { "Petrifaction_Buff": { "stacking": "Unique", "onAdded": [ { "$type": "AttachAbilityStateResistance", "resistanceListID": 14001, //抵抗struggle }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14002, //抵抗Freeze }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14005, //抵抗Frozen }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14007, //抵抗时停 }, { "$type": "AttachEffect", "effectPattern": "Eff_Element_Petrifaction_Dust", }, ], "onRemoved": [ { "$type": "FireEffect", "effectPattern": "Eff_Element_Petrifaction_Break", }, ], "onKill": [ { "$type": "ActCameraShake", "cameraShake": { "shakeType": "CustomVector", "shakeRange": 0.24, "shakeTime": 0.12, "shakeDistance": 60, "shakeDir": { "x": 0, "y": -1, "z": 0, }, "extension": { "baseOnCamera": true, }, }, }, ], "modifierMixins": [ { "$type": "DoActionByEventMixin", "type": "Both", "onAbilityStateRemoved": [ { "abilityState": "ElementPetrifaction", "actions": [ { "$type" : "RemoveModifier", "modifierName" : "Petrifaction_Buff", "doOffStage": true, }, ], } ], }, ], }, }, }, }, //////////////////////////////////////////////// // // DeadTime // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_DeadTime", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "DeadTime_Buff", "target" : "Target", }, ], "modifiers": { "DeadTime_Buff": { "stacking": "Unique", "onAdded": [ { "$type": "AttachAbilityStateResistance", "resistanceListID": 14001, //抵抗struggle }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14002, //抵抗Freeze }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14005, //抵抗Frozen }, { "$type": "AttachAbilityStateResistance", "resistanceListID": 14006, //抵抗石化 }, ], "modifierMixins": [ { "$type": "DoActionByEventMixin", "type": "Both", "onAbilityStateRemoved": [ { "abilityState": "ElementDeadTime", "actions": [ { "$type" : "RemoveModifier", "modifierName" : "DeadTime_Buff", "doOffStage": true, }, ], } ], }, ], }, }, }, }, //////////////////////////////////////////////// // // 草元素相关 // ///////////////////////////////////////////////// //////////////////////////////////////////////// // // StickGrass // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_StickGrass", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "StickGrassModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Monster","Avatar","Partner"], }, ], }, ], "modifiers" : { "StickGrassModifier" : { "state" : "ElementGrass", "stacking" : "Overlap", "duration": "%Ability_StickGrass_Duration+7", "elementType" : "Grass", "elementDurability": "%Ability_StickGrass_Durability", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_StickGrass", }, ], }, }, "abilitySpecials": { "Ability_StickGrass_Duration" : 0.1, "Ability_StickGrass_Durability" : 0.8, }, }, }, //////////////////////////////////////////////// // // Overdose // //////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Overdose_DropBall", "onAbilityStart" : [ // { // "$type" : "ApplyLevelModifier", // "modifierName" : "OverdoseDropBall", // "target" : "Target", // "predicates": // [ // { // "$type":"ByEntityTypes", // "entityTypes":["Grass"], // "reject":true, // }, // ], // }, ], "modifiers": { "OverdoseDropBall": { "duration":0.1, "onAdded": [ { "$type": "GenerateElemBall", "configID": 2020, "baseEnergy": 3, "ratio": 1, "born": { "$type": "ConfigBornBySelf", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, ], }, }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_Overdose_ApplyModifier", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "OverdoseModifier", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Grass"], "reject":true, }, ], }, { "$type" : "ApplyLevelModifier", "modifierName" : "WisdomImpact", "target" : "Target", "predicates": [ { "$type":"ByEntityTypes", "entityTypes":["Grass"], "reject":true, }, {//判断是否有触发机会 "$type":"ByTargetGlobalValue", "key":"EnableWisdomImpact", "value":0, "compareType":"NoneOrEqual", }, { "$type":"ByNot", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"GrassState", "value":0, "compareType":"Equal", }, { "$type":"ByTargetGlobalValue", "key":"GrassState", "value":300, "compareType":"Equal", }, { "$type":"ByTargetGlobalValue", "key":"GrassState", "value":301, "compareType":"Equal", }, ], }, { "$type":"ByAny", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":1, "compareType":"Equal", }, { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":2, "compareType":"Equal", }, { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":3, "compareType":"Equal", }, ], }, ], }, ], "modifiers": { "OverdoseModifier": { "duration":"%Ability_Overdose_Durability*0.2+6", "elementDurability":"%Ability_Overdose_Durability", "elementType":"Overdose", "state":"ElementOverdose", "stacking":"OverlapRefreshDuration", "onAdded": [ { "$type":"FireEffect",//触发特效,触发反应时得有直观反馈 "effectPattern":"Eff_Element_Overdose", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type":"AttachEffect",//状态持续特效 "effectPattern":"Eff_Element_Overdose_State", }, ], // "modifierMixins": // [ // { // "$type":"OverrideStickElemUIMixin", // "effName":"Overdose", // } // ], }, "WisdomImpact": { "duration":0.3, "onAdded": [ {//消耗一次触发机会 "$type": "SetGlobalValue", "key": "EnableWisdomImpact", "value": 1, }, {//触发智慧冲击波时的G引导 "$type":"DoWatcherSystemAction", "watcherId":10017, "authorityOnly":true, }, { "$type":"FireEffect", "effectPattern":"Eff_Element_WisdomImpact_1", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":1, "compareType":"Equal", }, ], }, { "$type":"FireEffect", "effectPattern":"Eff_Element_WisdomImpact_2", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":2, "compareType":"Equal", }, ], }, { "$type":"FireEffect", "effectPattern":"Eff_Element_WisdomImpact_3", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":3, "compareType":"Equal", }, ], }, { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "radius" : 2.5, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "WisdomImpact01", "attackProperty": { "damagePercentage": 0, "elementType" : "None", "elementDurability" : 0, "strikeType": "None", "damageExtra": 0, "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.0, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":1, "compareType":"Equal", }, ], }, { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "radius" : 4.5, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "WisdomImpact02", "attackProperty": { "damagePercentage": 0, "elementType" : "None", "elementDurability" : 0, "strikeType": "None", "damageExtra": 0, "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.0, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":2, "compareType":"Equal", }, ], }, { "$type" : "TriggerAttackEvent", // "target":"Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "radius" : 7.0, "born": { "$type": "ConfigBornByAttachPoint", "attachPointName" : "RootNode", "offset" : { "x" : 0.0, "y" : 0.0, "z" : 0.0, }, }, }, "attackInfo": { "attackTag" : "WisdomImpact03", "attackProperty": { "damagePercentage": 0, "elementType" : "None", "elementDurability" : 0, "strikeType": "None", "damageExtra": 0, "ignoreAttackerProperty": true, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.0, "muteHitText" : false, "recurring": true, }, }, }, "predicates" : [ { "$type":"ByTargetGlobalValue", "key":"WisdomImpactLevel", "value":3, "compareType":"Equal", }, ], }, ], }, }, "abilitySpecials": { "Ability_Overdose_Durability":0, }, }, }, /////////////////////////////////////////////////////////////////// /// /// 蔓生 /// /////////////////////////////////////////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "OverGrow", "target" : "Target", "predicates": [ { "$type" : "ByNot", "predicates" : [ { "$type" : "ByEntityTypes", "entityTypes" : ["Grass","Water",], }, ], }, ], }, ], "modifiers" : { "OverGrow": { "duration":0.1, "stacking":"Multiple", "onAdded": [ { "$type":"FireEffect",//触发特效,触发反应时得有直观反馈 "effectPattern":"Eff_Element_Overgrow", "born": { "$type":"ConfigBornByElementPos", }, }, { "$type": "TriggerBullet", "isPeerIdFromPlayer": true, "bulletID": 70900396, "propOwnerIs":"ApplierOriginOnwer",//属性继承自反应的触发者。不能直接指认 owner,因为联机时客户无法创生 // "campFollowPropOwner":true, "born": { "$type": "ConfigBornByElementPos", // "attachPointName" : "RootNode",//这个点待定,用 rootnode 大型怪会有问题 // "offset": // { // "x": 0.0, // "y": 0.0, // "z": 0.0, // }, "direction": { "$type": "ConfigDirectionByEntity", "randomAngleHor":60, "angleOffset": { "x": 0.0, "y": 1.0, "z": 0.0, }, }, }, "predicates": [ // { // "$type": "ByTargetGlobalValue", // "target":"ApplierOriginOnwer", // "key": "_Is_ElementReaction_Overgrow_Alter", // "value": 0, // "compareType": "NoneOrEqual", // }, { "$type":"ByNot", "predicates": [ { "$type":"ByHasAbilityState", "abilityState":"OvergrowVariation", "target":"ApplierOriginOnwer", }, ], } ], }, { "$type": "TriggerBullet", "isPeerIdFromPlayer": true, "bulletID": 70900442, "propOwnerIs":"ApplierOriginOnwer",//属性继承自反应的触发者。不能直接指认 owner,因为联机时客户无法创生 // "campFollowPropOwner":true, "born": { "$type": "ConfigBornByElementPos", // "attachPointName" : "RootNode",//这个点待定,用 rootnode 大型怪会有问题 // "offset": // { // "x": 0.0, // "y": 0.0, // "z": 0.0, // }, "direction": { "$type": "ConfigDirectionByEntity", "randomAngleHor":60, "angleOffset": { "x": 0.0, "y": 1.0, "z": 0.0, }, }, }, "predicates": [ // { // "$type": "ByTargetGlobalValue", // "target":"ApplierOriginOnwer", // "key": "_Is_ElementReaction_Overgrow_Alter", // "value": 1, // "compareType": "Equal", // }, { "$type":"ByHasAbilityState", "abilityState":"OvergrowVariation", "target":"ApplierOriginOnwer", }, ], }, ], }, }, "abilitySpecials": { }, }, }, ////////// 蔓生反应生成蘑菇 ///////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Mushroom_Seed", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Overgrow_Mushroom_Trail", }, { "$type": "SetGlobalValue", "key": "_ABILITY_Is_Overgrow_Mushroom_Seed", "value": 1 } ], "onAbilityStart" : [ { "$type": "CreateGadget", "isPeerIdFromPlayer": true, "gadgetID": 70900397, "campID": 5003, "campTargetType": "All", "propOwnerIs":"PropOwner", // "campFollowPropOwner":true, "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Mushroom", "onAdded": [ { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom_Fx", }, { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom", }, { "$type":"ApplyModifier", "modifierName":"Life_Timer", }, { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom_Damage_Handler", }, ], "abilityMixins": [ {//通过检测自身触发的反应类型,来决定触发什么样的二阶反应效果 "$type": "DoActionBySelfElementReactionMixin", "reactionTypes": ["OvergrowMushroomFire"], "actionQueue": [ { "$type" : "AddGlobalValue", "key" : "Element_vergrowMushroomFire", "value" : 1, "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, { "$type":"KillSelf", "duration":0.2, }, ] }, {//通过检测自身触发的反应类型,来决定触发什么样的二阶反应效果 "$type": "DoActionBySelfElementReactionMixin", "reactionTypes": ["OvergrowMushroomElectric"], "actionQueue": [ { "$type" : "AddGlobalValue", "key" : "Element_vergrowMushroomElectric", "value" : 1, "useLimitRange" : true, "maxValue" : 1, "minValue" : 0, }, { "$type":"KillSelf", "duration":0.2, }, ] }, ], "modifiers" : { "OverGrow_Mushroom_Damage_Handler": { "onKill": [ { "$type":"Predicated", "target":"Self", "targetPredicates": [ { "$type":"ByNot", "predicates": [ { "$type":"ByAny", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"Element_vergrowMushroomFire", "value":1, // "forceByCaster":true, "compareType":"Equal", }, { "$type":"ByTargetGlobalValue", "key":"Element_vergrowMushroomElectric", // "forceByCaster":true, "value":1, "compareType":"Equal", }, ], } ], }, //若反应触发者死亡,则无表现与伤害 { "$type":"ByEntityIsAlive", "target":"PropOwner", }, // { // "$type":"ByTargetPositionToSelfPosition", // "target":"TargetTeam", // "compareType":"XZ", // "value":80, // "logic": "LesserOrEqual", // }, ], "successActions": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overgrow_Mushroom_Explode", "target" : "Self", }, { "$type":"SetOvergrowDamgeToGlobalValue", "reactionTriggerType":"Mushroom", }, { "$type": "SetGlobalValueToOverrideMap", "globalValueKey": "ElementAbility_OverGrow_BaseReactionDamage", "overrideMapKey": "ElementAbility_OverGrow_BaseReactionDamage", }, { "$type" : "TriggerAttackEvent", "target" : "PropOwner", "campBasedOnID":1001, "targetType" : "AllianceIncludeSelf", // "entityTypes":["Avatar"],//只对角色造成伤害的攻击事件 "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrowDamage", "attenuationTag":"OverGrowDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor*%Damage_Avatar_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":5, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "TriggerAttackEvent", "target" : "PropOwner", "campBasedOnID":1001, "targetType" : "Enemy", // "entityTypes":["Avatar"],//对非角色目标造成的伤害 // "isReject":true, "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrowDamage", "attenuationTag":"OverGrowDamage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":25, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV3", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], "failActions": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Overgrow_Mushroom_Disappear", }, ], } ], }, "OverGrow_Mushroom": { "elementType":"Mushroom",//通过指定的元素类型,来区分是否触发二阶反应 "elementDurability":25, }, "OverGrow_Mushroom_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Overgrow_Mushroom", }, ], }, "Life_Timer": { "duration":6, "onAdded": [ { "$type":"AddGlobalValue", "key": "_ABILITY_Is_Overgrow_Mushroom", "value": 1, }, ], "onRemoved": [ { "$type":"RemoveModifier", "modifierName":"OverGrow_Mushroom_Fx", }, // { // "$type":"ApplyModifier",//自爆造成伤害 // "modifierName":"OverGrow_Mushroom_Attack_Handler", // }, { "$type":"KillSelf", // "duration":0.5, }, ], }, "OverGrow_Mushroom_Attack_Handler": { "onAdded": [ // { // "$type" : "FireEffect", // "effectPattern" : "Eff_Element_Overgrow_Mushroom_Explode", // "target" : "Self", // }, // { // "$type":"SetOvergrowDamgeToGlobalValue", // "reactionTriggerType":"Mushroom", // }, // { // "$type" : "TriggerAttackEvent", // "target" : "PropOwner", // "targetType" : "All", // "entityTypes":["Avatar"],//只对角色造成伤害的攻击事件 // "attackEvent": // { // "attackPattern" : // { // "$type" : "ConfigAttackSphere", // "duration" : 0.0, // "triggerType" : "TriggerNoRepeat", // "radius" : 5.0, // "born": // { // "$type":"ConfigBornBySelf", // }, // // "filterByFrame":true, // }, // "attackInfo": // { // "attackTag":"OverGrowDamage", // "attenuationTag":"OverGrowDamage", // "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 // "attackProperty": // { // "damagePercentage": 0, // "elementType":"Grass", // "elementDurability":0, // "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor*%Damage_Avatar_Factor", // "strikeType": "Default", // "ignoreAttackerProperty": true, // "enBreak":5, // }, // "hitPattern" : // { // "onHitEffectName" : "", // "hitImpulseType":"LV0", // "hitHaltTime" : 0.0, // "hitHaltTimeScale" : 0.05, // "muteHitText" : false, // }, // }, // }, // }, // { // "$type" : "TriggerAttackEvent", // "target" : "PropOwner", // "targetType" : "All", // "entityTypes":["Avatar"],//对非角色目标造成的伤害 // "isReject":true, // "attackEvent": // { // "attackPattern" : // { // "$type" : "ConfigAttackSphere", // "duration" : 0.0, // "triggerType" : "TriggerNoRepeat", // "radius" : 5.0, // "born": // { // "$type":"ConfigBornBySelf", // }, // // "filterByFrame":true, // }, // "attackInfo": // { // "attackTag":"OverGrowDamage", // "attenuationTag":"OverGrowDamage", // "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 // "attackProperty": // { // "damagePercentage": 0, // "elementType":"Grass", // "elementDurability":0, // "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor", // "strikeType": "Default", // "ignoreAttackerProperty": true, // "enBreak":25, // }, // "hitPattern" : // { // "onHitEffectName" : "", // "hitImpulseType":"LV3", // "hitHaltTime" : 0.0, // "hitHaltTimeScale" : 0.05, // "muteHitText" : false, // }, // }, // }, // }, ], }, }, "abilitySpecials": { "ElementAbility_OverGrow_BaseReactionDamage":0, "OverGrow_Damage_Factor":2, "Damage_Avatar_Factor":0.05, }, }, }, ///////// 异化草原核 /////////////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Alter_Mushroom_Seed", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Overgrow_Mushroom_Trail", }, ], "onAbilityStart" : [ { "$type": "CreateGadget", "isPeerIdFromPlayer": true, "gadgetID": 70900443, "campID": 5003, "campTargetType": "All", "propOwnerIs":"PropOwner", // "campFollowPropOwner":true, "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Alter_Mushroom", "onAdded": [ { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom_Fx", }, { "$type":"ApplyModifier", "modifierName":"Life_Timer", }, { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom_Damage_Handler", }, ], "modifiers" : { "OverGrow_Mushroom_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Overgrow_Mushroom_Alter", }, ], }, "Life_Timer": { "duration":0.4, "onAdded": [ { "$type":"AddGlobalValue", "key": "_ABILITY_Is_Overgrow_Mushroom", "value": 1, }, ], "onRemoved": [ { "$type":"KillSelf", // "duration":0.5, }, ], }, "OverGrow_Mushroom_Damage_Handler": { "onKill": [ { "$type":"Predicated", "target":"PropOwner", "targetPredicates": [ //若反应触发者死亡,则无表现与伤害 { "$type":"ByEntityIsAlive", // "target":"PropOwner", }, ], "successActions": [ { "$type":"RemoveModifier", "modifierName":"OverGrow_Mushroom_Fx", }, { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overgrow_Mushroom_Alter_Explode", "target" : "Self", }, { "$type":"SetOvergrowDamgeToGlobalValue", "reactionTriggerType":"MushroomVariation", }, { "$type": "SetGlobalValueToOverrideMap", "globalValueKey": "ElementAbility_OverGrow_BaseReactionDamage", "overrideMapKey": "ElementAbility_OverGrow_BaseReactionDamage", }, { "$type" : "TriggerAttackEvent", "target" : "PropOwner", "campBasedOnID":1001, "targetType" : "AllianceIncludeSelf", // "entityTypes":["Avatar"],//只对角色造成伤害的攻击事件 "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 6.5, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrow_Alter_Damage", "attenuationTag":"OverGrow_Alter_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor*%Damage_Avatar_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":5, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "TriggerAttackEvent", "target" : "PropOwner", "campBasedOnID":1001, "targetType" : "Enemy", // "entityTypes":["Avatar"],//对非角色目标造成的伤害 // "isReject":true, "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 6.5, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrow_Alter_Damage", "attenuationTag":"OverGrow_Alter_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":50, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV3", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], } ], }, }, "abilitySpecials": { "ElementAbility_OverGrow_BaseReactionDamage":0, "OverGrow_Damage_Factor":2, "Damage_Avatar_Factor":0.05, }, }, }, //////////////// 蔓生二阶反应 //////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Mushroom_Fire", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "OverGrow_Mushroom_Fire_Modifier", "target" : "Target", }, ], "modifiers" : { "OverGrow_Mushroom_Fire_Modifier": { "duration":1.0,//草原核在触发二阶反应0.2 秒后才销毁,持续时长需要大于 0.2 秒 ,防止多次触发二阶反应 "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_OvergrowFire_Explode", }, { "$type":"SetOvergrowDamgeToGlobalValue", "reactionTriggerType":"Fire", }, // // { // // "$type":"SetOvergrowDamgeToGlobalValue", // // }, // { // "$type":"Predicated", // "target":"Applier", // "targetPredicates": // [ // { // "$type":"ByAny", // "predicates": // [ // { // "$type" : "ByEntityTypes", // "entityTypes" : ["Avatar"], // "target":"Target", // }, // { // "$type" : "ByEntityTypes", // "entityTypes" : ["Avatar"], // "target":"TargetOriginOwner", // }, // ], // }, // ], // "successActions": // [ // { // "$type":"SetSystemValueToOverrideMap", // "type":"PlayerElementLevelCoWithMastery", // "key":"ElementAbility_OverGrow_BaseReactionDamage", // "target":"Applier", // }, // ], // "failActions": // [ // { // "$type":"SetSystemValueToOverrideMap", // "type":"ElementLevelCo", // "key":"ElementAbility_OverGrow_BaseReactionDamage", // "target":"Applier", // }, // ], // }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "campBasedOnID":1001, "targetType" : "Enemy", // "entityTypes":["Avatar"],//对非角色目标造成的伤害 // "isReject":true, "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrow_Fire_Damage", "attenuationTag":"OverGrow_Fire_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_Mushroom_Fire_BaseReactionDamage*%OverGrow_Fire_Damage_Factor",//先用临时的测试数值 "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":50, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, //对角色造成伤害的攻击事件 { "$type" : "TriggerAttackEvent", "target" : "Applier", "campBasedOnID":1001, "targetType" : "AllianceIncludeSelf", // "entityTypes":["Avatar"], "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "duration" : 0.0, "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrow_Fire_Damage", "attenuationTag":"OverGrow_Fire_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_Mushroom_Fire_BaseReactionDamage*%OverGrow_Fire_Damage_Factor*%Damage_Avatar_Factor",//先用临时的测试数值 "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":10, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], }, }, "abilitySpecials": { "ElementAbility_OverGrow_Mushroom_Fire_BaseReactionDamage":0, "OverGrow_Fire_Damage_Factor":3, "Damage_Avatar_Factor":0.05, }, }, }, { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Mushroom_Electric", "isDynamicAbility":true, "onAbilityStart" : [ { "$type" : "ApplyLevelModifier", "modifierName" : "OverGrow_Mushroom_Electric_Modifier", "target" : "Target", }, ], "modifiers" : { "OverGrow_Mushroom_Electric_Modifier": { "duration":1.0,//草原核在触发二阶反应0.2 秒后才销毁,持续时长需要大于 0.2 秒 ,防止多次触发二阶反应 "onAdded": [ { "$type":"SetSelfAttackTarget", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR15H15", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Applier", "topLimit":1, "entityTypePriority":["Monster","Gadget","Avatar"], "sortType": "Nearest", }, "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster","Gadget","Avatar"], }, { "$type":"ByNot", "predicates": [ { "$type":"ByTargetGlobalValue", "key":"_ABILITY_Is_Overgrow_Mushroom", "value":1, "compareType":"Equal", }, ], } ], }, { "$type": "TriggerBullet", "isPeerIdFromPlayer": true, "bulletID": 70900411, "propOwnerIs":"ApplierOriginOnwer", "born": { "$type": "ConfigBornBySelf", "offset": { "x": 0.0, "y": 0.5, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByEntity", "angleOffset": { "x": -50.0, "y": 0.0, //角度偏移 "z": 0.0, } }, }, }, ], }, }, "abilitySpecials": { }, }, }, { "Default": { "$type": "ConfigAbility", "abilityName": "Element_OverGrow_Electric_Bullet_Material", "onAdded": [ { "$type": "SetRandomOverrideMapValue", "overrideMapKey": "RandomTimeRatio", "valueRangeMin": 0.3, "valueRangeMax": 0.35, }, { "$type":"AttachModifier", "modifierName":"UNIQUE_Bullet_FX", }, { "$type":"ApplyModifier", "modifierName":"Timer", }, { "$type":"ApplyModifier", "modifierName":"IsAlive_Check", }, ], "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"Damage_Handler", }, ], "modifiers": { "Damage_Handler": { "duration":0.1, "onAdded": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_OvergrowElectric_Explode", "born": { "$type": "ConfigBornByCollisionPoint", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, { "$type":"SetOvergrowDamgeToGlobalValue", "reactionTriggerType":"Electric", }, { "$type": "SetGlobalValueToOverrideMap", "globalValueKey": "ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage", "overrideMapKey": "ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage", }, { "$type": "TriggerAttackEvent", // "entityTypes":["Avatar"],//对非角色目标造成的伤害 // "isReject":true, "targetType": "Enemy", "campBasedOnID":1001, "target" : "PropOwner", "attackEvent": { "attackPattern": { "$type": "ConfigAttackSphere", "triggerType": "TriggerNoRepeat", "radius": 1.0, "born": { "$type": "ConfigBornByCollisionPoint", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, "attackInfo": { "attackTag":"OverGrow_Electric_Damage", "attenuationTag":"OverGrow_Electric_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage*%OverGrow_Electric_Damage_Factor",//先用临时的测试数值 "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":50, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type": "TriggerAttackEvent", // "entityTypes":["Avatar"],//对角色目标造成的伤害 "campBasedOnID":1001, "targetType": "AllianceIncludeSelf", "target" : "PropOwner", "attackEvent": { "attackPattern": { "$type": "ConfigAttackSphere", "triggerType": "TriggerNoRepeat", "radius": 1.0, "born": { "$type": "ConfigBornByCollisionPoint", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, "attackInfo": { "attackTag":"OverGrow_Electric_Damage", "attenuationTag":"OverGrow_Electric_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage*%OverGrow_Electric_Damage_Factor*%Damage_Avatar_Factor",//先用临时的测试数值 "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":10, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, { "$type" : "RemoveUniqueModifier", "modifierName" : "UNIQUE_Bullet_FX", }, ], }, "Timer": { "duration":"%RandomTimeRatio", "onRemoved": [ { "$type":"ApplyModifier", "modifierName":"AngularVelocityUp", }, ], }, "AngularVelocityUp": { "properties": { "Actor_BulletMoveAngularVelocityRatio":"%VelocityRatio", }, }, "UNIQUE_Bullet_FX": { "isUnique":true, "onAdded": [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_OvergrowElectric_Seed", }, ], }, "IsAlive_Check": { "thinkInterval":0.1, "onThinkInterval": [ { "$type":"KillSelf", "predicates": [ { "$type":"ByNot", "predicates": [ { "$type":"ByEntityIsAlive", "target":"PropOwner", }, ], } ], }, { "$type" : "RemoveUniqueModifier", "modifierName" : "UNIQUE_Bullet_FX", "predicates": [ { "$type":"ByNot", "predicates": [ { "$type":"ByEntityIsAlive", "target":"PropOwner", }, ], } ], }, ], }, }, "abilitySpecials": { "RandomTimeRatio":0, "VelocityRatio":19, "ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage":0, "OverGrow_Electric_Damage_Factor":3, "Damage_Avatar_Factor":0.05, }, }, }, { "Default": { "$type": "ConfigAbility", "abilityName": "Element_OverGrow_Electric_Bullet_LifeOver", "onAdded": [ ], "onAbilityStart": [ { "$type":"AttachModifier", "modifierName":"Damage_Handler", }, ], "modifiers": { "Damage_Handler": { "duration":0.1, "onAdded": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_OvergrowElectric_Explode", "born": { "$type": "ConfigBornBySelf", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, { "$type":"SetOvergrowDamgeToGlobalValue", "reactionTriggerType":"Electric", }, { "$type": "TriggerAttackEvent", // "entityTypes":["Avatar"],//对非角色目标造成的伤害 // "isReject":true, "targetType": "Enemy", "campBasedOnID":1001, "target" : "PropOwner", "attackEvent": { "attackPattern": { "$type": "ConfigAttackSphere", "triggerType": "TriggerNoRepeat", "radius": 1.0, "born": { "$type": "ConfigBornBySelf", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, "attackInfo": { "attackTag":"OverGrow_Electric_Damage", "attenuationTag":"OverGrow_Electric_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage*%OverGrow_Electric_Damage_Factor",//先用临时的测试数值 "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":50, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, "predicates": [ { "$type":"ByEntityIsAlive", "target":"PropOwner", }, ], }, { "$type": "TriggerAttackEvent", // "entityTypes":["Avatar"],//对角色目标造成的伤害 "campBasedOnID":1001, "targetType": "AllianceIncludeSelf", "target" : "PropOwner", "attackEvent": { "attackPattern": { "$type": "ConfigAttackSphere", "triggerType": "TriggerNoRepeat", "radius": 1.0, "born": { "$type": "ConfigBornBySelf", "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, }, }, "attackInfo": { "attackTag":"OverGrow_Electric_Damage", "attenuationTag":"OverGrow_Electric_Damage", "attenuationGroup":"ElementReaction_Damage_Attenuation_1",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage*%OverGrow_Electric_Damage_Factor*%Damage_Avatar_Factor",//先用临时的测试数值 "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":10, }, "hitPattern" : { "onHitEffectName" : "default", "hitImpulseType":"LV0", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, "predicates": [ { "$type":"ByEntityIsAlive", "target":"PropOwner", }, ], }, { "$type" : "RemoveUniqueModifier", "modifierName" : "UNIQUE_Bullet_FX", }, ], }, "UNIQUE_Bullet_FX": { "isUnique":true, "onAdded": [ { "$type" : "AttachEffect", "effectPattern" : "Eff_Element_OvergrowElectric_Seed", }, ], }, }, "abilitySpecials": { "ElementAbility_OverGrow_Mushroom_Electric_BaseReactionDamage":0, "OverGrow_Electric_Damage_Factor":3, "Damage_Avatar_Factor":0.05, }, }, }, /////////////////角色触发的蔓生反应生成的蘑菇 弃用 //////////////////////// { "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Avatar_Mushroom_Seed", "onAdded": [ { "$type":"AttachEffect", "effectPattern":"Eff_Element_Crystal_Ice_Trail", }, ], "onAbilityStart" : [ { "$type": "CreateGadget", "gadgetID": 70900399, "campID": 1001, "campTargetType": "All", "born": { "$type": "ConfigBornByCollisionPoint", "offset" : { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByWorld", "eularAngles": { "x" : 0.1, "y" : 0.1, "z" : 0.1, }, }, "onGround":true, }, }, ], "modifiers" : { }, "abilitySpecials": { }, }, }, { //弃用 "Default" : { "$type" : "ConfigAbility", "abilityName" : "ElementAbility_OverGrow_Avatar_Mushroom", "onAdded": [ { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom_Fx", }, { "$type":"ApplyModifier", "modifierName":"Life_Timer", }, ], "onAbilityStart" : [ ], "modifiers" : { "OverGrow_Mushroom_Fx": { "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Element_Crystal_Elect_Seed", }, ], }, "Life_Timer": { "duration":5.5, "onRemoved": [ { "$type":"FireEffect", "effectPattern":"Eff_Element_Crystal_Elect_Seed_Disappear", }, { "$type":"RemoveModifier", "modifierName":"OverGrow_Mushroom_Fx", }, { "$type":"ApplyModifier", "modifierName":"OverGrow_Mushroom_Attack_Handler", }, { "$type":"KillSelf", "duration":0.5, }, ], "onBeingHit": [ { "$type":"Predicated",//白盒临时做法,待细化 "target":"Target", "targetPredicates": [ { "$type": "ByHitElement", "element": "Electric", }, ], "successActions": [ { "$type":"SetSelfAttackTarget", "otherTargets": { "$type": "SelectTargetsByShape", "shapeName": "CircleR15", "centerBasedOn": "Self", "campTargetType": "Enemy", "campBasedOn": "Self", "topLimit":1, "entityTypePriority":["Monster","Gadget"], "sortType": "Random", }, "predicates": [ { "$type" : "ByEntityTypes", "entityTypes" : ["Monster","Gadget"], }, ], }, { "$type": "TriggerBullet", "bulletID": 70900411, "born": { "$type": "ConfigBornBySelf",//先放到固定点,等动作确认了在改位置 "offset": { "x": 0.0, "y": 0.0, "z": 0.0, }, "direction": { "$type": "ConfigDirectionByEntity", "angleOffset": { "x": 0.0, "y": 30.0, //角度偏移 "z": 0.0, } }, }, }, ], }, ], }, "OverGrow_Mushroom_Attack_Handler": { "onAdded": [ { "$type" : "FireEffect", "effectPattern" : "Eff_Element_Overload_Explode", "target" : "Self", }, { "$type":"SetOvergrowDamgeToGlobalValue", }, { "$type" : "TriggerAttackEvent", "target" : "Applier", "targetType" : "All", "attackEvent": { "attackPattern" : { "$type" : "ConfigAttackSphere", "triggerType" : "TriggerNoRepeat", "radius" : 5.0, "born": { "$type":"ConfigBornBySelf", }, // "filterByFrame":true, }, "attackInfo": { "attackTag":"OverGrowDamage", "attenuationTag":"OverGrowDamage", // "attenuationGroup":"ElementReaction_Damage_Attenuation_2",//衰減序列待定 "attackProperty": { "damagePercentage": 0, "elementType":"Grass", "elementDurability":0, "damageExtra": "%ElementAbility_OverGrow_BaseReactionDamage*%OverGrow_Damage_Factor", "strikeType": "Default", "ignoreAttackerProperty": true, "enBreak":90, }, "hitPattern" : { "onHitEffectName" : "", "hitImpulseType":"LV2", "hitHaltTime" : 0.0, "hitHaltTimeScale" : 0.05, "muteHitText" : false, }, }, }, }, ], }, }, "abilitySpecials": { "ElementAbility_OverGrow_BaseReactionDamage":0, "OverGrow_Damage_Factor":1, }, }, }, ]