mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
更新配置表
This commit is contained in:
@@ -7084,4 +7084,220 @@
|
||||
},
|
||||
},
|
||||
},
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 215027
|
||||
//
|
||||
// 3.3 居尔套
|
||||
//
|
||||
// ID:23
|
||||
//
|
||||
// 4件套效果:重击命中敌人后,攻速提高xx%,提供普攻重击下落攻击增伤buff,持续N秒。
|
||||
////////////////////////////////////////////////////////////////
|
||||
{
|
||||
"Default": {
|
||||
"$type": "ConfigAbility",
|
||||
"abilityName": "Relic_ExtraAttackCauseSpeedAndDamage",
|
||||
"isDynamicAbility": true,
|
||||
"onAdded": [
|
||||
{
|
||||
"$type":"AttachModifier",
|
||||
"modifierName": "UNIQUE_Relic_ExtraAttackCauseSpeedAndDamage_Handler"
|
||||
},
|
||||
],
|
||||
"modifiers": {
|
||||
"UNIQUE_Relic_ExtraAttackCauseSpeedAndDamage_Handler":
|
||||
{
|
||||
"isUnique": true,
|
||||
"onAttackLanded": [
|
||||
{
|
||||
"$type": "Predicated",
|
||||
"target": "Target",
|
||||
"targetPredicates": [
|
||||
{
|
||||
"$type": "ByEntityTypes",
|
||||
"entityTypes": [
|
||||
"Monster"
|
||||
],
|
||||
},
|
||||
{
|
||||
"$type": "ByTargetGlobalValue",
|
||||
"key": "_ANIMAL_ENTITY_TYPE",
|
||||
"value": 0,
|
||||
"compareType": "NoneOrEqual",
|
||||
},
|
||||
{
|
||||
"$type": "ByAttackTags",
|
||||
"attackTags": [
|
||||
"ExtraAttack"
|
||||
],
|
||||
},
|
||||
],
|
||||
"successActions": [
|
||||
{
|
||||
"$type":"AttachModifier",
|
||||
"modifierName": "UNIQUE_Relic_ExtraAttackCauseSpeedAndDamage_Buff",
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
},
|
||||
"UNIQUE_Relic_ExtraAttackCauseSpeedAndDamage_Buff":
|
||||
{
|
||||
"isUnique": true,
|
||||
"duration": "%Dura",
|
||||
"state": "SpeedUp",
|
||||
"modifierMixins": [
|
||||
{
|
||||
"$type": "ModifyDamageMixin",
|
||||
"attackTags": [
|
||||
"NormalAttack_01",
|
||||
"NormalAttack_02",
|
||||
"NormalAttack_03",
|
||||
"NormalAttack_04",
|
||||
"NormalAttack_05",
|
||||
"NormalAttack_06",
|
||||
"ExtraAttack",
|
||||
"FallingAttack",
|
||||
],
|
||||
"damagePercentageRatio": "%Rate2",
|
||||
},
|
||||
],
|
||||
"properties": {
|
||||
"Animator_AttackSpeedRatio":"%Rate1",
|
||||
}
|
||||
},
|
||||
},
|
||||
"abilitySpecials": {
|
||||
"Rate1":0,
|
||||
"Rate2":0,
|
||||
"Dura": 0,
|
||||
}
|
||||
},
|
||||
},
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 215028
|
||||
//
|
||||
// 3.3 花神套
|
||||
//
|
||||
// ID:23
|
||||
//
|
||||
// 4件套效果:绽放,烈绽放,超绽放造成的伤害提升XX%,
|
||||
// 每次触发绽放,烈绽放,超绽放时,会使该基础效果提升YY%,最多堆叠N层,有最小触发间隔,每层效果独立计时,最多堆叠N层。装备者在后台也生效
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
{
|
||||
"Default":
|
||||
{
|
||||
"$type": "ConfigAbility",
|
||||
"abilityName": "Relic_OvergrowReactionEnhance",
|
||||
"isDynamicAbility": true,
|
||||
"onAdded":
|
||||
[
|
||||
{
|
||||
"$type": "AttachModifier",
|
||||
"modifierName": "UNIQUE_Relic_OvergrowReactionEnhance_Handler",
|
||||
}
|
||||
],
|
||||
"onAbilityStart":
|
||||
[
|
||||
{//触发绽放反应叠buff
|
||||
"$type": "AttachModifier",
|
||||
"doOffStage": true,
|
||||
"modifierName": "Relic_OvergrowReactionEnhance_Extra",
|
||||
}
|
||||
],
|
||||
"modifiers":
|
||||
{
|
||||
"UNIQUE_Relic_OvergrowReactionEnhance_Handler":
|
||||
{
|
||||
"isUnique": true,
|
||||
"onAdded":
|
||||
[
|
||||
{//挂接基础数值效果
|
||||
"$type": "AttachModifier",
|
||||
"modifierName": "Relic_OvergrowReactionEnhance_Base",
|
||||
"doOffStage": true,
|
||||
}
|
||||
],
|
||||
"modifierMixins":
|
||||
[
|
||||
{//触发绽放相关反应叠加额外效果
|
||||
"$type": "DoActionByElementReactionMixin",
|
||||
"range": 20,
|
||||
"entityTypes": ["Monster"],
|
||||
"reactionTypes":
|
||||
[
|
||||
"Overgrow",
|
||||
"OvergrowMushroomFire",
|
||||
"OvergrowMushroomElectric"
|
||||
],
|
||||
"actions":
|
||||
[
|
||||
{
|
||||
"$type": "AttachModifier",
|
||||
"modifierName": "OvergrowReactionEnhance_CD",
|
||||
"doOffStage": true,
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Relic_OvergrowReactionEnhance_Base":
|
||||
{
|
||||
"isLimitedProperties": true,
|
||||
"properties":
|
||||
{
|
||||
"Actor_ElemReactOvergrowDelta":"%Overgrow_Up_Percentage",
|
||||
"Actor_ElemReactOvergrowFireDelta":"%OvergrowFire_Up_Percentage",
|
||||
"Actor_ElemReactOvergrowElectricDelta":"%OvergrowElectric_Up_Percentage",
|
||||
"Actor_ElemReactOvergrowDeltaVariation":"%Overgrow_Up_Percentage",
|
||||
}
|
||||
},
|
||||
"Relic_OvergrowReactionEnhance_Extra":
|
||||
{
|
||||
"duration": "%Duration",
|
||||
"stacking": "MultipleAllRefresh",
|
||||
"stackingOption":
|
||||
{
|
||||
"maxModifierNumForMultipleType": "%Stack",
|
||||
},
|
||||
"isLimitedProperties": true,
|
||||
"properties":
|
||||
{
|
||||
"Actor_ElemReactOvergrowDelta":"%Overgrow_Up_Percentage*%TransRatio",
|
||||
"Actor_ElemReactOvergrowFireDelta":"%OvergrowFire_Up_Percentage*%TransRatio",
|
||||
"Actor_ElemReactOvergrowElectricDelta":"%OvergrowElectric_Up_Percentage*%TransRatio",
|
||||
"Actor_ElemReactOvergrowDeltaVariation":"%Overgrow_Up_Percentage*%TransRatio",
|
||||
}
|
||||
},
|
||||
"OvergrowReactionEnhance_CD":
|
||||
{
|
||||
"stacking": "Unique",
|
||||
"duration": "%Trigger_CD",//控制CD
|
||||
"onAdded":
|
||||
[
|
||||
{//这样可以attach modifier
|
||||
"$type": "TriggerAbility",
|
||||
"abilityName": "Relic_OvergrowReactionEnhance",
|
||||
"doOffStage": true,
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"abilitySpecials":
|
||||
{
|
||||
"Overgrow_Up_Percentage":0,
|
||||
"OvergrowFire_Up_Percentage":0,
|
||||
"OvergrowElectric_Up_Percentage":0,
|
||||
"Duration":0,
|
||||
"Stack":0,
|
||||
"TransRatio":0,
|
||||
"Trigger_CD":0,
|
||||
}
|
||||
}
|
||||
},
|
||||
]
|
||||
+211
-1
@@ -5766,7 +5766,7 @@
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 14511 草神法器 Equip_Catalyst_Ayus
|
||||
// 技能未定,有常驻特效挂接在prefab上。
|
||||
// 有常驻特效挂接在prefab上。
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
{
|
||||
@@ -6748,7 +6748,217 @@
|
||||
},
|
||||
},
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 14512 3.3法器 Equip_Catalyst_Alaya
|
||||
// 战技后获得buff,每秒提升普攻伤害,普攻命中时会提升2层,最多10层。
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
{
|
||||
"Default": {
|
||||
"$type": "ConfigAbility",
|
||||
"abilityName": "Weapon_Catalyst_Alaya",
|
||||
"isDynamicAbility": true,
|
||||
"onAdded": [
|
||||
{
|
||||
"$type": "AttachModifier",
|
||||
"modifierName": "UNIQUE_Catalyst_Alaya_AtkSpeedUp",
|
||||
},
|
||||
],
|
||||
"abilityMixins": [
|
||||
{
|
||||
"$type": "OnAvatarUseSkillMixin",
|
||||
"clearSkillIdDelay": 0.2,
|
||||
"onTriggerSkill": [ //战技时重置buff
|
||||
{
|
||||
"$type": "RemoveUniqueModifier",
|
||||
"modifierName": "UNIQUE_Catalyst_Alaya_Buff",
|
||||
},
|
||||
{
|
||||
"$type": "ApplyModifier",
|
||||
"modifierName": "UNIQUE_Catalyst_Alaya_Buff",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"modifiers": {
|
||||
"UNIQUE_Catalyst_Alaya_Buff":{
|
||||
"isUnique": true,
|
||||
"duration": "%Dura",
|
||||
"state": "AttackUp",
|
||||
"onAdded": [
|
||||
{
|
||||
"$type":"SetGlobalValue",
|
||||
"key": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"value": 0,
|
||||
"doOffStage": true,
|
||||
},
|
||||
],
|
||||
"modifierMixins": [
|
||||
{
|
||||
"$type": "ModifyDamageMixin",
|
||||
"attackTags": [
|
||||
"NormalAttack_01",
|
||||
"NormalAttack_02",
|
||||
"NormalAttack_03",
|
||||
"NormalAttack_04",
|
||||
"NormalAttack_05",
|
||||
"NormalAttack_06",
|
||||
// "ExtraAttack",//看情况加不加重击
|
||||
],
|
||||
"damagePercentageRatio": "%Ratio_Per_Stack*%Stack",
|
||||
},
|
||||
{
|
||||
"$type": "AttachModifierToSelfGlobalValueMixin", //主要是监视满层,用于配置特效。不然就得每次addGV时检测触发。
|
||||
"globalValueKey": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"valueSteps": [
|
||||
"%MaxStack-0.5",
|
||||
30,
|
||||
],
|
||||
"removeAppliedModifier": false,
|
||||
"modifierNameSteps": [
|
||||
"UNIQUE_Catalyst_Alaya_Eff2",
|
||||
],
|
||||
},
|
||||
],
|
||||
"onAttackLanded": [
|
||||
{
|
||||
"$type": "Predicated",
|
||||
"target": "Target",
|
||||
"targetPredicates": [
|
||||
{
|
||||
"$type": "ByAttackTags",
|
||||
"attackTags": [
|
||||
"NormalAttack_01",
|
||||
"NormalAttack_02",
|
||||
"NormalAttack_03",
|
||||
"NormalAttack_04",
|
||||
"NormalAttack_05",
|
||||
"NormalAttack_06",
|
||||
// "ExtraAttack",//看情况加不加重击
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "ByEntityTypes",
|
||||
"entityTypes": [
|
||||
"Monster",
|
||||
],
|
||||
},
|
||||
{
|
||||
"$type": "ByTargetGlobalValue",
|
||||
"key": "_ANIMAL_ENTITY_TYPE",
|
||||
"value": 0,
|
||||
"compareType": "NoneOrEqual",
|
||||
},
|
||||
],
|
||||
"successActions": [
|
||||
{
|
||||
"$type": "ApplyModifier",
|
||||
"modifierName": "UNIQUE_Catalyst_Alaya_GV_Adder",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"thinkInterval": "%Interval",
|
||||
"onThinkInterval": [
|
||||
{
|
||||
"$type": "AddGlobalValue",
|
||||
"key": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"value": 1,
|
||||
"useLimitRange": true,
|
||||
"maxValue": "%MaxStack",
|
||||
},
|
||||
{
|
||||
"$type": "SetGlobalValueToOverrideMap",//mixin实时增伤的,更新override就行
|
||||
"globalValueKey": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"overrideMapKey": "Stack",
|
||||
},
|
||||
],
|
||||
"onAvatarOut": [
|
||||
{
|
||||
"$type":"RemoveUniqueModifier",
|
||||
"modifierName": "UNIQUE_Catalyst_Alaya_Buff",
|
||||
"doOffStage": true,
|
||||
},
|
||||
],
|
||||
"onRemoved": [
|
||||
{
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"value": 0,
|
||||
"doOffStage": true,
|
||||
},
|
||||
]
|
||||
},
|
||||
"UNIQUE_Catalyst_Alaya_GV_Adder":{
|
||||
"isUnique": true,
|
||||
"duration": "%Trigger_CD",
|
||||
"stacking": "Unique",
|
||||
"onAdded": [
|
||||
{
|
||||
"$type":"AddGlobalValue",
|
||||
"key": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"value": "%AttackStack",
|
||||
"useLimitRange": true,
|
||||
"maxValue": "%MaxStack",
|
||||
},
|
||||
{
|
||||
"$type":"SetGlobalValueToOverrideMap",
|
||||
"globalValueKey": "_ABILITY_Weapon_Catalyst_Alaya_Stack",
|
||||
"overrideMapKey": "Stack",
|
||||
},
|
||||
],
|
||||
},
|
||||
"UNIQUE_Catalyst_Alaya_Eff2":{
|
||||
"isUnique": true,
|
||||
"onAdded": [
|
||||
{
|
||||
"$type": "FireEffect",
|
||||
"effectPattern": "Eff_Weapon_Alaya_StackFull",
|
||||
},
|
||||
{
|
||||
"$type":"AttachEffect",
|
||||
"otherTargets": {
|
||||
"$type": "SelectTargetsByEquipParts",
|
||||
"equipPartNames": [
|
||||
"equip01",
|
||||
"equip02",
|
||||
"sheathPoint"
|
||||
],
|
||||
},
|
||||
"effectPattern": "Eff_Weapon_Alaya_WeaponBuff",
|
||||
},
|
||||
// {
|
||||
// "$type": "AttachEffect", //武器上看不清。。角色上绑一个吧。
|
||||
// "effectPattern": "Eff_Avatar_Boy_Sword_Kazuha_ElementalArt_FallingAttack_MapleWind",
|
||||
// },
|
||||
// {
|
||||
// "$type": "AttachEffect",
|
||||
// "effectPattern": "Eff_Avatar_Boy_Sword_Kazuha_ElementalArt_Maple",
|
||||
// },
|
||||
],
|
||||
},
|
||||
"UNIQUE_Catalyst_Alaya_AtkSpeedUp": {
|
||||
"isUnique": true,
|
||||
"isLimitedProperties": true,
|
||||
"properties": {
|
||||
"Animator_AttackSpeedRatio": "%Speed_Rate",
|
||||
},
|
||||
},
|
||||
},
|
||||
"abilitySpecials": {
|
||||
"Speed_Rate":0,
|
||||
"Ratio_Per_Stack":0,
|
||||
"Dura": 0,
|
||||
"Interval": 0,
|
||||
"AttackStack": 0,
|
||||
"Trigger_CD":0,
|
||||
"MaxStack":0,
|
||||
|
||||
"Stack":0, //运算用参数,代表当前层数
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
+284
-194
@@ -7760,205 +7760,295 @@
|
||||
"TeamInheritRatio":0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
//
|
||||
// (待定) 5.18测试完毕
|
||||
// 普攻和重击伤害提升20%,被重击命中的敌人在身上形成一个定时炸弹,1s后爆炸造成AOE伤害,技能CD为10s
|
||||
// 11422 3.3活动鬼伞单手剑 Equip_Sword_Kasabouzu
|
||||
//
|
||||
// 攻击命中敌人后,给第一个敌人一个“惊吓”效果,受到来自装备者/所有鬼伞的伤害提升。持续X秒。cdx秒。//2个实现是类似的,总之功能2个都做了。
|
||||
// 如果目标在“惊吓”持续时间内死亡,则会立刻刷新“惊吓”的cd
|
||||
//
|
||||
///////////////////////////////////////////////////////////////
|
||||
// {
|
||||
// "Default":
|
||||
// {
|
||||
// "$type":"ConfigAbility",
|
||||
// "abilityName":"Weapon_Sword_Morax",
|
||||
// "abilityMixins":
|
||||
// [
|
||||
// {
|
||||
// "$type":"AttachModifierToSelfGlobalValueMixin",
|
||||
// "globalValueKey":"_ABILITY_Sword_Morax",
|
||||
// "removeAppliedModifier":true,
|
||||
// "valueSteps":[-1.5,-0.5,0.5,],
|
||||
// "modifierNameSteps":
|
||||
// [
|
||||
// "UNIQUE_Sword_Morax_CD",
|
||||
// "UNIQUE_Sword_Morax_Handler",
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// "$type":"ModifyDamageMixin",
|
||||
// "attackTags":["NormalAttack_01","NormalAttack_02","NormalAttack_03","NormalAttack_04","NormalAttack_05","NormalAttack_06","ExtraAttack",],
|
||||
// "damagePercentage":"%Atk_Rate",
|
||||
// },
|
||||
// ],
|
||||
|
||||
// "modifiers":
|
||||
// {
|
||||
// "UNIQUE_Sword_Morax_CD":
|
||||
// {
|
||||
// "stacking":"Unique",
|
||||
// "isUnique":true,
|
||||
// "duration":"%CDTime",
|
||||
// "onAdded":
|
||||
// [
|
||||
// {
|
||||
// "$type":"AvatarSkillStart",
|
||||
// "skillID":10101,
|
||||
// "cdRatio":"%CDTime*0.1",
|
||||
// },
|
||||
// ],
|
||||
// "onRemoved":
|
||||
// [
|
||||
// {
|
||||
// //重置技能CD,必须后台也能检测
|
||||
// "$type":"AddGlobalValue",
|
||||
// "key":"_ABILITY_Sword_Morax",
|
||||
// "value":1,
|
||||
// "useLimitRange":true,
|
||||
// "maxValue":0,
|
||||
// "minValue":0,
|
||||
// "doOffStage":true,
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// "UNIQUE_Sword_Morax_Handler":
|
||||
// {
|
||||
// "stacking":"Unique",
|
||||
// "isUnique":true,
|
||||
// "onAttackLanded":
|
||||
// [
|
||||
// {
|
||||
// "$type":"Predicated",
|
||||
// "target":"Target",
|
||||
// "targetPredicates":
|
||||
// [
|
||||
// {
|
||||
// "$type":"ByEntityTypes",
|
||||
// "entityTypes":["Monster"],
|
||||
// },
|
||||
// {
|
||||
// "$type":"ByAttackTags",
|
||||
// "attackTags":["ExtraAttack"],
|
||||
// },
|
||||
// {
|
||||
// "$type":"BySkillReady",
|
||||
// "target":"Self",
|
||||
// "skillID":10101,
|
||||
// },
|
||||
// ],
|
||||
// "successActions":
|
||||
// [
|
||||
// {
|
||||
// "$type":"ApplyModifier",
|
||||
// "modifierName":"UNIQUE_Sword_Morax_EffRel",
|
||||
// "target":"Target",
|
||||
// },
|
||||
// {
|
||||
// "$type":"AddGlobalValue",
|
||||
// "key":"_ABILITY_Sword_Morax",
|
||||
// "value":-1,
|
||||
// "useLimitRange":true,
|
||||
// "maxValue":-1,
|
||||
// "minValue":-1,
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// "UNIQUE_Sword_Morax_EffRel":
|
||||
// {
|
||||
// "stacking":"Unique",
|
||||
// "isUnique":true,
|
||||
// "duration":1,
|
||||
// "onRemoved":
|
||||
// [
|
||||
// {
|
||||
// "$type":"FireEffect",
|
||||
// "effectPattern":"Eff_Weapon_Blast_R20",
|
||||
// "born":
|
||||
// {
|
||||
// "$type": "ConfigBornByAttachPoint",
|
||||
// "attachPointName":"RootNode",
|
||||
// "offset":
|
||||
// {
|
||||
// "x":0,
|
||||
// "y":0,
|
||||
// "z":0,
|
||||
// },
|
||||
// "direction":
|
||||
// {
|
||||
// "$type":"ConfigDirectionByEntity",
|
||||
// "angleOffset":
|
||||
// {
|
||||
// "x":0,
|
||||
// "y":0,
|
||||
// "z":0,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// "$type": "TriggerAttackEvent",
|
||||
// "targetType": "SelfCamp",
|
||||
// "attackEvent":
|
||||
// {
|
||||
// "attackPattern":
|
||||
// {
|
||||
// "$type": "ConfigAttackCircle",
|
||||
// "triggerType": "TriggerNoRepeat",
|
||||
// "fanAngle":360,
|
||||
// "radius":2,
|
||||
// "born":
|
||||
// {
|
||||
// "$type": "ConfigBornByAttachPoint",
|
||||
// "attachPointName":"RootNode",
|
||||
// "offset":
|
||||
// {
|
||||
// "x":0,
|
||||
// "y":0,
|
||||
// "z":0,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// "attackInfo":
|
||||
// {
|
||||
// "attackTag":"WeaponSkill",
|
||||
// "attackProperty":
|
||||
// {
|
||||
// "damagePercentage": "%Bomb_Rate",
|
||||
// "strikeType": "None",
|
||||
// "attackType": "Default",
|
||||
// "enBreak": 50,
|
||||
// },
|
||||
// "hitPattern":
|
||||
// {
|
||||
// "onHitEffectName": "default",
|
||||
// "hitLevel": "Light", //hitlevel = 2
|
||||
// "hitImpulseX": 200, //hitlevel = 2
|
||||
// "hitImpulseY": 0, //hitlevel = 2
|
||||
// "reboundRatio": 0,
|
||||
// "canBeDefenceHalt": false,
|
||||
// "hitHaltTime": 0.0,
|
||||
// "hitHaltTimeScale": 0.05,
|
||||
// "muteHitText": false,
|
||||
// },
|
||||
// "forceCameraShake": false,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// },
|
||||
// "abilitySpecials":
|
||||
// {
|
||||
// "CDTime":5,
|
||||
// "Atk_Rate":0.2,
|
||||
// "Bomb_Rate":0.5,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
{
|
||||
"Default": {
|
||||
"$type": "ConfigAbility",
|
||||
"abilityName": "Weapon_Sword_Kasabouzu",
|
||||
"isDynamicAbility": true,
|
||||
"onAdded": [
|
||||
{
|
||||
"$type": "AttachModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_EffectDelay", //初始化需要一直挂特效。
|
||||
},
|
||||
{
|
||||
"$type":"AttachModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Handler",
|
||||
},
|
||||
{
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu",
|
||||
"value": 1,
|
||||
},
|
||||
],
|
||||
// "abilityMixins": [
|
||||
// {
|
||||
// "$type": "ModifyDamageMixin",//如果目标被标记了GV,就可以增伤。记得恢复
|
||||
// "damagePercentageRatio": "%Ratio",
|
||||
// "ignoreEventInfo": true,
|
||||
// "predicates": [
|
||||
// {
|
||||
// "$type":"ByTargetGlobalValue",
|
||||
// "key": "_ABILITY_Sword_Kasabouzu_Tag",
|
||||
// "value": 1,
|
||||
// "compareType": "Equal",
|
||||
// },
|
||||
// ]
|
||||
// },
|
||||
// ],
|
||||
"modifiers": {
|
||||
"UNIQUE_Sword_Kasabouzu_EffectDelay": //一直给武器挂特效,由于武器加载比ability慢。不多加几次会丢
|
||||
{
|
||||
"isUnique": true,
|
||||
"duration": 5.5,
|
||||
"onAdded": [
|
||||
{
|
||||
"$type": "ApplyModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Effect_Init", //用modifier是因为不会重复上,effect会。
|
||||
"doOffStage": true,
|
||||
"otherTargets": {
|
||||
"$type": "SelectTargetsByEquipParts",
|
||||
"equipPartNames": [
|
||||
"equip01",
|
||||
"equip02",
|
||||
"sheathPoint"
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
"thinkInterval": 1.0,
|
||||
"onThinkInterval": [
|
||||
{
|
||||
"$type": "ApplyModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Effect_Init",
|
||||
"doOffStage": true,
|
||||
"otherTargets": {
|
||||
"$type": "SelectTargetsByEquipParts",
|
||||
"equipPartNames": [
|
||||
"equip01",
|
||||
"equip02",
|
||||
"sheathPoint"
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
"UNIQUE_Sword_Kasabouzu_Effect_Init": {
|
||||
"isUnique": true,
|
||||
"onAdded": [
|
||||
{
|
||||
"$type": "AttachEffect",
|
||||
"effectPattern": "Eff_Weapon_Kasabouzu_Ready",//注意重命名特效
|
||||
"doOffStage": true,
|
||||
},
|
||||
{ //把初始化的内容清除掉。
|
||||
"$type": "RemoveUniqueModifier",
|
||||
"target": "Caster",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_EffectDelay",
|
||||
"doOffStage": true,
|
||||
},
|
||||
],
|
||||
"onRemoved": [
|
||||
{
|
||||
"$type": "FireEffect",
|
||||
"effectPattern": "Eff_Weapon_Kasabouzu_Ready", //注意重命名特效
|
||||
"doOffStage": true,
|
||||
},
|
||||
]
|
||||
},
|
||||
"UNIQUE_Sword_Kasabouzu_Handler":{
|
||||
"isUnique": true,
|
||||
"onAttackLanded": [//注:用onHittingOther会发现当次伤害可以受到增伤。以后再用吧
|
||||
{
|
||||
"$type":"Predicated",
|
||||
"target": "Target",
|
||||
"targetPredicates":
|
||||
[
|
||||
{
|
||||
"$type": "ByEntityTypes",
|
||||
"entityTypes": [
|
||||
"Monster",
|
||||
],
|
||||
},
|
||||
{
|
||||
"$type": "ByTargetGlobalValue",
|
||||
"key": "_ANIMAL_ENTITY_TYPE",
|
||||
"value": 0,
|
||||
"compareType": "NoneOrEqual",
|
||||
},
|
||||
{
|
||||
"$type": "ByTargetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu",
|
||||
"target":"Self",
|
||||
"compareType": "Equal",
|
||||
"value": 1,
|
||||
},
|
||||
],
|
||||
"successActions": [
|
||||
{ //把初始化的特效清除掉。
|
||||
"$type": "RemoveUniqueModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Effect_Init",
|
||||
"otherTargets": {
|
||||
"$type": "SelectTargetsByEquipParts",
|
||||
"equipPartNames": [
|
||||
"equip01",
|
||||
"equip02",
|
||||
"sheathPoint"
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
"$type":"AttachModifier",//给目标上死亡刷新cd的效果,多人各自独立
|
||||
"target": "Target",
|
||||
"modifierName": "Sword_Kasabouzu_Monster_Tag",
|
||||
},
|
||||
{
|
||||
"$type":"RemoveUniqueModifier",//给目标重上受伤增加的效果,多人不可叠加
|
||||
"target":"Target",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Monster_Behit_Tag",
|
||||
},
|
||||
{
|
||||
"$type": "AttachModifier",
|
||||
"target": "Target",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Monster_Behit_Tag",
|
||||
},
|
||||
{
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu",
|
||||
"value": 0,
|
||||
},
|
||||
{
|
||||
"$type":"AttachModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_CD",//开始计算cd
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
"UNIQUE_Sword_Kasabouzu_CD": {
|
||||
"isUnique": true,
|
||||
"duration": "%CDTime",
|
||||
"onRemoved": [
|
||||
{
|
||||
//技能CD重置,必须后台也能检测,否则该技能一直不会被开启了
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu",
|
||||
"value": 1,
|
||||
"doOffStage": true,
|
||||
},
|
||||
//注意初始化的时候必定武器未加载导致没法上特效。所以这个是第二次之后生效的逻辑。
|
||||
{
|
||||
"$type": "AttachEffect",
|
||||
"otherTargets": {
|
||||
"$type": "SelectTargetsByEquipParts",
|
||||
"equipPartNames": [
|
||||
"equip01",
|
||||
"equip02",
|
||||
"sheathPoint"
|
||||
],
|
||||
},
|
||||
"effectPattern": "Eff_Weapon_Kasabouzu_Ready",
|
||||
"doOffStage": true,
|
||||
},
|
||||
],
|
||||
},
|
||||
"UNIQUE_Sword_Kasabouzu_Monster_Behit_Tag":{//怪身上记录TAG和受伤加深。不可叠加。
|
||||
"isUnique": true,
|
||||
"duration": "%Dura",
|
||||
"state": "DefenseDown",
|
||||
"onAdded": [
|
||||
{
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu_Tag",
|
||||
"value": 1,
|
||||
},
|
||||
{
|
||||
"$type": "AttachEffect",//debuff特效
|
||||
"effectPattern": "Eff_Weapon_Kasabouzu",
|
||||
},
|
||||
],
|
||||
"onRemoved": [
|
||||
{
|
||||
"$type": "FireEffect", //debuff特效消散
|
||||
"effectPattern": "Eff_Weapon_Kasabouzu_Disappear",
|
||||
},
|
||||
{
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu_Tag",
|
||||
"value": 0,
|
||||
"doOffStage": true,
|
||||
},
|
||||
],
|
||||
"modifierMixins": [
|
||||
{
|
||||
"$type": "ModifyBeHitDamageMixin",
|
||||
"ignoreEventInfo": true,
|
||||
"damagePercentageRatio": "%Ratio",
|
||||
"predicates": [ //只对这个ability拥有者增伤
|
||||
{
|
||||
"$type": "ByAny",
|
||||
"predicates": [
|
||||
{
|
||||
"$type": "ByTargetIsCaster",
|
||||
"target": "Target",
|
||||
"isCaster": true,
|
||||
},
|
||||
{
|
||||
"$type": "ByTargetIsCaster",
|
||||
"target": "TargetOriginOwner",
|
||||
"isCaster": true,
|
||||
},
|
||||
]
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
"Sword_Kasabouzu_Monster_Tag":{//怪物死亡返还时长的记录。每把剑独立的。
|
||||
"duration": "%Dura",
|
||||
"onKill": [
|
||||
{
|
||||
"$type":"ApplyModifier",
|
||||
"target": "Applier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_Monster_Die",
|
||||
"doOffStage": true,
|
||||
},
|
||||
]
|
||||
},
|
||||
"UNIQUE_Sword_Kasabouzu_Monster_Die":{
|
||||
"isUnique": true,
|
||||
"duration": 0.01,
|
||||
"onRemoved": [//不用onadded,防止1次击杀太多怪,来回上下modifier浪费性能。
|
||||
{//干掉cd的modifier,同时恢复监测
|
||||
"$type": "RemoveUniqueModifier",
|
||||
"modifierName": "UNIQUE_Sword_Kasabouzu_CD",
|
||||
"doOffStage": true,
|
||||
},
|
||||
{//应该是冗余的仅做保险
|
||||
"$type": "SetGlobalValue",
|
||||
"key": "_ABILITY_Sword_Kasabouzu",
|
||||
"value": 1,
|
||||
"doOffStage": true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"abilitySpecials": {
|
||||
"Dura": 0,
|
||||
"Ratio": 0,
|
||||
"CDTime":0,
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
//Ability结尾
|
||||
]
|
||||
Reference in New Issue
Block a user