377 lines
8.0 KiB
Go
377 lines
8.0 KiB
Go
{
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// 元素战技长按子弹 41080001
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Mika_ElementalArt_Bullet_Main" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 1,
|
|
"scaleY" : 1,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true, // 是否继承创造者的数值
|
|
"useCreatorBuffedProperty" : true, // 继承的数值是否使用创造者身上的buff带来的property进行计算,仅在useCreatorProperty为true,或useCreatorPropertyPartly有值时生效,说白了就是创生时主人的临时buff对它起不起效
|
|
"useAbilityProperty" : false, // 是否使用自己的AbilityState中的AbilityProperty进行CombatProperty的计算,说白了就是自己后续还吃不吃临时buff。
|
|
"canTriggerBullet" : false,
|
|
"isInvincible": true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
// 子弹线性移动
|
|
"move" :
|
|
{
|
|
"$type" : "ConfigTrackBulletMove",
|
|
"speed": 20,
|
|
"traceOnYAxis" : true,
|
|
"anglerVelocity": 360,
|
|
"canBornInWater": true,
|
|
"updateAngle":
|
|
{
|
|
"$type": "ConfigBulletMoveAngleByVelocity",
|
|
"isSmoothRotation": true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 20.0, //存在时间
|
|
},
|
|
"gadget" :
|
|
{
|
|
"$type" : "ConfigBulletPattern",
|
|
"collision" :
|
|
{
|
|
"targetType" : "Enemy",
|
|
"triggerType" : "TriggerOnce",
|
|
},
|
|
"triggerActions" :
|
|
[
|
|
{
|
|
"$type" : "ConfigGadgetTriggerAbility",
|
|
"abilityName" : "Mika_ElementalArt_Charge_Bullet_Main",
|
|
},
|
|
],
|
|
"triggerLifeOverActions" :
|
|
[
|
|
],
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Mika_ElementalArt_Charge_Bullet_Main",
|
|
"abilityName":"Mika_ElementalArt_Charge_Bullet_Main",
|
|
},
|
|
],
|
|
},
|
|
"Mika_ElementalArt_Bullet_Main_NoTarget" ://41080004
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 1,
|
|
"scaleY" : 1,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true, // 是否继承创造者的数值
|
|
"useCreatorBuffedProperty" : true, // 继承的数值是否使用创造者身上的buff带来的property进行计算,仅在useCreatorProperty为true,或useCreatorPropertyPartly有值时生效,说白了就是创生时主人的临时buff对它起不起效
|
|
"useAbilityProperty" : false, // 是否使用自己的AbilityState中的AbilityProperty进行CombatProperty的计算,说白了就是自己后续还吃不吃临时buff。
|
|
"canTriggerBullet" : false,
|
|
"isInvincible": true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
// 子弹线性移动
|
|
"move" :
|
|
{
|
|
"$type" : "ConfigLinerParabolaBulletMove",
|
|
"speed" : 50.0,
|
|
"straightRange" : 25.0,
|
|
"gravityOfAcceleration" : 5.5,
|
|
"airResistance" : 0.01,
|
|
"updateAngle" :
|
|
{
|
|
"$type": "ConfigBulletMoveAngleByVelocity",
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 20.0, //存在时间
|
|
},
|
|
"gadget" :
|
|
{
|
|
"$type" : "ConfigBulletPattern",
|
|
"collision" :
|
|
{
|
|
"targetType" : "Enemy",
|
|
"triggerType" : "TriggerOnce",
|
|
},
|
|
"triggerActions" :
|
|
[
|
|
{
|
|
"$type" : "ConfigGadgetTriggerAbility",
|
|
"abilityName" : "Mika_ElementalArt_Charge_Bullet_Main",
|
|
},
|
|
],
|
|
"triggerLifeOverActions" :
|
|
[
|
|
],
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Mika_ElementalArt_Charge_Bullet_Main",
|
|
"abilityName":"Mika_ElementalArt_Charge_Bullet_Main",
|
|
},
|
|
],
|
|
},
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// 元素战技次级弹射子弹 41080002
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Mika_ElementalArt_Bullet_Sub" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 0.5,
|
|
"scaleY" : 0.5,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
"affectedByWorld": true,
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true, // 是否继承创造者的数值
|
|
"canTriggerBullet" : false,
|
|
"isInvincible":true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn":true,
|
|
"lockType":"Gadget_Lv1",
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
// 子弹线性移动
|
|
"move": {
|
|
"$type": "ConfigTrackBulletMove",
|
|
"delay": 0.05,//原0.1,感觉延迟太久了
|
|
"speed": 14,//5效果还行
|
|
"acceleration": -2,
|
|
"traceOnYAxis": true,
|
|
"anglerVelocity": 2000.0,
|
|
"accelerationTime": 2,
|
|
"canBornInWater": true,
|
|
"updateAngle": {
|
|
"$type": "ConfigBulletMoveAngleByVelocity",
|
|
},
|
|
"whenNoTarget": {
|
|
"defaultTarget":{
|
|
"$type": "ConfigBornBySelf",
|
|
"offset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0.01, //不可以完全一致,会导致认为到达而停止。
|
|
},
|
|
},
|
|
"detectDelay": 0.5,//防止还没飞出就自毁了。
|
|
"$type": "ConfigDestroyByTargetSphere",
|
|
"radius": 0.5,//这个自毁机制很有趣,如果此时子弹有碰撞盒会触发trigger,没有则会触发lifeOver。
|
|
},
|
|
"velocityForce": {
|
|
"muteAll": true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 2.0, //存在时间
|
|
},
|
|
// 子弹参数
|
|
"gadget" :
|
|
{
|
|
"$type" : "ConfigBulletPattern",
|
|
"collision" :
|
|
{
|
|
"targetType" : "Enemy",
|
|
"triggerType" : "TriggerOnce",
|
|
},"enableCollisionDelay": 0.3,"dieDelayTime": 0.3,
|
|
"triggerActions" :
|
|
[
|
|
{
|
|
"$type" : "ConfigGadgetTriggerAbility",
|
|
"abilityName" : "Mika_ElementalArt_Charge_Bullet_Sub",
|
|
},
|
|
],
|
|
"fireAISoundEvent" : true,
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Mika_ElementalArt_Charge_Bullet_Sub",
|
|
"abilityName" : "Mika_ElementalArt_Charge_Bullet_Sub"
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// 重击子弹 41080003
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Mika_ExtraAttack_Bullet" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 1,
|
|
"scaleY" : 1,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true, // 是否继承创造者的数值
|
|
"canTriggerBullet" : false,
|
|
"isInvincible":true,
|
|
"isGhostToAllied" : true,
|
|
"isGhostToEnemy" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn":true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 0.5, //存在时间
|
|
},
|
|
"move" :
|
|
{
|
|
"$type" : "ConfigFollowMove",
|
|
"target" : "LocalAvatar",
|
|
// "attachPoint" : "RootNode",
|
|
"followRotation" : true,
|
|
"offset" :
|
|
{
|
|
"x" : 0.0,
|
|
"y" : 0.9,
|
|
"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_Mika_ExtraAttack_Bullet",
|
|
},
|
|
],
|
|
"triggerLifeOverActions" :
|
|
[
|
|
],
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Avatar_Mika_ExtraAttack_Bullet",
|
|
"abilityName":"Avatar_Mika_ExtraAttack_Bullet",
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
} |