444 lines
12 KiB
Go
444 lines
12 KiB
Go
{
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// Ayato_ExtraAttack_Bullet 41066004 第五击子弹
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Ayato_ExtraAttack_Bullet":
|
|
{
|
|
"$type": "ConfigGadget",
|
|
"common": {
|
|
"effectAttachShape": {
|
|
"$type": "ConfigEffectAttachBox",
|
|
"emitFrom": "Volume",
|
|
"scaleX": 1,
|
|
"scaleY": 1,
|
|
"scaleZ": 1.0,
|
|
},
|
|
},
|
|
"combat": {
|
|
"property": {
|
|
"useCreatorProperty": true, // 是否继承创造者的数值
|
|
"canTriggerBullet": false,
|
|
"isGhostToAllied": true,
|
|
"isGhostToEnemy": true,
|
|
},
|
|
"combatLock": {
|
|
"denyLockOn": true,
|
|
},
|
|
"beHit": {
|
|
"hitBloodEffect": "",
|
|
"muteAllHit": true,
|
|
"muteAllHitEffect": true,
|
|
"muteAllHitText": true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer": {
|
|
"lifeInfinite": false, //如果未触发是否一致存在
|
|
"lifeTime": 0.25, //存在时间
|
|
},
|
|
"move": {
|
|
"$type": "ConfigFollowMove",
|
|
"target": "LocalAvatar",
|
|
// "attachPoint" : "RootNode",//不能followroot不然会歪。
|
|
"followRotation": true,
|
|
"offset": {
|
|
"x": 0.0,
|
|
"y": 1.04, //成男bip在1.04位置
|
|
"z": 0.0,
|
|
},
|
|
"forward": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 1.0,
|
|
},
|
|
},
|
|
"gadget": {
|
|
"$type": "ConfigBulletPattern",
|
|
"collision": {
|
|
"targetType": "Enemy",
|
|
"triggerType": "TriggerNoRepeat",
|
|
"ignoreScene": true,
|
|
"ccd": {
|
|
"type": "Always",
|
|
}
|
|
},
|
|
"triggerActions": [
|
|
{
|
|
"$type": "ConfigGadgetTriggerAbility",
|
|
"abilityName": "Avatar_Ayato_ExtraAttack_Bullet",
|
|
},
|
|
],
|
|
},
|
|
"abilities": [
|
|
{
|
|
"abilityID": "Avatar_Ayato_ExtraAttack_Bullet",
|
|
"abilityName": "Avatar_Ayato_ExtraAttack_Bullet",
|
|
},
|
|
],
|
|
},
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// Ayato_ElementalArt_Gadget 41066001 小技能留下幻影
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Ayato_ElementalArt_Gadget" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 1.0,
|
|
"scaleY" : 1.0,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
"affectedByWorld": true,
|
|
"checkInSurface": false,
|
|
},
|
|
"combat" :
|
|
{
|
|
"property"://完全不会和世界交互
|
|
{
|
|
"useCreatorProperty": true, // 是否继承创造者的数值
|
|
"useCreatorBuffedProperty": true,
|
|
"useAbilityProperty": false,
|
|
"canTriggerBullet": false,
|
|
"isGhostToAllied": true,
|
|
"isGhostToEnemy": true,
|
|
"isInvincible": true,
|
|
"denyElementStick": true,
|
|
},
|
|
"combatLock": {
|
|
"denyLockOn": true,
|
|
"lockType": "Gadget_Lv1",
|
|
"overrideRange": -1,
|
|
"overrideNormalPri": -1,
|
|
"overrideCombatPri": -1,
|
|
},
|
|
"beHit": {
|
|
"muteAllHitText": true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"gadget": {
|
|
"$type": "ConfigBulletPattern",
|
|
"collision": {
|
|
"targetType": "Enemy",
|
|
"triggerType": "TriggerOnce",//注意改为triggeronce
|
|
"ignoreWater": false,
|
|
"ignoreScene": true,
|
|
},
|
|
"triggerActions": [
|
|
{
|
|
"$type": "ConfigGadgetTriggerAbility",
|
|
"abilityName": "Avatar_Ayato_ElementalArt_Gadget",
|
|
},
|
|
],
|
|
"triggerLifeOverActions": [
|
|
{
|
|
"$type": "ConfigGadgetTriggerAbility",
|
|
"abilityName": "Avatar_Ayato_ElementalArt_Gadget",
|
|
},
|
|
],
|
|
"killByOther": true,
|
|
// "enableCollisionDelay": 0.3,//不可以delay,不然怪初始在里面的话就不会被测到。//后来改成animation缩放,但参考了klee也不加delay。
|
|
},
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 6.0, //存在时间
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Avatar_Ayato_ElementalArt_Gadget",
|
|
"abilityName": "Avatar_Ayato_ElementalArt_Gadget"
|
|
},
|
|
],
|
|
},
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// Ayato_ElementalBurst_Gadget 41066002 处理领域相关的gadget,可能有可能没有。
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Ayato_ElementalBurst_Gadget":
|
|
{
|
|
"$type": "ConfigGadget",
|
|
"common": {
|
|
"effectAttachShape": {
|
|
"$type": "ConfigEffectAttachBox",
|
|
"emitFrom": "Volume",
|
|
"scaleX": 0.5,
|
|
"scaleY": 0.5,
|
|
"scaleZ": 1.0,
|
|
},
|
|
"affectedByWorld": false,
|
|
},
|
|
"combat": {
|
|
"property": {
|
|
"useCreatorProperty": true, // 是否继承创造者的数值
|
|
"useCreatorBuffedProperty": true, // 继承的数值是否使用创造者身上的buff带来的property进行计算,仅在useCreatorProperty为true,或useCreatorPropertyPartly有值时生效,说白了就是创生时主人的临时buff对它起不起效
|
|
"useAbilityProperty": false, // 是否使用自己的AbilityState中的AbilityProperty进行CombatProperty的计算,说白了就是自己后续还吃不吃临时buff。
|
|
"canTriggerBullet": false,
|
|
"isGhostToAllied": true,
|
|
"isGhostToEnemy": true,
|
|
"isInvincible": true,
|
|
},
|
|
"combatLock": {
|
|
"denyLockOn": true,
|
|
},
|
|
"beHit": {
|
|
"hitBloodEffect": "",
|
|
"muteAllHit": true,
|
|
"muteAllHitEffect": true,
|
|
"muteAllHitText": true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer": {
|
|
"lifeInfinite": false, //如果未触发是否一致存在
|
|
"lifeTime": 21.0, //存在时间
|
|
},
|
|
"abilities": [
|
|
{
|
|
"abilityID": "Avatar_Ayato_ElementalBurst_Gadget",
|
|
"abilityName": "Avatar_Ayato_ElementalBurst_Gadget"
|
|
},
|
|
],
|
|
},
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// Ayato_ElementalBurst_Gadget_1 41066003 每次生成的花,攻击敌人用 (已废弃)
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Ayato_ElementalBurst_Gadget_1" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 0.5,
|
|
"scaleY" : 0.5,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
"affectedByWorld": true,
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true, // 是否继承创造者的数值
|
|
"useCreatorBuffedProperty" : true, // 继承的数值是否使用创造者身上的buff带来的property进行计算,仅在useCreatorProperty为true,或useCreatorPropertyPartly有值时生效,说白了就是创生时主人的临时buff对它起不起效
|
|
"useAbilityProperty" : false, // 是否使用自己的AbilityState中的AbilityProperty进行CombatProperty的计算,说白了就是自己后续还吃不吃临时buff。
|
|
"canTriggerBullet" : false,
|
|
"isGhostToAllied": true,
|
|
"isGhostToEnemy": true,
|
|
"isInvincible": true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 1.0, //存在时间
|
|
},
|
|
},
|
|
///////////////////////////////////////////////////////////////
|
|
//
|
|
// Ayato_Talent_Gadget 41066005 命6攻击用的gadget
|
|
//
|
|
////////////////////////////////////////////////////////////
|
|
"Ayato_Talent_Gadget":
|
|
{
|
|
"$type": "ConfigGadget",
|
|
"common": {
|
|
"effectAttachShape": {
|
|
"$type": "ConfigEffectAttachBox",
|
|
"emitFrom": "Volume",
|
|
"scaleX": 0.5,
|
|
"scaleY": 0.5,
|
|
"scaleZ": 1.0,
|
|
},
|
|
"affectedByWorld": false, //因为非实体
|
|
},
|
|
"combat": {
|
|
"property": {
|
|
"useCreatorProperty": true, // 是否继承创造者的数值
|
|
"useCreatorBuffedProperty": true, // 继承的数值是否使用创造者身上的buff带来的property进行计算,仅在useCreatorProperty为true,或useCreatorPropertyPartly有值时生效,说白了就是创生时主人的临时buff对它起不起效
|
|
"useAbilityProperty": false, // 是否使用自己的AbilityState中的AbilityProperty进行CombatProperty的计算,说白了就是自己后续还吃不吃临时buff。
|
|
"canTriggerBullet": false,
|
|
"isGhostToAllied": true,
|
|
"isGhostToEnemy": true,
|
|
"isInvincible": true,
|
|
},
|
|
"combatLock": {
|
|
"denyLockOn": true,
|
|
},
|
|
"beHit": {
|
|
"hitBloodEffect": "",
|
|
"muteAllHit": true,
|
|
"muteAllHitEffect": true,
|
|
"muteAllHitText": true,
|
|
},
|
|
"animEvents": {
|
|
"SP_ATK04": //命座攻击
|
|
{
|
|
"attackPattern": {
|
|
"$type": "ConfigAttackBox",
|
|
"triggerType": "TriggerNoRepeat",
|
|
"size": {
|
|
"x": 8.0,
|
|
"y": 3.0,
|
|
"z": 7,
|
|
},
|
|
"born": {
|
|
"$type": "ConfigBornBySelf",
|
|
"offset": {
|
|
"x": 0,
|
|
"y": 1.3,
|
|
"z": 0,
|
|
},
|
|
},
|
|
"massiveAttackRatio": 0.4,
|
|
},
|
|
"attackInfo": {
|
|
"canBeModifiedBy": "OriginOwner",
|
|
"attackTag": "NormalAttack_04",
|
|
// "attenuationTag": "NormalAttack",//不会衰减
|
|
"attackProperty": {
|
|
"damagePercentage": 0,
|
|
"strikeType": "Slash",
|
|
"elementType": "Water",
|
|
"elementDurability": 25,
|
|
"attackType": "Melee",
|
|
"enBreak": 60,
|
|
},
|
|
"hitPattern": {
|
|
"onHitEffectName": "Eff_Avatar_Male_Sword_Ayato_Hit_02",
|
|
"hitImpulseType": "LV2", //LV3会击退,换成lv2试试
|
|
"canBeDefenceHalt": false,
|
|
"retreatType": "ByAttackerForward",
|
|
"hitHaltTime": 0.03,
|
|
"hitHaltTimeScale": 0.01,
|
|
"muteHitText": false
|
|
},
|
|
"forceCameraShake": false, //测试用,注意是否改回false
|
|
"cameraShake": {
|
|
"shakeType": "CustomVector",
|
|
"shakeRange": 0.1,
|
|
"shakeTime": 0.12,
|
|
"shakeDistance": 30,
|
|
"shakeDir": {
|
|
"x": -1,
|
|
"y": -1, //记得是加了y效果不好,所以y做成0
|
|
"z": 0,
|
|
},
|
|
},
|
|
}
|
|
},
|
|
"SP_ATK05": //命座攻击
|
|
{
|
|
"attackPattern": {
|
|
"$type": "ConfigAttackBox",
|
|
"triggerType": "TriggerNoRepeat",
|
|
"size": {
|
|
"x": 8.0,
|
|
"y": 3.0,
|
|
"z": 7,
|
|
},
|
|
"born": {
|
|
"$type": "ConfigBornBySelf",
|
|
"offset": {
|
|
"x": 0,
|
|
"y": 1.3,
|
|
"z": 0,
|
|
},
|
|
},
|
|
"massiveAttackRatio": 0.4,
|
|
},
|
|
"attackInfo": {
|
|
"canBeModifiedBy": "OriginOwner",
|
|
"attackTag": "NormalAttack_05",
|
|
"attackProperty": {
|
|
"damagePercentage": 0,
|
|
"strikeType": "Slash",
|
|
"elementType": "Water",
|
|
"elementDurability": 25,
|
|
"attackType": "Melee",
|
|
"enBreak": 60,
|
|
},
|
|
"hitPattern": {
|
|
"onHitEffectName": "Eff_Avatar_Male_Sword_Ayato_Hit_03",
|
|
"hitImpulseType": "LV2", //LV3会击退,换成lv2试试
|
|
"canBeDefenceHalt": false,
|
|
"retreatType": "ByAttackerForward",
|
|
"hitHaltTime": 0.03,
|
|
"hitHaltTimeScale": 0.01,
|
|
"muteHitText": false
|
|
},
|
|
"forceCameraShake": false, //测试用,注意是否改回false
|
|
"cameraShake": {
|
|
"shakeType": "CustomVector",
|
|
"shakeRange": 0.1,
|
|
"shakeTime": 0.12,
|
|
"shakeDistance": 30,
|
|
"shakeDir": {
|
|
"x": -1,
|
|
"y": 1, //记得是加了y效果不好,所以y做成0
|
|
"z": 0,
|
|
},
|
|
},
|
|
}
|
|
},
|
|
},
|
|
},
|
|
"stateLayers": {
|
|
"defaultLayer": {
|
|
"$type": "ConfigNormalStateLayer",
|
|
"stateIDs": {
|
|
"Ayato_Talent_Gadget": {
|
|
"$type": "ConfigNormalStateIDInfo",
|
|
"animatorStates": {
|
|
"Ayato_Talent_Gadget": [
|
|
"Ayato_Talent_Gadget",
|
|
],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer": {
|
|
"lifeInfinite": false, //如果未触发是否一致存在
|
|
"lifeTime": 3.0, //存在时间
|
|
},
|
|
"abilities": [
|
|
{
|
|
"abilityID": "Avatar_Ayato_Talent6_Gadget",
|
|
"abilityName": "Avatar_Ayato_Talent6_Gadget"
|
|
},
|
|
// {
|
|
// "abilityID": "Avatar_Ayato_Talent6_AttackEvent2",
|
|
// "abilityName": "Avatar_Ayato_Talent6_AttackEvent2"
|
|
// },
|
|
],
|
|
},
|
|
} |