370 lines
7.0 KiB
Go
370 lines
7.0 KiB
Go
{
|
|
|
|
///////////////////////////////////////////
|
|
//
|
|
// 机关电球子弹
|
|
//
|
|
///////////////////////////////////////////
|
|
"Gear_ElectricBall" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachBox",
|
|
"emitFrom" : "Volume",
|
|
"scaleX" : 1.0,
|
|
"scaleY" : 1.0,
|
|
"scaleZ" : 0.4,
|
|
},
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : true, // 是否继承创造者的数值
|
|
"HP" : 999999,
|
|
"attack" : 10.0,
|
|
"defense" : 999999,
|
|
"weight" : 10,
|
|
"denyLockOn" : true,
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"hitAutoRedirect": false,
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
"animEvents" :
|
|
{
|
|
"ATK01":
|
|
{
|
|
"attackPattern" :
|
|
{
|
|
"$type" : "ConfigAttackBox",
|
|
"size" :
|
|
{
|
|
"x": 0.4,
|
|
"y": 0.4,
|
|
"z": 1.0,
|
|
},
|
|
"duration" : 0.0,
|
|
"triggerType" : "TriggerNoRepeat",
|
|
"born":
|
|
{
|
|
"$type": "ConfigBornByTarget",
|
|
},
|
|
|
|
},
|
|
"attackInfo":
|
|
{
|
|
"attackProperty":
|
|
{
|
|
"damagePercentage": 0.5,
|
|
"elementType": "Electric",
|
|
"elementDurability": 50,
|
|
"strikeType": "None",
|
|
},
|
|
"hitPattern" :
|
|
{
|
|
"onHitEffectName": "default",
|
|
"hitImpulseType":"LV2",
|
|
"overrideHitImpulse":
|
|
{
|
|
"hitLevel": "Light",
|
|
"hitImpulseX": 120,
|
|
"hitImpulseY": 0,
|
|
},
|
|
"reboundRatio": 0,
|
|
"hitHaltTime": 0.12,
|
|
"hitHaltTimeScale": 0.01,
|
|
"muteHitText":false,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
// 子弹线性移动
|
|
"move" :
|
|
{
|
|
"$type" : "ConfigLinerBulletMove",
|
|
"speed" : 15.0,
|
|
"acceleration" : 0,
|
|
"updateAngle" :
|
|
{
|
|
"$type": "ConfigBulletMoveAngleByVelocity",
|
|
},
|
|
},
|
|
// 生命周期管理
|
|
"timer" :
|
|
{
|
|
"lifeInfinite" : false, //如果未触发是否一致存在
|
|
"lifeTime" : 2.5, //存在时间
|
|
},
|
|
// 子弹参数
|
|
"gadget" :
|
|
{
|
|
"$type" : "ConfigBulletPattern",
|
|
"collision" :
|
|
{
|
|
"targetType" : "Enemy",
|
|
"triggerType" : "TriggerOnce",
|
|
},
|
|
"triggerActions" :
|
|
[
|
|
{
|
|
"$type" : "ConfigGadgetDoAttackEvent",
|
|
"attackEvent" : "ATK01",
|
|
},
|
|
],
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Gear_ElectricBall",
|
|
|
|
"abilityName" : "Gear_Electric_ElectricBall_Loop"
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 测试版轴承02-机关
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
"Test_Rotation02" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"hasModel": true,
|
|
"common" :
|
|
{
|
|
"effectAttachShape" :
|
|
{
|
|
"$type" : "ConfigEffectAttachMesh",
|
|
"mesh": "EffectMesh",
|
|
"startSizeRatio": 1.0,
|
|
"scaleX": 1.0,
|
|
"scaleY": 1.0,
|
|
"scaleZ": 1.0,
|
|
},
|
|
"affectedByWorld": true,
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"HP" : 99999,
|
|
"attack" : 10,
|
|
"isLockHP":true,
|
|
"endure":99,
|
|
"isGhostToAllied" : true,
|
|
"isGhostToEnemy" : false,
|
|
"canTriggerBullet" : true,
|
|
"ignorePurgeRate": true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": false,
|
|
"lockType": "Gadget_Lv1"
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"hitAutoRedirect": false,
|
|
"muteAllHit" : false,
|
|
"muteAllHitEffect" : false,
|
|
"muteAllHitText" : true,
|
|
},
|
|
"die" :
|
|
{
|
|
"dieForceDisappearTime" : 3.0,
|
|
},
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Ability_01",
|
|
"abilityName": "Test_Rotation02_Interact",
|
|
},
|
|
],
|
|
},
|
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 3.2提瓦特牌 角色邀请板
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
|
"SceneObj_Area_Common_Property_Prop_GCGInviteBoard_01" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"hasModel": true,
|
|
"intee":
|
|
{
|
|
"$type" : "ConfigIntee",
|
|
"triggerRadius": 2,
|
|
"triggerHeight": 2,
|
|
},
|
|
"uiInteract":
|
|
{
|
|
"gadgetUIBtnCfgPath": "UI/open_gcg_invite_page",
|
|
"canInteractInCombat": false,
|
|
"showCondTypes": ["HOST"],
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : false,
|
|
"HP" : 99999,
|
|
"attack" : 20,
|
|
"defense" : 0,
|
|
"weight" : 50,
|
|
"isInvincible":false,
|
|
"isLockHP":true,
|
|
"isGhostToAllied" : true,
|
|
"isGhostToEnemy" : true,
|
|
"canTriggerBullet" : true,
|
|
"ignoreDamageToSelf": true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
"lockType": "Gadget_Lv1",
|
|
},
|
|
"beHit":
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"hitAutoRedirect": false,
|
|
"muteAllHit" : false,
|
|
"muteAllHitEffect" : false,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
},
|
|
/////////////////////////////////////////////////////////////
|
|
//
|
|
// 小平原风场水晶
|
|
//
|
|
/////////////////////////////////////////////////////////////
|
|
"WindDevice01":
|
|
{
|
|
"$type": "ConfigGadget",
|
|
"combat":
|
|
{
|
|
"property":
|
|
{
|
|
"useCreatorProperty" : false,
|
|
"HP" : 99999,
|
|
"attack" : 20,
|
|
"defense" : 0,
|
|
"weight" : 50,
|
|
"isInvincible": true,
|
|
"isLockHP":true,
|
|
"isGhostToAllied" : false,
|
|
"isGhostToEnemy" : false,
|
|
"canTriggerBullet" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
"lockType": "Gadget_Lv1"
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"hitAutoRedirect": false,
|
|
"muteAllHit" : false,
|
|
"muteAllHitEffect" : false,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
"stateLayers":
|
|
{
|
|
"defaultLayer":
|
|
{
|
|
"$type": "ConfigNormalStateLayer",
|
|
"stateIDs":
|
|
{
|
|
"All":
|
|
{
|
|
"$type": "ConfigNormalStateIDInfo",
|
|
"animatorStates":
|
|
{
|
|
"WindDevice_On": ["Audio_SceneObj_Gear_WindDevice_On"],
|
|
"WindDevice_Off": [],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "Ability_01",
|
|
|
|
"abilityName" : "WindDevice01_Interact",
|
|
},
|
|
],
|
|
},
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 重力测量仪
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
|
"SceneObj_Gear_WhiteBox_Weight" :
|
|
{
|
|
"$type" : "ConfigGadget",
|
|
"field" :
|
|
{
|
|
"concernType" : "CombatExcludeGWGO",
|
|
"shape" : "", //形状,不填为collider
|
|
"checkInterval" : 0, //触发间隔
|
|
"triggerInfinite" : true, //是否永远触发
|
|
"lifeInfinite" : true, //如果未触发是否一致存在
|
|
"overwriteCampType" : true,
|
|
"campType": "All",
|
|
},
|
|
"combat" :
|
|
{
|
|
"property":
|
|
{
|
|
"HP" : 1,
|
|
"attack" : 80,
|
|
"defense" : 0,
|
|
"weight" : 80,
|
|
"isLockHP": true,
|
|
"isGhostToAllied" : false,
|
|
"isGhostToEnemy" : false,
|
|
"canTriggerBullet" : true,
|
|
},
|
|
"combatLock":
|
|
{
|
|
"denyLockOn": true,
|
|
"lockType": "Gadget_Lv1"
|
|
},
|
|
"beHit" :
|
|
{
|
|
"hitBloodEffect" : "",
|
|
"hitAutoRedirect": false,
|
|
"muteAllHit" : true,
|
|
"muteAllHitEffect" : true,
|
|
"muteAllHitText" : true,
|
|
},
|
|
},
|
|
"abilities":
|
|
[
|
|
{
|
|
"abilityID": "SceneObj_Gear_WhiteBox_Weight",
|
|
"abilityName" : "SceneObj_Gear_WhiteBox_Weight",
|
|
},
|
|
],
|
|
},
|
|
}
|
|
|