Files
GenshinData-1/BinOutput/Ability/Temp/MonsterAbilities/ConfigAbility_Monster_Shaman_Rock.json
Dimbreath d633c8cfe5 BinOutput
2021-05-16 19:49:16 -03:00

838 lines
37 KiB
JSON

[
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "Shaman_Rock_Spike",
"modifiers": {
"Spike_Damage_Timer": {
"modifierName": "",
"duration": 1.5,
"elementDurability": 100.0,
"onRemoved": [
{
"$type": "TriggerAttackEvent",
"attackEvent": {
"attackPattern": {
"$type": "ConfigAttackBox",
"triggerType": "TriggerNoRepeat",
"born": {
"$type": "ConfigBornByGlobalValue",
"offset": {
"x": 0.0,
"y": 1.25,
"z": -0.75
},
"positionKey": "_MONSTER_SHAMAN_ROCK_SPIKE_POS",
"directionKey": ""
},
"size": {
"x": 1.25,
"y": 2.5,
"z": 1.25
}
},
"attackInfo": {
"attackTag": "",
"attenuationTag": "",
"attenuationGroup": "default",
"attackProperty": {
"damagePercentage": 1.0,
"damagePercentageRatio": 0.0,
"elementType": "Rock",
"elementDurability": 50.0,
"strikeType": "Default",
"enBreak": 50.0
},
"hitPattern": {
"onHitEffectName": "default",
"hitImpulseType": "LV2",
"hitHaltTimeScale": 0.05000000074505806
},
"forceCameraShake": true,
"cameraShake": {
"shakeType": "CustomVector",
"shakeRange": 0.03999999910593033,
"shakeTime": 0.09000000357627869,
"shakeDistance": 7.5,
"shakeDir": {
"y": 1.0
}
}
}
},
"targetType": "Enemy"
}
]
}
},
"onAbilityStart": [
{
"$type": "SetGlobalPos",
"target": "SelfAttackTarget",
"key": "_MONSTER_SHAMAN_ROCK_SPIKE_POS",
"born": {
"$type": "ConfigBornByPredicatePoint",
"onGround": true,
"alongGround": true,
"timeForPredictive": 0.75
},
"setTarget": false
},
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_NormalAttack_Spike",
"born": {
"$type": "ConfigBornByGlobalValue",
"positionKey": "_MONSTER_SHAMAN_ROCK_SPIKE_POS",
"directionKey": ""
}
},
{
"$type": "ApplyModifier",
"modifierName": "Spike_Damage_Timer"
},
{
"$type": "AddGlobalValue",
"value": 1.0,
"key": "_MONSTER_SHAMAN_ROCK_SPIKE",
"useLimitRange": true,
"maxValue": 3.0,
"minValue": 0.0
},
{
"$type": "Predicated",
"targetPredicates": [
{
"$type": "ByTargetGlobalValue",
"key": "_MONSTER_SHAMAN_ROCK_SPIKE",
"value": 3.0
}
],
"successActions": [
{
"$type": "AddGlobalValue",
"value": -10.0,
"key": "_MONSTER_SHAMAN_ROCK_SPIKE",
"useLimitRange": true,
"maxValue": 3.0,
"minValue": 0.0
}
],
"failActions": [
{
"$type": "SetAnimatorTrigger",
"triggerID": "NormalAttackTrigger"
}
]
}
]
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "Shaman_Rock_CreatePillar",
"abilityMixins": [
{
"$type": "AttachToStateIDMixin",
"stateIDs": [
"CreatePillar_BS",
"CreatePillar"
],
"modifierName": "CreatePillar_BS"
},
{
"$type": "AttachToPoseIDMixin",
"poseIDs": [
901
],
"modifierName": "ReturnToBorn_DestoryPillar"
}
],
"modifiers": {
"ReturnToBorn_DestoryPillar": {
"modifierName": "",
"elementDurability": 100.0,
"onRemoved": [
{
"$type": "RemoveUniqueModifier",
"otherTargets": {
"$type": "SelectTargetsByChildren",
"configID": 42103011
},
"modifierName": "UNIQUE_RockPillar_Element"
},
{
"$type": "SetAISkillCDAvailableNow",
"skillIDs": [
401
]
}
]
},
"CreatePillar_BS": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "Predicated",
"otherTargets": {
"$type": "SelectTargetsByShape",
"shapeName": "CircleR10",
"campTargetType": "SelfCamp",
"sizeRatio": 1.0
},
"targetPredicates": [
{
"$type": "ByEntityTypes",
"entityTypes": [
"Monster"
]
},
{
"$type": "ByAny",
"predicates": [
{
"$type": "ByHasFeatureTag",
"featureTagIDs": [
4001,
4901
]
},
{
"$type": "ByHasFeatureTag",
"featureTagIDs": [
4004,
4901
]
}
]
}
],
"successActions": [
{
"$type": "AttachModifier",
"target": "Target",
"modifierName": "CreatePillar_Ready"
}
]
}
]
},
"CreatePillar_Ready": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "AddGlobalValue",
"value": 1.0,
"key": "_MONSTER_SHAMAN_ROCK_CREATEPILLAR",
"useLimitRange": true,
"maxValue": 1.0,
"minValue": 0.0
},
{
"$type": "AttachEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_CreateBS"
}
],
"onRemoved": [
{
"$type": "AddGlobalValue",
"value": -10.0,
"key": "_MONSTER_SHAMAN_ROCK_CREATEPILLAR",
"useLimitRange": true,
"maxValue": 1.0,
"minValue": 0.0
}
]
}
},
"onAbilityStart": [
{
"$type": "Predicated",
"otherTargets": {
"$type": "SelectTargetsByShape",
"shapeName": "CircleR15",
"campTargetType": "SelfCamp",
"sizeRatio": 1.0
},
"targetPredicates": [
{
"$type": "ByEntityTypes",
"entityTypes": [
"Monster"
]
},
{
"$type": "ByAny",
"predicates": [
{
"$type": "ByHasFeatureTag",
"featureTagIDs": [
4001,
4901
]
},
{
"$type": "ByHasFeatureTag",
"featureTagIDs": [
4004,
4901
]
}
]
},
{
"$type": "ByTargetGlobalValue",
"key": "_MONSTER_SHAMAN_ROCK_CREATEPILLAR",
"value": 1.0
}
],
"successActions": [
{
"$type": "CreateGadget",
"target": "Target",
"lifeByOwnerIsAlive": true,
"born": {
"$type": "ConfigBornByTarget",
"onGround": true
},
"gadgetID": 42103011,
"byServer": true
}
]
},
{
"$type": "RemoveModifier",
"modifierName": "CreatePillar_BS"
}
],
"onKill": [
{
"$type": "RemoveUniqueModifier",
"otherTargets": {
"$type": "SelectTargetsByChildren",
"configID": 42103011
},
"modifierName": "UNIQUE_RockPillar_Element"
}
]
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "Shaman_RockPillar_Element",
"modifiers": {
"UNIQUE_RockPillar_Element": {
"stacking": "Unique",
"modifierName": "",
"isUnique": true,
"elementType": "Rock",
"elementDurability": 300.0,
"modifierMixins": [
{
"$type": "ElementShieldMixin",
"elementType": "Rock",
"showDamageText": "",
"shieldAngle": 360.0,
"shieldHPRatio": 1.0,
"damageRatio": 0.0,
"onShieldSuccess": [
{
"$type": "Predicated",
"target": "Target",
"targetPredicates": [
{
"$type": "ByEntityTypes",
"entityTypes": [
"Avatar"
]
}
],
"successActions": [
{
"$type": "SetGlobalDir",
"target": "Target",
"key": "_MONSTER_SHAMAN_ROCK_ELEMENTSHIELD_HIT",
"born": {
"$type": "ConfigBornBySelf",
"direction": {
"$type": "ConfigDirectionByLookAtEntity"
}
},
"setTarget": false
}
],
"failActions": [
{
"$type": "SetGlobalDir",
"target": "TargetOriginOwner",
"key": "_MONSTER_SHAMAN_ROCK_ELEMENTSHIELD_HIT",
"born": {
"$type": "ConfigBornBySelf",
"direction": {
"$type": "ConfigDirectionByLookAtEntity"
}
},
"setTarget": false
}
]
},
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_BeHitFailed",
"born": {
"$type": "ConfigBornByTarget",
"direction": {
"$type": "ConfigDirectionByGlobalValue",
"directionKey": "_MONSTER_SHAMAN_ROCK_ELEMENTSHIELD_HIT"
}
}
}
],
"onShieldFailed": [
{
"$type": "Predicated",
"target": "Target",
"targetPredicates": [
{
"$type": "ByEntityTypes",
"entityTypes": [
"Avatar"
]
}
],
"successActions": [
{
"$type": "SetGlobalDir",
"target": "Target",
"key": "_MONSTER_SHAMAN_ROCK_ELEMENTSHIELD_HIT",
"born": {
"$type": "ConfigBornBySelf",
"direction": {
"$type": "ConfigDirectionByLookAtEntity"
}
},
"setTarget": false
}
],
"failActions": [
{
"$type": "SetGlobalDir",
"target": "TargetOriginOwner",
"key": "_MONSTER_SHAMAN_ROCK_ELEMENTSHIELD_HIT",
"born": {
"$type": "ConfigBornBySelf",
"direction": {
"$type": "ConfigDirectionByLookAtEntity"
}
},
"setTarget": false
}
]
},
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_BeHitSuccess",
"born": {
"$type": "ConfigBornByTarget",
"direction": {
"$type": "ConfigDirectionByGlobalValue",
"directionKey": "_MONSTER_SHAMAN_ROCK_ELEMENTSHIELD_HIT"
}
}
}
]
},
{
"$type": "AttachModifierToElementDurabilityMixin",
"valueSteps": [
0.5,
300.5,
600.5
],
"modifierNameSteps": [
"Empty",
"RockPillar_Stage01"
]
}
],
"onAdded": [
{
"$type": "AttachEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Create"
},
{
"$type": "SetPoseBool",
"target": "Owner",
"boolID": "OnPillar",
"value": true
}
],
"onRemoved": [
{
"$type": "SetPoseBool",
"target": "Owner",
"boolID": "OnPillar"
},
{
"$type": "SetAnimatorTrigger",
"target": "Owner",
"triggerID": "StopSupportAtk"
},
{
"$type": "Predicated",
"targetPredicates": [
{
"$type": "ByHasElement",
"element": "Rock"
}
],
"successActions": [
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Disappear"
}
],
"failActions": [
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Explosion"
},
{
"$type": "TriggerAttackEvent",
"attackEvent": {
"attackPattern": {
"$type": "ConfigAttackCircle",
"triggerType": "TriggerNoRepeat",
"born": {
"$type": "ConfigBornBySelf",
"offset": {
"x": 0.0,
"y": 2.5,
"z": 0.0
}
},
"radius": 1.0
},
"attackInfo": {
"attackTag": "",
"attenuationTag": "",
"attenuationGroup": "default",
"attackProperty": {
"damagePercentage": 0.0,
"damagePercentageRatio": 0.0,
"elementDurability": 100.0,
"strikeType": "Blunt",
"enBreak": 200.0,
"attackType": "Melee"
},
"hitPattern": {
"onHitEffectName": "default",
"hitImpulseType": "LV7"
},
"forceCameraShake": true,
"cameraShake": {
"shakeType": "CustomVector",
"shakeRange": 0.36000001430511475,
"shakeTime": 0.30000001192092896,
"shakeDistance": 10.0,
"shakeDir": {
"y": -1.0
}
}
}
},
"targetType": "Alliance"
}
]
},
{
"$type": "KillSelf",
"duration": 1.0,
"hideEntity": true
}
]
},
"Empty": {
"modifierName": "",
"elementDurability": 100.0
},
"RockPillar_Stage01": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "SendEffectTrigger",
"parameter": "Normal",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Create"
}
],
"onRemoved": [
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Damaged"
},
{
"$type": "SendEffectTrigger",
"parameter": "Damaged",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Create"
}
]
}
},
"onAdded": [
{
"$type": "ApplyModifier",
"modifierName": "UNIQUE_RockPillar_Element"
}
]
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "Monster_Shaman_Rock_EscapeState",
"modifiers": {
"Shaman_Rock_EscapeState": {
"modifierName": "",
"duration": 1.75,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "SetPoseBool",
"boolID": "EscapeState",
"value": true
}
],
"onRemoved": [
{
"$type": "SetPoseBool",
"boolID": "EscapeState"
}
],
"onBeingHit": [
{
"$type": "RemoveModifier",
"modifierName": "Shaman_Rock_EscapeState"
}
]
}
},
"onAbilityStart": [
{
"$type": "ApplyModifier",
"predicates": [
{
"$type": "ByTargetPositionToSelfPosition",
"logic": "Lesser",
"value": 5.0
}
],
"modifierName": "Shaman_Rock_EscapeState"
}
]
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "Shaman_Rock_AnimationSteer",
"abilityMixins": [
{
"$type": "SteerAttackMixin",
"steerStateIDs": [
"NormalAttack_BS"
],
"angularSpeed": 180.0,
"attackTrigger": "",
"attackDistance": 12.0
},
{
"$type": "SteerAttackMixin",
"steerStateIDs": [
"SupportAttack_BS"
],
"angularSpeed": 180.0,
"attackTrigger": "",
"attackDistance": 12.0
},
{
"$type": "SteerAttackMixin",
"steerStateIDs": [
"MeleeAttack"
],
"endNormalizedTime": 0.15000000596046448,
"angularSpeed": 180.0,
"attackTrigger": "",
"attackDistance": 12.0
},
{
"$type": "SteerAttackMixin",
"steerStateIDs": [
"Turn"
],
"startNormalizedTime": 0.20000000298023224,
"endNormalizedTime": 0.75,
"angularSpeed": 120.0,
"attackTrigger": "",
"attackDistance": 12.0
}
]
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "Monster_Shaman_Rock_SupportAttack",
"abilityMixins": [
{
"$type": "AttachToStateIDMixin",
"stateIDs": [
"SupportAttack"
],
"modifierName": "SupportAttackState"
}
],
"modifiers": {
"SupportAttackState": {
"modifierName": "",
"elementDurability": 100.0,
"thinkInterval": 5.0,
"onAdded": [
{
"$type": "AttachModifier",
"modifierName": "WeaponEffect_SupportAttack"
},
{
"$type": "AttachModifier",
"otherTargets": {
"$type": "SelectTargetsByChildren",
"configID": 42103011
},
"modifierName": "Shaman_RockPillar_Resonance"
}
],
"onThinkInterval": [
{
"$type": "Predicated",
"target": "SelfAttackTarget",
"targetPredicates": [
{
"$type": "ByTargetPositionToSelfPosition",
"logic": "Lesser",
"compareType": "XYZ",
"value": 10.0
}
],
"successActions": [
{
"$type": "AttachModifier",
"otherTargets": {
"$type": "SelectTargetsByChildren",
"configID": 42103011
},
"modifierName": "Shaman_RockPillar_Resonance"
}
],
"failActions": [
{
"$type": "SetAnimatorTrigger",
"triggerID": "StopSupportAtk"
}
]
}
]
},
"WeaponEffect_SupportAttack": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "AttachEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_WeaponElement_Resonance"
},
{
"$type": "AttachEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_SupportAttack_Gather"
}
]
},
"Shaman_RockPillar_Resonance": {
"stacking": "Unique",
"modifierName": "",
"duration": 4.5,
"elementDurability": 100.0,
"thinkInterval": 4.0,
"onAdded": [
{
"$type": "AttachModifier",
"modifierName": "Shaman_RockPillar_Resonance_Effect"
}
],
"onThinkInterval": [
{
"$type": "FireEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Impulse"
},
{
"$type": "ApplyModifier",
"otherTargets": {
"$type": "SelectTargetsByShape",
"shapeName": "CircleR5",
"campTargetType": "Enemy",
"sizeRatio": 1.0
},
"modifierName": "UNIQUE_Shaman_RockPillar_Resonance_Damage"
},
{
"$type": "RemoveModifier",
"modifierName": "Shaman_RockPillar_Resonance_Effect"
}
],
"thinkIntervalIgnoreTimeScale": true
},
"Shaman_RockPillar_Resonance_Effect": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "AttachEffect",
"effectPattern": "Eff_Monster_Shaman_Rock_Pillar_Resonance"
}
]
},
"UNIQUE_Shaman_RockPillar_Resonance_Damage": {
"modifierName": "",
"isUnique": true,
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "DamageByAttackValue",
"attackInfo": {
"attackTag": "",
"attenuationTag": "",
"attenuationGroup": "default",
"attackProperty": {
"damagePercentage": 2.0,
"damagePercentageRatio": 0.0,
"elementType": "Rock",
"elementDurability": 50.0,
"strikeType": "Default",
"enBreak": 0.0
},
"hitPattern": {
"onHitEffectName": "default",
"hitImpulseType": "LV4"
}
}
}
]
}
}
}
}
]