| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332 |
- {
- "weapons": [
- {
- "id": "pea_shooter",
- "name": "毛豆射手",
- "type": "single_shot",
- "rarity": "common",
- "weight": 30,
- "stats": {
- "damage": 20,
- "fireRate": 1.0,
- "range": 300,
- "bulletSpeed": 200,
- "penetration": 1,
- "accuracy": 0.95
- },
- "bulletConfig": {
- "bulletType": "normal",
- "bulletPrefab": "bullets/PeaBullet",
- "hitEffect": "动效输出/特效输出/tx0001",
- "trailEffect": null
- },
- "attackPattern": {
- "type": "single",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/001-0",
- "1x2": "images/植物图标/001-1",
- "2x1": "images/植物图标/001-1",
- "2x2": "images/植物图标/001-1"
- },
- "muzzleFlash": "动效输出/特效输出/tx0001",
- "fireSound": "audio/pea_shot"
- }
- },
- {
- "id": "sharp_carrot",
- "name": "尖胡萝卜",
- "type": "piercing",
- "rarity": "common",
- "weight": 25,
- "stats": {
- "damage": 15,
- "fireRate": 0.8,
- "range": 400,
- "bulletSpeed": 250,
- "penetration": 999,
- "accuracy": 0.9
- },
- "bulletConfig": {
- "bulletType": "piercing",
- "bulletPrefab": "bullets/CarrotBullet",
- "hitEffect": "动效输出/特效输出/tx0002",
- "trailEffect": "动效输出/特效输出/tx0002"
- },
- "attackPattern": {
- "type": "single",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/002",
- "1x2": "images/植物图标/002",
- "2x1": "images/植物图标/002",
- "2x2": "images/植物图标/002"
- },
- "muzzleFlash": "动效输出/特效输出/tx0002",
- "fireSound": "audio/carrot_shot"
- }
- },
- {
- "id": "saw_grass",
- "name": "锯齿草",
- "type": "ricochet_piercing",
- "rarity": "uncommon",
- "weight": 20,
- "stats": {
- "damage": 25,
- "fireRate": 0.6,
- "range": 350,
- "bulletSpeed": 180,
- "penetration": 3,
- "accuracy": 0.85
- },
- "bulletConfig": {
- "bulletType": "ricochet",
- "bulletPrefab": "bullets/SawBullet",
- "hitEffect": "动效输出/特效输出/tx0003",
- "trailEffect": "动效输出/特效输出/tx0003",
- "ricochetCount": 2,
- "ricochetAngle": 45
- },
- "attackPattern": {
- "type": "single",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/003",
- "1x2": "images/植物图标/003",
- "2x1": "images/植物图标/003",
- "2x2": "images/植物图标/003"
- },
- "muzzleFlash": "动效输出/特效输出/tx0003",
- "fireSound": "audio/saw_shot"
- }
- },
- {
- "id": "watermelon_bomb",
- "name": "西瓜炸弹",
- "type": "explosive",
- "rarity": "rare",
- "weight": 15,
- "stats": {
- "damage": 50,
- "fireRate": 0.4,
- "range": 250,
- "bulletSpeed": 120,
- "penetration": 1,
- "accuracy": 0.8,
- "explosionRadius": 100,
- "explosionDamage": 80
- },
- "bulletConfig": {
- "bulletType": "explosive",
- "bulletPrefab": "bullets/WatermelonBomb",
- "hitEffect": "动效输出/特效输出/tx0004",
- "trailEffect": "动效输出/特效输出/tx0004",
- "explosionDelay": 0.1
- },
- "attackPattern": {
- "type": "single",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/004",
- "1x2": "images/植物图标/004",
- "2x1": "images/植物图标/004",
- "2x2": "images/植物图标/004"
- },
- "muzzleFlash": "动效输出/特效输出/tx0004",
- "fireSound": "audio/bomb_launch"
- }
- },
- {
- "id": "boomerang_plant",
- "name": "回旋镖盆栽",
- "type": "boomerang",
- "rarity": "uncommon",
- "weight": 18,
- "stats": {
- "damage": 30,
- "fireRate": 0.5,
- "range": 300,
- "bulletSpeed": 150,
- "penetration": 999,
- "accuracy": 0.9,
- "returnSpeed": 100
- },
- "bulletConfig": {
- "bulletType": "boomerang",
- "bulletPrefab": "bullets/BoomerangBullet",
- "hitEffect": "动效输出/特效输出/tx0005",
- "trailEffect": "动效输出/特效输出/tx0005",
- "arcHeight": 50,
- "returnDelay": 1.0
- },
- "attackPattern": {
- "type": "arc",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/005",
- "1x2": "images/植物图标/005",
- "2x1": "images/植物图标/005",
- "2x2": "images/植物图标/005"
- },
- "muzzleFlash": "动效输出/特效输出/tx0005",
- "fireSound": "audio/boomerang_throw"
- }
- },
- {
- "id": "hot_pepper",
- "name": "炙热辣椒",
- "type": "area_burn",
- "rarity": "rare",
- "weight": 12,
- "stats": {
- "damage": 40,
- "fireRate": 0.3,
- "range": 280,
- "bulletSpeed": 100,
- "penetration": 1,
- "accuracy": 0.75,
- "explosionRadius": 120,
- "burnDuration": 5.0,
- "burnDamage": 10
- },
- "bulletConfig": {
- "bulletType": "area_burn",
- "bulletPrefab": "bullets/PepperBomb",
- "hitEffect": "动效输出/特效输出/tx0006",
- "trailEffect": "动效输出/特效输出/tx0006",
- "burnEffect": "动效输出/特效输出/tx0006",
- "explosionDelay": 0.2
- },
- "attackPattern": {
- "type": "single",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/006",
- "1x2": "images/植物图标/006",
- "2x1": "images/植物图标/006",
- "2x2": "images/植物图标/006"
- },
- "muzzleFlash": "动效输出/特效输出/tx0006",
- "fireSound": "audio/pepper_launch"
- }
- },
- {
- "id": "cactus_shotgun",
- "name": "仙人散弹",
- "type": "shotgun",
- "rarity": "uncommon",
- "weight": 22,
- "stats": {
- "damage": 12,
- "fireRate": 0.7,
- "range": 200,
- "bulletSpeed": 180,
- "penetration": 1,
- "accuracy": 0.7
- },
- "bulletConfig": {
- "bulletType": "normal",
- "bulletPrefab": "bullets/CactusBullet",
- "hitEffect": "动效输出/特效输出/tx0007",
- "trailEffect": null
- },
- "attackPattern": {
- "type": "spread",
- "projectileCount": 5,
- "spreadAngle": 30,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/007",
- "1x2": "images/植物图标/007",
- "2x1": "images/植物图标/007",
- "2x2": "images/植物图标/007"
- },
- "muzzleFlash": "动效输出/特效输出/tx0007",
- "fireSound": "audio/cactus_shot"
- }
- },
- {
- "id": "okra_missile",
- "name": "秋葵导弹",
- "type": "homing_missile",
- "rarity": "epic",
- "weight": 8,
- "stats": {
- "damage": 70,
- "fireRate": 0.25,
- "range": 500,
- "bulletSpeed": 80,
- "penetration": 1,
- "accuracy": 1.0,
- "explosionRadius": 150,
- "homingStrength": 0.8
- },
- "bulletConfig": {
- "bulletType": "homing_missile",
- "bulletPrefab": "bullets/OkraMissile",
- "hitEffect": "动效输出/特效输出/tx0004",
- "trailEffect": "动效输出/特效输出/tx0007",
- "homingDelay": 0.3,
- "arcHeight": 100
- },
- "attackPattern": {
- "type": "arc",
- "projectileCount": 1,
- "spreadAngle": 0,
- "burstCount": 1,
- "burstDelay": 0
- },
- "visualConfig": {
- "weaponSprites": {
- "1x1": "images/植物图标/008",
- "1x2": "images/植物图标/008-1",
- "2x1": "images/植物图标/008-1",
- "2x2": "images/植物图标/008-1"
- },
- "muzzleFlash": "动效输出/特效输出/tx0004",
- "fireSound": "audio/missile_launch"
- }
- }
- ],
- "rarityWeights": {
- "common": 60,
- "uncommon": 25,
- "rare": 12,
- "epic": 3
- },
- "blockSizes": ["1x1", "1x2", "2x1", "2x2"]
- }
|