275 lines
4.7 KiB
Go
275 lines
4.7 KiB
Go
{
|
|
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// FishingRod 鱼竿
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Weapon_FishingRod" : //待废弃
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachMesh",
|
|
"mesh" : "EffectMesh",
|
|
},
|
|
"affectedByWorld" : true,
|
|
},
|
|
//战斗参数
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"HP" : 9999999,
|
|
"attack" : 0,
|
|
"defense" : 999999,
|
|
"isGhostToAllied" : true,
|
|
"isGhostToEnemy" : false,
|
|
"isInvincible" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn" : true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect":"",
|
|
"muteAllHit":true,
|
|
"muteAllHitEffect":true,
|
|
"muteAllHitText":true,
|
|
},
|
|
},
|
|
"equipment" :
|
|
{
|
|
"attachTo" : "equip10", //临时测试
|
|
"equipEntityType" : "None", //临时测试
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Metal",
|
|
"abilityName" : "Avatar_Common_FishingRod",
|
|
},
|
|
],
|
|
},
|
|
|
|
//用Gadget实现鱼竿逻辑
|
|
"Fishing_Rod_Normal_01":
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachMesh",
|
|
"mesh" : "EffectMesh",
|
|
},
|
|
"affectedByWorld" : true,
|
|
},
|
|
//战斗参数
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"HP" : 9999999,
|
|
"attack" : 0,
|
|
"defense" : 999999,
|
|
"isGhostToAllied" : true,
|
|
"isGhostToEnemy" : false,
|
|
"isInvincible" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn" : true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect":"",
|
|
"muteAllHit":true,
|
|
"muteAllHitEffect":true,
|
|
"muteAllHitText":true,
|
|
},
|
|
},
|
|
"move":
|
|
{
|
|
"$type": "ConfigFollowMove",
|
|
"target": "LocalAvatar",
|
|
"attachPoint": "WeaponR",
|
|
"followRotation": true,
|
|
"handleInLateTick": true,
|
|
"offset":
|
|
{
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
},
|
|
"forward":
|
|
{
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
},
|
|
"velocityForce":
|
|
{
|
|
"muteAll": true,
|
|
},
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Metal",
|
|
"abilityName" : "Avatar_Common_FishingRod",
|
|
},
|
|
],
|
|
},
|
|
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// 钓鱼鱼漂发射器 42000001
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Fishing_Aim_Bullet":
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume", //EmitFrom
|
|
"scaleX" : 1.0,
|
|
"scaleY" : 1.0,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
"affectedByWorld" : true,
|
|
"checkInSurface" : false,
|
|
},
|
|
"timer" :
|
|
{
|
|
"lifeTime": 5.0,
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
},
|
|
},
|
|
// 子弹线性移动
|
|
"move" :
|
|
{
|
|
"$type" : "ConfigFishingAimParabolaBulletMove",
|
|
"globalValueKey": "_ABILITY_Fishing_Aim_Length",
|
|
"syncToRemote" : true,
|
|
},
|
|
// 子弹参数
|
|
"gadget" :
|
|
{
|
|
"$type" : "ConfigBulletPattern",
|
|
"collision" :
|
|
{
|
|
"targetType" : "Enemy",
|
|
"triggerType" : "TriggerOnce",
|
|
// "ignoreWater": true,
|
|
"ccd":
|
|
{
|
|
"type" : "Always",
|
|
}
|
|
},
|
|
"triggerActions" :
|
|
[
|
|
{
|
|
"$type" : "ConfigGadgetTriggerAbility",
|
|
"abilityName" : "Avatar_Common_Fishing_Cast_Bullet",
|
|
},
|
|
],
|
|
"triggerLifeOverActions":
|
|
[
|
|
{
|
|
"$type" : "ConfigGadgetTriggerAbility",
|
|
"abilityName" : "Avatar_Common_Fishing_Cast_Bullet",
|
|
},
|
|
],
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Avatar_Common_Fishing_Cast_Bullet",
|
|
"abilityName" : "Avatar_Common_Fishing_Cast_Bullet",
|
|
},
|
|
],
|
|
},
|
|
|
|
////////////////////////////////////////////////////////////////
|
|
//
|
|
// 钓鱼的鱼漂 42000002
|
|
//
|
|
////////////////////////////////////////////////////////////////
|
|
"Fishing_Cork":
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume", //EmitFrom
|
|
"scaleX" : 1.0,
|
|
"scaleY" : 1.0,
|
|
"scaleZ" : 1.0,
|
|
},
|
|
"affectedByWorld" : true,
|
|
"checkInSurface" : false,
|
|
},
|
|
"timer" :
|
|
{
|
|
"lifeInfinite": true,
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
},
|
|
},
|
|
// 子弹参数
|
|
// "gadget" :
|
|
// {
|
|
// "$type" : "ConfigBulletPattern",
|
|
// "collision" :
|
|
// {
|
|
// "targetType" : "Enemy",
|
|
// "triggerType" : "TriggerOnce",
|
|
// // "ignoreWater": true,
|
|
// "ccd":
|
|
// {
|
|
// "type" : "Always",
|
|
// }
|
|
// },
|
|
// "triggerActions" :
|
|
// [
|
|
// ],
|
|
// "triggerLifeOverActions":
|
|
// [
|
|
// ],
|
|
// },
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Avatar_Common_Fishing_Cork",
|
|
"abilityName" : "Avatar_Common_Fishing_Cork",
|
|
},
|
|
],
|
|
},
|
|
|
|
} |