Files
hk4e/gdconf/game_data_config/json/ability/Temp/TempInteractiveGadgetAbilities.json
2022-11-30 00:00:20 +08:00

82 lines
1.7 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
/*
*
* 这里的技能都是***临时的***,仅用于存放测试的技能,意味着随时都可以被删掉
* 正式的关卡/人/怪/武器/圣痕 都不应该用这里面的技能
* 同样的 "Temp_" / "Test_" 在正式使用的技能里面不应该用这些前缀,如果是为了
* 菜单里面分类的话随便取个带下划线的名字就 ok 了
*/
{
"Default":
{
"$type": "ConfigAbility",
"abilityName": "Test_OreIron_Interact",
"onAdded":
[
{
"$type": "AttachModifier",
"modifierName": "ElementRockModifier",
"target": "Self",
},
{
"$type" : "AddGlobalValue",
"key" : "_HIT_TIMES_LEFT",
"value" : 1,
"useLimitRange" : true,
"maxValue" : 1,
"minValue" : 0,
},
],
"modifiers":
{
"ElementRockModifier":
{
"onBeingHit":
[
{
"$type": "TriggerGadgetInteractive",
"predicates" :
[
{
"$type": "ByHitElement",
"element": "Fire",
},
{
"$type": "ByTargetGlobalValue",
"key": "_HIT_TIMES_LEFT",
"value": 1,
"compareType": "Equal",
},
],
},
{
"$type" : "AddGlobalValue",
"key" : "_HIT_TIMES_LEFT",
"value" : -1,
"useLimitRange" : true,
"maxValue" : 3,
"minValue" : 0,
"predicates" :
[
{
"$type": "ByHitElement",
"element": "Fire",
},
{
"$type": "ByTargetGlobalValue",
"key": "_HIT_TIMES_LEFT",
"value": 0,
"compareType": "MoreThan",
},
],
},
],
"onRemoved":
[
],
},
},
},
},
]