GenshinData-1/BinOutput/Ability/Temp/GadgetAbilities/ConfigAbility_Scene_Dynamic.json
2021-05-16 19:49:16 -03:00

445 lines
18 KiB
JSON

[
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "SceneObj_Dynamic_WindFlora_Wudi",
"abilityMixins": [
{
"$type": "AttachModifierToPredicateMixin",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"target": "Self",
"key": "_GET_COMMONFLORA",
"value": 1.0
}
],
"modifierName": "CommonFlora_ServerLuaCall"
}
],
"modifiers": {
"Wudi": {
"modifierName": "",
"elementDurability": 100.0,
"properties": {
"Actor_FallingDamageRatio": -1.0
},
"state": "LockHP"
},
"empty": {
"modifierName": "",
"elementDurability": 100.0
},
"CommonFlora_ServerLuaCall": {
"stacking": "Multiple",
"modifierName": "",
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ServerLuaCall",
"luaCallType": "SpecificGroup",
"CallParamList": [
235800001
],
"funcName": "AddWindFloraScore"
},
{
"$type": "SetGlobalValue",
"value": 0.0,
"key": "_GET_COMMONFLORA",
"maxValue": 0.0,
"minValue": 0.0
}
]
}
},
"onAdded": [
{
"$type": "AttachModifier",
"modifierName": "Wudi"
}
],
"isDynamicAbility": true
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "SceneObj_Dynamic_WindFlora_ShootBalloon",
"modifiers": {
"BallonTypeController": {
"modifierName": "",
"elementDurability": 100.0,
"onAttackLanded": [
{
"$type": "ApplyModifier",
"target": "Target",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_HIGHBALLOON",
"value": 1.0
},
{
"$type": "ByAttackTags",
"attackTags": [
"NormalAttack_01",
"NormalAttack_02",
"NormalAttack_03",
"NormalAttack_04",
"NormalAttack_05",
"NormalAttack_06",
"ExtraAttack"
]
}
],
"modifierName": "HighCall"
},
{
"$type": "ApplyModifier",
"target": "Target",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_LOWBALLOON",
"value": 1.0
},
{
"$type": "ByAttackTags",
"attackTags": [
"NormalAttack_01",
"NormalAttack_02",
"NormalAttack_03",
"NormalAttack_04",
"NormalAttack_05",
"NormalAttack_06",
"ExtraAttack"
]
}
],
"modifierName": "LowCall"
},
{
"$type": "ApplyModifier",
"target": "Target",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_SUBBALLOON",
"value": 1.0
},
{
"$type": "ByAttackTags",
"attackTags": [
"NormalAttack_01",
"NormalAttack_02",
"NormalAttack_03",
"NormalAttack_04",
"NormalAttack_05",
"NormalAttack_06",
"ExtraAttack"
]
}
],
"modifierName": "SubCall"
},
{
"$type": "ApplyModifier",
"target": "Target",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_BOMBBALLOON",
"value": 1.0
},
{
"$type": "ByAttackTags",
"attackTags": [
"NormalAttack_01",
"NormalAttack_02",
"NormalAttack_03",
"NormalAttack_04",
"NormalAttack_05",
"NormalAttack_06",
"ExtraAttack"
]
}
],
"modifierName": "BombBalloonSeeker"
}
]
},
"BombBalloonSeeker": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ApplyModifier",
"otherTargets": {
"$type": "SelectTargetsByShape",
"shapeName": "CircleR5H10",
"campTargetType": "Alliance",
"sizeRatio": 1.0
},
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "Balloon03_TargetFlag",
"value": 1.0
}
],
"modifierName": "FindBalloon"
},
{
"$type": "FireEffect",
"effectPattern": "Eff_SceneObj_Ballon_03_Shoot"
},
{
"$type": "KillSelf"
}
]
},
"FindBalloon": {
"modifierName": "",
"elementDurability": 100.0,
"onAdded": [
{
"$type": "FireEffect",
"effectPattern": "Eff_SceneObj_Ballon_03_Shoot"
},
{
"$type": "ApplyModifier",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_HIGHBALLOON",
"value": 1.0
}
],
"modifierName": "HighCall"
},
{
"$type": "ApplyModifier",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_LOWBALLOON",
"value": 1.0
}
],
"modifierName": "LowCall"
},
{
"$type": "ApplyModifier",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_SUBBALLOON",
"value": 1.0
}
],
"modifierName": "SubCall"
},
{
"$type": "ApplyModifier",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"key": "IS_BOMBBALLOON",
"value": 1.0
}
],
"modifierName": "BombBalloonSeeker"
},
{
"$type": "KillSelf"
}
]
},
"HighCall": {
"modifierName": "",
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ServerLuaCall",
"target": "Caster",
"luaCallType": "CurGalleryControlGroup",
"isTarget": true,
"funcName": "ShootBalloonHighScore"
},
{
"$type": "KillSelf"
}
]
},
"LowCall": {
"modifierName": "",
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ServerLuaCall",
"target": "Caster",
"luaCallType": "CurGalleryControlGroup",
"isTarget": true,
"funcName": "ShootBalloonLowScore"
},
{
"$type": "KillSelf"
}
]
},
"SubCall": {
"modifierName": "",
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ServerLuaCall",
"target": "Caster",
"luaCallType": "CurGalleryControlGroup",
"isTarget": true,
"funcName": "ShootBalloonSubScore"
},
{
"$type": "KillSelf"
}
]
}
},
"onAdded": [
{
"$type": "ApplyModifier",
"modifierName": "BallonTypeController"
}
],
"isDynamicAbility": true
}
},
{
"Default": {
"$type": "ConfigAbility",
"abilityName": "SceneObj_Dynamic_WindFlora_RecordFloorMemory",
"abilityMixins": [
{
"$type": "AttachModifierToPredicateMixin",
"predicates": [
{
"$type": "ByTargetGlobalValue",
"target": "Self",
"key": "_GET_COMMONFLORA",
"value": 1.0
}
],
"modifierName": "CommonFlora_ServerLuaCall"
}
],
"modifiers": {
"Wudi": {
"modifierName": "",
"elementDurability": 100.0,
"properties": {
"Actor_FallingDamageRatio": -1.0
},
"state": "LockHP"
},
"CALLSERVERLUA": {
"modifierName": "",
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ServerLuaCall",
"target": "Team",
"luaCallType": "SpecificGroup",
"isTarget": true,
"CallParamList": [
235800003
],
"funcName": "OnEnterWrongFloor"
}
]
},
"CommonFlora_ServerLuaCall": {
"stacking": "Multiple",
"modifierName": "",
"duration": 0.5,
"elementDurability": 100.0,
"onAdded": [
{
"$type": "ServerLuaCall",
"luaCallType": "SpecificGroup",
"CallParamList": [
235800001
],
"funcName": "AddWindFloraScore"
},
{
"$type": "SetGlobalValue",
"value": 0.0,
"key": "_GET_COMMONFLORA",
"maxValue": 0.0,
"minValue": 0.0
}
]
}
},
"onAdded": [
{
"$type": "AttachModifier",
"modifierName": "Wudi"
}
],
"onTriggerAvatarRay": [
{
"$type": "DebugLog",
"doOffStage": true,
"content": "!!!!!!!!!!PLAYER RAY TRIGGERED!!!!!!!!!!"
},
{
"$type": "Predicated",
"target": "Target",
"targetPredicates": [
{
"$type": "ByTargetGadgetState",
"gadgetState": 201
}
],
"successActions": [
{
"$type": "SetGlobalValue",
"target": "Target",
"value": 0.0,
"key": "_HaveDisappear",
"maxValue": 0.0,
"minValue": 0.0
},
{
"$type": "ExecuteGadgetLua",
"target": "Target",
"param1": 202
},
{
"$type": "ApplyModifier",
"modifierName": "CALLSERVERLUA"
}
]
},
{
"$type": "ExecuteGadgetLua",
"target": "Target",
"predicates": [
{
"$type": "ByTargetGadgetState",
"gadgetState": 903
}
],
"param1": 902
}
],
"isDynamicAbility": true
}
}
]