| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611 |
- {
- "enemies": [
- {
- "id": "normal_zombie",
- "name": "普通僵尸",
- "type": "basic",
- "rarity": "common",
- "weight": 35,
- "stats": {
- "health": 10,
- "speed": 50,
- "damage": 20,
- "attackRange": 30,
- "attackSpeed": 1.0,
- "defense": 0,
- "coinReward": 10
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.1
- },
- "combat": {
- "attackType": "melee",
- "attackDelay": 0.5,
- "attackCooldown": 1.0,
- "canBlock": false,
- "blockChance": 0
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/001/001",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead"
- },
- "scale": 1.0,
- "flipX": false
- },
- "audioConfig": {
- "walkSound": "audio/zombie_walk",
- "attackSound": "audio/zombie_attack",
- "deathSound": "audio/zombie_death",
- "hurtSound": "audio/zombie_hurt"
- },
- "specialAbilities": []
- },
- {
- "id": "roadblock_zombie",
- "name": "路障僵尸",
- "type": "armored",
- "rarity": "common",
- "weight": 25,
- "stats": {
- "health": 18,
- "speed": 40,
- "damage": 25,
- "attackRange": 30,
- "attackSpeed": 0.8,
- "defense": 5,
- "coinReward": 15
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.1
- },
- "combat": {
- "attackType": "melee",
- "attackDelay": 0.6,
- "attackCooldown": 1.2,
- "canBlock": true,
- "blockChance": 0.2
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/002/002",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "block": "roadblock_block"
- },
- "scale": 1.1,
- "flipX": false
- },
- "audioConfig": {
- "walkSound": "audio/roadblock_walk",
- "attackSound": "audio/roadblock_attack",
- "deathSound": "audio/roadblock_death",
- "blockSound": "audio/roadblock_block"
- },
- "specialAbilities": ["armor_break"]
- },
- {
- "id": "wandering_zombie",
- "name": "漫步僵尸",
- "type": "wanderer",
- "rarity": "uncommon",
- "weight": 20,
- "stats": {
- "health": 12,
- "speed": 45,
- "damage": 30,
- "attackRange": 40,
- "attackSpeed": 1.2,
- "defense": 2,
- "coinReward": 18
- },
- "movement": {
- "type": "sway",
- "pattern": "zigzag_forward",
- "speedVariation": 0.2,
- "swayAmplitude": 20,
- "swayFrequency": 2.0
- },
- "combat": {
- "attackType": "melee_weapon",
- "attackDelay": 0.4,
- "attackCooldown": 0.8,
- "weaponType": "baseball_bat",
- "canBlock": false,
- "blockChance": 0
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/003/003",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead"
- },
- "scale": 1.0,
- "flipX": false,
- "weapon": "props/baseball_bat"
- },
- "audioConfig": {
- "walkSound": "audio/wandering_walk",
- "attackSound": "audio/bat_swing",
- "deathSound": "audio/wandering_death"
- },
- "specialAbilities": ["unpredictable_movement"]
- },
- {
- "id": "mage_zombie",
- "name": "法师僵尸",
- "type": "ranged_caster",
- "rarity": "uncommon",
- "weight": 18,
- "stats": {
- "health": 8,
- "speed": 35,
- "damage": 35,
- "attackRange": 200,
- "attackSpeed": 0.6,
- "defense": 0,
- "coinReward": 25
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.1
- },
- "combat": {
- "attackType": "magic_projectile",
- "attackDelay": 0.8,
- "attackCooldown": 2.0,
- "projectileType": "magic_bolt",
- "projectileSpeed": 150,
- "canBlock": false,
- "blockChance": 0
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/004/004",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead"
- },
- "scale": 1.0,
- "flipX": false,
- "weapon": "props/magic_staff"
- },
- "audioConfig": {
- "walkSound": "audio/mage_walk",
- "attackSound": "audio/magic_cast",
- "deathSound": "audio/mage_death"
- },
- "projectileConfig": {
- "bulletPrefab": "bullets/MagicBolt",
- "hitEffect": "effects/MagicHit",
- "trailEffect": "effects/MagicTrail"
- },
- "specialAbilities": ["ranged_attack", "magic_resistance"]
- },
- {
- "id": "archer_zombie",
- "name": "弓箭僵尸",
- "type": "ranged_archer",
- "rarity": "uncommon",
- "weight": 16,
- "stats": {
- "health": 9,
- "speed": 40,
- "damage": 40,
- "attackRange": 250,
- "attackSpeed": 0.7,
- "defense": 1,
- "coinReward": 22
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.1
- },
- "combat": {
- "attackType": "arrow_projectile",
- "attackDelay": 0.6,
- "attackCooldown": 1.8,
- "projectileType": "arrow",
- "projectileSpeed": 200,
- "canBlock": false,
- "blockChance": 0
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/005/005",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead"
- },
- "scale": 1.0,
- "flipX": false,
- "weapon": "props/bow"
- },
- "audioConfig": {
- "walkSound": "audio/archer_walk",
- "attackSound": "audio/bow_shoot",
- "deathSound": "audio/archer_death"
- },
- "projectileConfig": {
- "bulletPrefab": "bullets/Arrow",
- "hitEffect": "effects/ArrowHit",
- "trailEffect": null
- },
- "specialAbilities": ["ranged_attack", "piercing_shot"]
- },
- {
- "id": "stealth_zombie",
- "name": "隐身僵尸",
- "type": "stealth",
- "rarity": "rare",
- "weight": 12,
- "stats": {
- "health": 7,
- "speed": 60,
- "damage": 45,
- "attackRange": 25,
- "attackSpeed": 1.5,
- "defense": 0,
- "coinReward": 35
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.15
- },
- "combat": {
- "attackType": "stealth_strike",
- "attackDelay": 0.3,
- "attackCooldown": 0.6,
- "canBlock": false,
- "blockChance": 0
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/006/006",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "invisible": "stealth_invisible"
- },
- "scale": 1.0,
- "flipX": false
- },
- "audioConfig": {
- "walkSound": "audio/stealth_walk",
- "attackSound": "audio/stealth_attack",
- "deathSound": "audio/stealth_death",
- "stealthSound": "audio/stealth_activate"
- },
- "specialAbilities": ["invisibility", "stealth_attack", "speed_boost"],
- "stealthConfig": {
- "stealthDuration": 3.0,
- "stealthCooldown": 8.0,
- "revealOnAttack": true,
- "visibilityAlpha": 0.3
- }
- },
- {
- "id": "bucket_zombie",
- "name": "铁桶僵尸",
- "type": "heavy_armor",
- "rarity": "uncommon",
- "weight": 15,
- "stats": {
- "health": 30,
- "speed": 30,
- "damage": 35,
- "attackRange": 30,
- "attackSpeed": 0.6,
- "defense": 10,
- "coinReward": 30
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.05
- },
- "combat": {
- "attackType": "heavy_melee",
- "attackDelay": 0.8,
- "attackCooldown": 1.5,
- "canBlock": true,
- "blockChance": 0.4
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/007/007",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "armor_break": "bucket_armor_break"
- },
- "scale": 1.2,
- "flipX": false,
- "armor": "props/iron_bucket"
- },
- "audioConfig": {
- "walkSound": "audio/bucket_walk",
- "attackSound": "audio/bucket_attack",
- "deathSound": "audio/bucket_death",
- "armorBreakSound": "audio/armor_break"
- },
- "specialAbilities": ["heavy_armor", "armor_break_threshold"],
- "armorConfig": {
- "armorHealth": 150,
- "armorReduction": 0.5,
- "breakThreshold": 50
- }
- },
- {
- "id": "barrel_zombie",
- "name": "火药桶僵尸",
- "type": "explosive",
- "rarity": "rare",
- "weight": 10,
- "stats": {
- "health": 6,
- "speed": 45,
- "damage": 25,
- "attackRange": 30,
- "attackSpeed": 1.0,
- "defense": 0,
- "coinReward": 40,
- "explosionDamage": 120,
- "explosionRadius": 100
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.1
- },
- "combat": {
- "attackType": "melee",
- "attackDelay": 0.5,
- "attackCooldown": 1.0,
- "canBlock": false,
- "blockChance": 0
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/008/008",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "explode": "barrel_explode"
- },
- "scale": 1.0,
- "flipX": false,
- "prop": "props/gunpowder_barrel"
- },
- "audioConfig": {
- "walkSound": "audio/barrel_walk",
- "attackSound": "audio/barrel_attack",
- "deathSound": "audio/barrel_explode",
- "fuseSound": "audio/barrel_fuse"
- },
- "specialAbilities": ["death_explosion", "area_damage"],
- "explosionConfig": {
- "explosionDelay": 0.5,
- "explosionEffect": "effects/BarrelExplosion",
- "damageRadius": 100,
- "knockbackForce": 200
- }
- },
- {
- "id": "boss1_gatekeeper",
- "name": "BOSS1",
- "type": "boss",
- "rarity": "boss",
- "weight": 1,
- "stats": {
- "health": 80,
- "speed": 25,
- "damage": 80,
- "attackRange": 50,
- "attackSpeed": 0.4,
- "defense": 15,
- "coinReward": 200
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.05
- },
- "combat": {
- "attackType": "gate_slam",
- "attackDelay": 1.0,
- "attackCooldown": 2.5,
- "canBlock": true,
- "blockChance": 0.6
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/009/009",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "block": "boss1_block"
- },
- "scale": 2.0,
- "flipX": false,
- "weapon": "props/iron_gate"
- },
- "audioConfig": {
- "walkSound": "audio/boss1_walk",
- "attackSound": "audio/gate_slam",
- "deathSound": "audio/boss1_death",
- "blockSound": "audio/gate_block"
- },
- "specialAbilities": ["boss_immunity", "gate_shield", "area_slam"],
- "bossConfig": {
- "phases": 2,
- "phaseHealthThreshold": 0.5,
- "enrageBonus": {
- "speed": 1.5,
- "damage": 1.3,
- "attackSpeed": 1.2
- }
- }
- },
- {
- "id": "boss2_gravedigger",
- "name": "BOSS2",
- "type": "boss",
- "rarity": "boss",
- "weight": 1,
- "stats": {
- "health": 100,
- "speed": 20,
- "damage": 100,
- "attackRange": 60,
- "attackSpeed": 0.3,
- "defense": 20,
- "coinReward": 250
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.05
- },
- "combat": {
- "attackType": "tombstone_smash",
- "attackDelay": 1.2,
- "attackCooldown": 3.0,
- "canBlock": true,
- "blockChance": 0.7
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/010/010",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "summon": "boss2_summon"
- },
- "scale": 2.2,
- "flipX": false,
- "weapon": "props/tombstone"
- },
- "audioConfig": {
- "walkSound": "audio/boss2_walk",
- "attackSound": "audio/tombstone_smash",
- "deathSound": "audio/boss2_death",
- "summonSound": "audio/boss2_summon"
- },
- "specialAbilities": ["boss_immunity", "minion_summon", "ground_slam"],
- "bossConfig": {
- "phases": 3,
- "phaseHealthThreshold": 0.66,
- "summonAbility": {
- "minionType": "normal_zombie",
- "summonCount": 2,
- "summonCooldown": 10.0
- }
- }
- },
- {
- "id": "boss3_cyborg",
- "name": "BOSS3",
- "type": "boss",
- "rarity": "boss",
- "weight": 1,
- "stats": {
- "health": 120,
- "speed": 35,
- "damage": 120,
- "attackRange": 80,
- "attackSpeed": 0.5,
- "defense": 25,
- "coinReward": 300
- },
- "movement": {
- "type": "straight",
- "pattern": "walk_forward",
- "speedVariation": 0.1
- },
- "combat": {
- "attackType": "cyber_arm_combo",
- "attackDelay": 0.8,
- "attackCooldown": 2.0,
- "canBlock": true,
- "blockChance": 0.5
- },
- "visualConfig": {
- "spritePrefab": "@EnemyAni/011/011",
- "animations": {
- "idle": "idle",
- "walk": "walk",
- "attack": "attack",
- "dead": "dead",
- "laser": "boss3_laser"
- },
- "scale": 2.5,
- "flipX": false,
- "weapon": "props/cyber_arm"
- },
- "audioConfig": {
- "walkSound": "audio/boss3_walk",
- "attackSound": "audio/cyber_attack",
- "deathSound": "audio/boss3_death",
- "laserSound": "audio/laser_beam"
- },
- "specialAbilities": ["boss_immunity", "laser_beam", "cyber_enhancement"],
- "bossConfig": {
- "phases": 3,
- "phaseHealthThreshold": 0.5,
- "laserAbility": {
- "damage": 150,
- "range": 400,
- "chargeTime": 2.0,
- "cooldown": 8.0
- }
- }
- }
- ],
- "spawnWeights": {
- "common": 70,
- "uncommon": 20,
- "rare": 8,
- "boss": 2
- },
- "waveProgression": {
- "earlyWaves": ["normal_zombie", "roadblock_zombie"],
- "midWaves": ["wandering_zombie", "mage_zombie", "archer_zombie"],
- "lateWaves": ["stealth_zombie", "bucket_zombie", "barrel_zombie"],
- "bossWaves": ["boss1_gatekeeper", "boss2_gravedigger", "boss3_cyborg"]
- },
- "nameToIdMapping": {
- "普通僵尸": "normal_zombie",
- "路障僵尸": "roadblock_zombie",
- "漫步僵尸": "wandering_zombie",
- "法师僵尸": "mage_zombie",
- "弓箭僵尸": "archer_zombie",
- "隐身僵尸": "stealth_zombie",
- "铁桶僵尸": "bucket_zombie",
- "火药桶僵尸": "barrel_zombie",
- "BOSS1": "boss1_gatekeeper",
- "BOSS2": "boss2_gravedigger",
- "BOSS3": "boss3_cyborg"
- }
- }
|