mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
82 lines
1.7 KiB
Go
82 lines
1.7 KiB
Go
[
|
|
/*
|
|
* !!!
|
|
* 这里的技能都是***临时的***,仅用于存放测试的技能,意味着随时都可以被删掉
|
|
* 正式的关卡/人/怪/武器/圣痕 都不应该用这里面的技能
|
|
* 同样的 "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":
|
|
[
|
|
],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
]
|