[ /* * !!! * 这里的技能都是***临时的***,仅用于存放测试的技能,意味着随时都可以被删掉 * 正式的关卡/人/怪/武器/圣痕 都不应该用这里面的技能 * 同样的 "Temp_" / "Test_" 在正式使用的技能里面不应该用这些前缀,如果是为了 * 菜单里面分类的话随便取个带下划线的名字就 ok 了 */ { "Default": { "$type": "ConfigAbility", "abilityName": "Gadget_Gear_Spray_Fire_Test", "abilityMixins": [ { "$type": "AttachToStateIDMixin", "stateIDs": ["Start"], "modifierName": "FireSpray", }, { "$type": "AttachToStateIDMixin", "stateIDs": ["Stop"], "modifierName": "FireStop", }, ], "modifiers": { "FireStop": { "onAdded": [ { "$type": "RemoveModifier", "modifierName": "FireSpray", }, ], }, "FireSpray": { //"stacking": "Unique", //"isUnique": true, "onAdded": [ { "$type": "RemoveModifier", "modifierName": "FireStop", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray2", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray3", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray4", }, ], "thinkInterval": 0.2, "onThinkInterval": [ { "$type": "TriggerAttackEvent", "targetType": "Enemy", "doOffStage" : true, "attackEvent": { "attackPattern": { "$type" : "ConfigAttackBox", "triggerType" : "TriggerNoRepeat", "checkHitLayerType" : "Both", "born" : { "$type": "ConfigBornByAttachPoint", "attachPointName": "WeaponR", }, "size" : { "x" : 1.4, "y" : 1.4, "z" : 8.0, }, "muteHitBehindScene" : true, }, "attackInfo": { "attackProperty": { "damagePercentage": 0.2, "elementType": "Fire", "elementDurability": 30, "strikeType": "Default", }, "hitPattern": { "onHitEffectName": "none", //"hitLevel": "Shake", //"hitImpulseX": 0, //"hitImpulseY": 0, "hitImpulseType":"LV1", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale" : 0.22, "muteHitText": false, }, } }, }, ], }, }, }, }, //单面喷火 { "Default": { "$type": "ConfigAbility", "abilityName": "Gadget_Gear_Spray_Fire_Single_Test", "abilityMixins": [], "onAbilityStart": [ { "$type": "DebugLog", "content": "Gadget_Gear_Spray_Fire_Single_Test" }, { "$type": "AttachModifier", "modifierName": "FireSpray_Single", "target": "Self", }, ], "modifiers": { "FireSpray_Single": { "duration": 10.0, //"stacking": "Unique", //"isUnique": true, "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray2", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray3", }, { "$type": "AttachEffect", "effectPattern": "Eff_Gear_Fire_Spray4", }, ], "thinkInterval": 0.2, "onThinkInterval": [ { "$type": "TriggerAttackEvent", "targetType": "Enemy", "doOffStage" : true, "attackEvent": { "attackPattern": { "$type" : "ConfigAttackBox", "triggerType" : "TriggerNoRepeat", "checkHitLayerType" : "Both", "born" : { "$type": "ConfigBornBySelf", "offset" : { "x" : 0.0, "y" : 1.0, "z" : 0.0, }, }, "size" : { "x" : 1.4, "y" : 1.4, "z" : 8.0, }, "muteHitBehindScene" : true, }, "attackInfo": { "attackProperty": { "damagePercentage": 0.25, "elementType": "Fire", "elementDurability": 30, "strikeType": "Default", }, "hitPattern": { "onHitEffectName": "default", //"hitLevel": "Shake", //"hitImpulseX": 0, //"hitImpulseY": 0, "hitImpulseType":"LV1", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale" : 0.05, "muteHitText": false, }, } }, }, ], }, }, }, }, //单面喷冰 { "Default": { "$type": "ConfigAbility", "abilityName": "Gadget_Gear_Spray_Ice_Single_Test", "abilityMixins": [], "onAbilityStart": [ { "$type": "AttachModifier", "modifierName": "FireSpray_Single", "target": "Self", }, ], "modifiers": { "FireSpray_Single": { "duration": 10.0, //"stacking": "Unique", //"isUnique": true, "onAdded": [ //此特效已删除 /* { "$type": "AttachEffect", "effectPattern": "", },*/ ], "thinkInterval": 0.2, "onThinkInterval": [ { "$type": "TriggerAttackEvent", "targetType": "Enemy", "doOffStage" : true, "attackEvent": { "attackPattern": { "$type" : "ConfigAttackBox", "triggerType" : "TriggerNoRepeat", "checkHitLayerType" : "Both", "born" : { "$type": "ConfigBornBySelf", "offset" : { "x" : 0.0, "y" : 1.0, "z" : 0.0, }, }, "size" : { "x" : 1.4, "y" : 1.4, "z" : 8.0, }, "muteHitBehindScene" : true, }, "attackInfo": { "attackProperty": { "damagePercentage": 0.25, "elementType": "Ice", "elementDurability": 30, "strikeType": "Default", }, "hitPattern": { "onHitEffectName": "default", //"hitLevel": "Shake", //"hitImpulseX": 0, //"hitImpulseY": 0, "hitImpulseType":"LV1", "reboundRatio": 0, "hitHaltTime": 0.0, "hitHaltTimeScale" : 0.05, "muteHitText": false, }, } }, }, ], }, }, }, }, //机关电球子弹 { "Default": { "$type": "ConfigAbility", "abilityName": "Gear_Electric_ElectricBall_Loop", "onAdded": [ { "$type": "AttachModifier", "modifierName": "Gear_ElectricBall_Loop", "target": "Self", }, ], "modifiers": { "Gear_ElectricBall_Loop": { "elementType": "Electric", "elementDurability": 50, "onAdded": [ { "$type": "AttachEffect", "effectPattern": "Eff_KanriahMech_ElectricBall_Shoot", }, ], "onRemoved": [ { "$type": "KillSelf", }, ], }, }, }, }, ]