1
0
ZenlessData/Data/Activity_BangbooDream_Weapon_Gun_Perk_ExtraGunCount.json
2025-03-11 21:16:39 -03:00

279 lines
8.4 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ListenAbilityMixin",
"AbilityName": "Activity_BangbooDream_Weapon_Gun",
"OnListenAbilityAdded": [
{
"$type": "ModifyProperty",
"Amount": "%AS_Gun_Count",
"CustomPropertyType": "GunCount",
"IsUsePercentage": false,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
}
],
"Targetting": "Self"
}
],
"AbilityName": "Activity_BangbooDream_Weapon_Gun_Perk_ExtraGunCount",
"AbilitySpecials": {
"AS_Gun_Count": {
"Value": 2,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "item(1343009)+1",
"ParamName": "AS_Gun_Count",
"ValueType": "Float"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_Gun_Count",
"CustomPropertyType": "GunCount",
"IsUsePercentage": false,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "GunChangeModifier"
}
],
"OnLevelAbilityItemChanged": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "item(1343009)+1",
"ParamName": "AS_Gun_Count",
"Predicates": [
{
"$type": "ByLevelAbilityItemID",
"LevelAbilityItemID": 1343009
}
],
"ValueType": "Float"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_Gun_Count",
"CustomPropertyType": "GunCount",
"IsUsePercentage": false,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "GunChangeModifier"
}
]
},
"Modifiers": {
"GunChangeModifier": {
"Duration": 0.5,
"ModifierStacking": "Replace",
"OnRemoved": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "GunCount",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 2
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "GunCount",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 3
}
],
"SuccessActions": [
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Gun1",
"HierarchyType": "Self",
"PosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "GunEffPoint_3_1",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"ProcessType": "Modify",
"Target": "Self"
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Gun2",
"HierarchyType": "Self",
"PosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "GunEffPoint_3_2",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"ProcessType": "Modify",
"Target": "Self"
}
]
}
],
"SuccessActions": [
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Gun1",
"HierarchyType": "Self",
"PosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "GunEffPoint_2_1",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"ProcessType": "Modify",
"Target": "Self"
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Gun2",
"HierarchyType": "Self",
"PosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "GunEffPoint_2_2",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"ProcessType": "Modify",
"Target": "Self"
}
]
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Gun3",
"HierarchyType": "Self",
"PosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "GunEffPoint_3_3",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"ProcessType": "Modify",
"Target": "Self"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Activity_BangbooDream_Weapon_Gun_MeshManager"
}
]
}
}
}