Browse Source

射程增加

181404010226 4 months ago
parent
commit
a4a52fc568

BIN
assets/resources/data/excel/方块武器配置/~$方块武器配置表.xlsx


+ 0 - 12
assets/resources/data/excel/方块武器配置/~$方块武器配置表.xlsx.meta

@@ -1,12 +0,0 @@
-{
-  "ver": "1.0.0",
-  "importer": "*",
-  "imported": true,
-  "uuid": "29bb78ca-4aae-41d3-a6cf-d035988bf6c2",
-  "files": [
-    ".json",
-    ".xlsx"
-  ],
-  "subMetas": {},
-  "userData": {}
-}

BIN
assets/resources/data/excel/方块武器配置/方块武器配置表.xlsx


+ 32 - 40
assets/resources/data/weapons.json

@@ -9,7 +9,7 @@
       "stats": {
         "damage": 10,
         "fireRate": 1.0,
-        "range": 300,
+        "range": 450,
         "bulletSpeed": 30
       },
       "bulletConfig": {
@@ -45,9 +45,9 @@
           "returnToOrigin": false
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Pea_ShooterBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -59,8 +59,7 @@
           "S": "images/PlantsSprite/001-1",
           "D-T": "images/PlantsSprite/001-1"
         },
-        "fireSound": "audio/pea_shooter_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/pea_shooter_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -165,7 +164,7 @@
           "maxRange": 800
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Sharp_CarrotBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
           "trailEffect": "Animation/WeaponTx/tx0001/tx0001",
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
@@ -179,8 +178,7 @@
           "S": "images/PlantsSprite/002",
           "D-T": "images/PlantsSprite/002"
         },
-        "fireSound": "audio/sharp_carrot_shot",
-        "trailEffect": "Animation/WeaponTx/tx0001/tx0001"
+        "fireSound": "audio/sharp_carrot_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -293,9 +291,9 @@
           "returnToOrigin": false
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Saw_GrassBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -307,8 +305,7 @@
           "S": "images/PlantsSprite/003",
           "D-T": "images/PlantsSprite/003"
         },
-        "fireSound": "audio/saw_grass_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/saw_grass_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -375,7 +372,7 @@
       "stats": {
         "damage": 15,
         "fireRate": 0.4,
-        "range": 250,
+        "range": 500,
         "bulletSpeed": 20
       },
       "bulletConfig": {
@@ -413,9 +410,9 @@
           "returnToOrigin": false
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Watermelon_BombBullet",
           "hitEffect": "Animation/WeaponTx/tx0007/tx0007",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -427,8 +424,7 @@
           "S": "images/PlantsSprite/007",
           "D-T": "images/PlantsSprite/007"
         },
-        "fireSound": "audio/watermelon_bomb_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/watermelon_bomb_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -532,9 +528,9 @@
           "returnDelay": 1.0
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Boomerang_PlantBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -546,8 +542,7 @@
           "S": "images/PlantsSprite/004",
           "D-T": "images/PlantsSprite/004"
         },
-        "fireSound": "audio/boomerang_plant_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/boomerang_plant_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -614,7 +609,7 @@
       "stats": {
         "damage": 15,
         "fireRate": 0.3,
-        "range": 280,
+        "range": 500,
         "bulletSpeed": 20
       },
       "bulletConfig": {
@@ -650,9 +645,9 @@
           "returnToOrigin": false
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Hot_PepperBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -664,8 +659,7 @@
           "S": "images/PlantsSprite/005",
           "D-T": "images/PlantsSprite/005"
         },
-        "fireSound": "audio/hot_pepper_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/hot_pepper_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -732,14 +726,14 @@
       "stats": {
         "damage": 6,
         "fireRate": 0.7,
-        "range": 200,
+        "range": 500,
         "bulletSpeed": 30
       },
       "bulletConfig": {
-         "count": {
-          "type": "single",
-          "amount": 1,
-          "spreadAngle": 0,
+        "count": {
+          "type": "spread",
+          "amount": 5,
+          "spreadAngle": 30,
           "burstCount": 1,
           "burstDelay": 0
         },
@@ -766,12 +760,12 @@
           "penetration": 1,
           "ricochetCount": 0,
           "returnToOrigin": false,
-          "maxRange": 400
+          "maxRange": 1000
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Cactus_ShotgunBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -783,8 +777,7 @@
           "S": "images/PlantsSprite/008",
           "D-T": "images/PlantsSprite/008"
         },
-        "fireSound": "audio/cactus_shotgun_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/cactus_shotgun_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,
@@ -889,9 +882,9 @@
           "returnToOrigin": false
         },
         "visual": {
-          "bulletPrefab": "Pellet",
+          "bulletPrefab": "bullets/Okra_MissileBullet",
           "hitEffect": "Animation/WeaponTx/tx0002/tx0002",
-          "trailEffect": "True",
+          "trailEffect": null,
           "muzzleFlash": "Animation/WeaponTx/tx0002/tx0002"
         }
       },
@@ -903,8 +896,7 @@
           "S": "images/PlantsSprite/006",
           "D-T": "images/PlantsSprite/006"
         },
-        "fireSound": "audio/okra_missile_shot",
-        "trailEffect": "True"
+        "fireSound": "audio/okra_missile_shot"
       },
       "upgradeConfig": {
         "maxLevel": 10,