mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-09 20:22:25 +08:00
570 lines
10 KiB
Go
570 lines
10 KiB
Go
[
|
||
/*
|
||
* Temp Abilities 2
|
||
* !!!
|
||
* 这里的技能都是***临时的***,仅用于存放测试的技能,意味着随时都可以被删掉
|
||
* 正式的关卡/人/怪/武器/圣痕 都不应该用这里面的技能
|
||
* 同样的 "Temp_" / "Test_" 在正式使用的技能里面不应该用这些前缀,如果是为了
|
||
* 菜单里面分类的话随便取个带下划线的名字就 ok 了
|
||
*/
|
||
//////////////////////////////////
|
||
//
|
||
// HirAir
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"abilityName" : "TestHitAir",
|
||
"onAbilityStart":
|
||
[
|
||
{
|
||
"$type": "TriggerAttackEvent",
|
||
"targetType": "All",
|
||
"attackEvent":
|
||
{
|
||
"attackPattern":
|
||
{
|
||
"$type": "ConfigAttackSphere",
|
||
"duration": 0.0,
|
||
"triggerType": "TriggerNoRepeat",
|
||
"radius": 2,
|
||
"born":
|
||
{
|
||
"$type": "ConfigBornBySelf",
|
||
"offset":
|
||
{
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 1.0,
|
||
},
|
||
},
|
||
},
|
||
"attackInfo":
|
||
{
|
||
"attackProperty":
|
||
{
|
||
"damagePercentage": 1,
|
||
"elementType": "Rock",
|
||
"elementDurability": 2,
|
||
},
|
||
"hitPattern":
|
||
{
|
||
"hitImpulseType":"LV6",
|
||
"overrideHitImpulse":
|
||
{
|
||
"hitLevel": "Air",
|
||
"hitImpulseX": 500,
|
||
"hitImpulseY": 500,
|
||
},
|
||
"reboundRatio": 0,
|
||
"hitHaltTime": 0.0,
|
||
"hitHaltTimeScale": 0.05,
|
||
"muteHitText": false,
|
||
},
|
||
"forceCameraShake": false,
|
||
}
|
||
},
|
||
},
|
||
],
|
||
},
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// HitHeavy
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"abilityName" : "TestHitHeavy",
|
||
"onAbilityStart":
|
||
[
|
||
{
|
||
"$type": "TriggerAttackEvent",
|
||
"targetType": "All",
|
||
"attackEvent":
|
||
{
|
||
"attackPattern":
|
||
{
|
||
"$type": "ConfigAttackSphere",
|
||
"duration": 0.0,
|
||
"triggerType": "TriggerNoRepeat",
|
||
"radius": 2,
|
||
"born":
|
||
{
|
||
"$type": "ConfigBornBySelf",
|
||
"offset":
|
||
{
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 1.0,
|
||
},
|
||
},
|
||
},
|
||
"attackInfo":
|
||
{
|
||
"attackProperty":
|
||
{
|
||
"damagePercentage": 1,
|
||
"elementType": "Rock",
|
||
"elementDurability": 2,
|
||
},
|
||
"hitPattern":
|
||
{
|
||
"hitImpulseType":"LV4",
|
||
"overrideHitImpulse":
|
||
{
|
||
"hitLevel": "Heavy",
|
||
"hitImpulseX": 500,
|
||
"hitImpulseY": 0,
|
||
},
|
||
|
||
"reboundRatio": 0,
|
||
"hitHaltTime": 0.0,
|
||
"hitHaltTimeScale": 0.05,
|
||
"muteHitText": false,
|
||
},
|
||
"forceCameraShake": false,
|
||
}
|
||
},
|
||
},
|
||
],
|
||
},
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// HitLight
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"abilityName" : "TestHitLight",
|
||
"onAbilityStart":
|
||
[
|
||
{
|
||
"$type": "TriggerAttackEvent",
|
||
"targetType": "All",
|
||
"attackEvent":
|
||
{
|
||
"attackPattern":
|
||
{
|
||
"$type": "ConfigAttackSphere",
|
||
"duration": 0.0,
|
||
"triggerType": "TriggerNoRepeat",
|
||
"radius": 2,
|
||
"born":
|
||
{
|
||
"$type": "ConfigBornBySelf",
|
||
"offset":
|
||
{
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 1.0,
|
||
},
|
||
},
|
||
},
|
||
"attackInfo":
|
||
{
|
||
"attackProperty":
|
||
{
|
||
"damagePercentage": 1,
|
||
"elementType": "Rock",
|
||
"elementDurability": 2,
|
||
},
|
||
"hitPattern":
|
||
{
|
||
"hitImpulseType":"LV2",
|
||
"overrideHitImpulse":
|
||
{
|
||
"hitLevel": "Light",
|
||
"hitImpulseX": 500,
|
||
"hitImpulseY": 0,
|
||
},
|
||
"reboundRatio": 0,
|
||
"hitHaltTime": 0.0,
|
||
"hitHaltTimeScale": 0.05,
|
||
"muteHitText": false,
|
||
},
|
||
"forceCameraShake": false,
|
||
}
|
||
},
|
||
},
|
||
],
|
||
},
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// HitShake
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"abilityName" : "TestHitShake",
|
||
"onAbilityStart":
|
||
[
|
||
{
|
||
"$type": "TriggerAttackEvent",
|
||
"targetType": "All",
|
||
"attackEvent":
|
||
{
|
||
"attackPattern":
|
||
{
|
||
"$type": "ConfigAttackSphere",
|
||
"duration": 0.0,
|
||
"triggerType": "TriggerNoRepeat",
|
||
"radius": 2,
|
||
"born":
|
||
{
|
||
"$type": "ConfigBornBySelf",
|
||
"offset":
|
||
{
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 1.0,
|
||
},
|
||
},
|
||
},
|
||
"attackInfo":
|
||
{
|
||
"attackProperty":
|
||
{
|
||
"damagePercentage": 1,
|
||
"elementType": "Rock",
|
||
"elementDurability": 2,
|
||
},
|
||
"hitPattern":
|
||
{
|
||
"hitImpulseType":"LV1",
|
||
"overrideHitImpulse":
|
||
{
|
||
"hitLevel": "Shake",
|
||
"hitImpulseX": 500,
|
||
"hitImpulseY": 0,
|
||
},
|
||
"reboundRatio": 0,
|
||
"hitHaltTime": 0.0,
|
||
"hitHaltTimeScale": 0.05,
|
||
"muteHitText": false,
|
||
},
|
||
"forceCameraShake": false,
|
||
}
|
||
},
|
||
},
|
||
],
|
||
},
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// Test Rock
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"abilityName" : "TestRock",
|
||
"onAbilityStart":
|
||
[
|
||
{
|
||
"$type": "ApplyModifier",
|
||
"modifierName": "Collision",
|
||
"target": "Self",
|
||
},
|
||
{
|
||
"$type": "ApplyModifier",
|
||
"modifierName": "Weight",
|
||
"target": "Self",
|
||
},
|
||
],
|
||
"modifiers":
|
||
{
|
||
"Collision":
|
||
{
|
||
"duration": 30,
|
||
"onAdded":
|
||
[
|
||
{
|
||
"$type": "FireEffect",
|
||
"effectPattern": "Eff_Element_Overload_Explode",
|
||
},
|
||
],
|
||
"onRemoved":
|
||
[
|
||
{
|
||
"$type": "FireEffect",
|
||
"effectPattern": "Eff_Element_Overload_Explode",
|
||
},
|
||
],
|
||
"modifierMixins":
|
||
[
|
||
{
|
||
"$type": "CollisionMixin",
|
||
"minShockSpeed": 6,
|
||
"cd": 2,
|
||
"collision" :
|
||
{
|
||
"triggerType": "TriggerAlways",
|
||
"triggerCD": 0.1,
|
||
"targetType": "Enemy",
|
||
"ignoreScene": true
|
||
},
|
||
"onCollision":
|
||
[
|
||
{
|
||
"$type": "FireEffect",
|
||
"effectPattern": "Eff_Monster_Hili_None_ShieldDestroy",
|
||
},
|
||
{
|
||
"$type": "TriggerAttackEvent",
|
||
"targetType": "Enemy",
|
||
"attackEvent":
|
||
{
|
||
"attackPattern":
|
||
{
|
||
"$type": "ConfigAttackSphere",
|
||
"duration": 0.0,
|
||
"triggerType": "TriggerNoRepeat",
|
||
"radius": 1,
|
||
"born":
|
||
{
|
||
"$type": "ConfigBornByCollisionPoint",
|
||
"offset":
|
||
{
|
||
"x": 0.0,
|
||
"y": 0.0,
|
||
"z": 0.0,
|
||
},
|
||
},
|
||
},
|
||
"attackInfo":
|
||
{
|
||
"attackProperty":
|
||
{
|
||
"damagePercentage": 1,
|
||
"elementType": "Rock",
|
||
"elementDurability": 2,
|
||
},
|
||
"hitPattern":
|
||
{
|
||
"hitImpulseType":"LV3",
|
||
"overrideHitImpulse":
|
||
{
|
||
"hitLevel": "Heavy",
|
||
"hitImpulseX": 5,
|
||
"hitImpulseY": 0,
|
||
},
|
||
"reboundRatio": 0,
|
||
"hitHaltTime": 0.0,
|
||
"hitHaltTimeScale": 0.05,
|
||
"muteHitText": false,
|
||
},
|
||
"forceCameraShake": false,
|
||
},
|
||
}
|
||
},
|
||
]
|
||
},
|
||
]
|
||
},
|
||
"Weight":
|
||
{
|
||
"elementType": "Rock",
|
||
"duration": 30,
|
||
"properties" :
|
||
{
|
||
"Entity_WeightRatio" : 0.35,
|
||
},
|
||
}
|
||
},
|
||
},
|
||
},
|
||
/*
|
||
//////////////////////////////////
|
||
//
|
||
// Fire Blade
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"AbilityName" : "Test_FireBlade",
|
||
"OnAbilityStart" :
|
||
[
|
||
{
|
||
"$type" : "ApplyModifier",
|
||
"ModifierName" : "FireBladeModifier",
|
||
"Target" : "Self",
|
||
},
|
||
],
|
||
"modifiers" :
|
||
{
|
||
"FireBladeModifier" :
|
||
{
|
||
"ElementType" : "Fire",
|
||
"ElementDurability" : 100,
|
||
"Duration" : 5,
|
||
"Properties" :
|
||
{
|
||
//"Property_Attack_Delta" : 5.0,
|
||
},
|
||
},
|
||
},
|
||
}
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// Fire Assault
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"AbilityName" : "Test_FireAssault",
|
||
"OnAbilityStart" :
|
||
[
|
||
{
|
||
"$type" : "ApplyModifier",
|
||
"ModifierName" : "FireAssaultBurst",
|
||
"Target" : "Self",
|
||
},
|
||
{
|
||
"$type" : "AttachModifierToElement",
|
||
"ModifierName" : "FireAssaultLoop",
|
||
"ElementType" : "Fire",
|
||
"Target" : "Self",
|
||
},
|
||
],
|
||
"modifiers" :
|
||
{
|
||
"FireAssaultBurst" :
|
||
{
|
||
"ElementType" : "Fire",
|
||
"Duration" : 5,
|
||
"Properties" :
|
||
{
|
||
//"Property_Attack_Delta" : 5.0,
|
||
},
|
||
},
|
||
"FireAssaultLoop" :
|
||
{
|
||
"OnRemoved" :
|
||
[
|
||
{
|
||
"$type" : "SetTrigger",
|
||
"TriggerName" : "EndFireAssaultTrigger",
|
||
},
|
||
],
|
||
},
|
||
},
|
||
}
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// Grass Heal
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"AbilityName" : "Test_GrassHeal",
|
||
"OnAbilityStart" :
|
||
[
|
||
{
|
||
"$type" : "ApplyModifier",
|
||
"ModifierName" : "GrassHealModifier",
|
||
"Target" : "Self",
|
||
},
|
||
],
|
||
"modifiers" :
|
||
{
|
||
"GrassHealModifier" :
|
||
{
|
||
"ElementType" : "Grass",
|
||
"ElementDurability" : 100,
|
||
"Duration" : 10,
|
||
"OnAdded" :
|
||
[
|
||
{
|
||
"$type" : "AttachEffect",
|
||
"effectPattern" : "Test_GrassHeal",
|
||
"Target" : "Self"
|
||
},
|
||
],
|
||
"ThinkInterval" : 0.25,
|
||
"OnThinkInterval" :
|
||
[
|
||
{
|
||
"$type" : "HealHP",
|
||
"Amount" : 2,
|
||
"Target" : "Self",
|
||
},
|
||
],
|
||
},
|
||
},
|
||
}
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// Leaf Dart
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"AbilityName" : "Test_LeafDart",
|
||
"OnAbilityStart" :
|
||
[
|
||
{
|
||
"$type" : "ApplyModifier",
|
||
"ModifierName" : "AutoShoot",
|
||
"Target" : "Self"
|
||
},
|
||
],
|
||
"modifiers" :
|
||
{
|
||
"AutoShoot" :
|
||
{
|
||
"Duration" : 1.5,
|
||
"ThinkInterval" : 0.25,
|
||
"OnThinkInterval" :
|
||
[
|
||
{
|
||
"$type" : "SpawnGadget",
|
||
"GadgetName" : "GrassBullet",
|
||
},
|
||
],
|
||
},
|
||
}
|
||
}
|
||
},
|
||
//////////////////////////////////
|
||
//
|
||
// Steam Bang
|
||
//
|
||
//////////////////////////////////
|
||
{
|
||
"Default" :
|
||
{
|
||
"$type" : "ConfigAbility",
|
||
"AbilityName" : "Test_SteamBang",
|
||
"OnAbilityStart" :
|
||
[
|
||
{
|
||
"$type" : "SpawnGadget",
|
||
"GadgetName" : "SteamBangField",
|
||
},
|
||
],
|
||
}
|
||
},*/
|
||
] |