test_enemy_config.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. [
  2. {
  3. "id": "test_advanced_enemy",
  4. "name": "测试高级敌人",
  5. "type": "test",
  6. "stats": {
  7. "health": 100,
  8. "maxHealth": 100,
  9. "defense": 5,
  10. "speed": 40.0,
  11. "dropEnergy": 3
  12. },
  13. "movement": {
  14. "pattern": "direct",
  15. "speed": 50.0,
  16. "patrolRange": 100,
  17. "rotationSpeed": 180.0,
  18. "moveType": "sway",
  19. "swingAmplitude": 30.0,
  20. "swingFrequency": 1.5,
  21. "speedVariation": 0.2
  22. },
  23. "combat": {
  24. "attackDamage": 8,
  25. "attackRange": 150.0,
  26. "attackSpeed": 0.6,
  27. "canBlock": true,
  28. "blockChance": 0.3,
  29. "blockDamageReduction": 0.7,
  30. "attackCooldown": 2.0,
  31. "attackType": "ranged",
  32. "attackDelay": 0.5,
  33. "weaponType": "bow",
  34. "projectileType": "arrow",
  35. "projectileSpeed": 200.0
  36. },
  37. "visualConfig": {
  38. "spritePath": "Animation/EnemyAni/001",
  39. "scale": 1.2,
  40. "animationSpeed": 1.0,
  41. "flipX": false,
  42. "tint": "#FF6666",
  43. "animations": {
  44. "idle": "idle",
  45. "walk": "walk",
  46. "attack": "attack",
  47. "death": "dead"
  48. },
  49. "weaponProp": "props/bow"
  50. },
  51. "audioConfig": {
  52. "attackSound": "enemy_attack",
  53. "deathSound": "enemy_death",
  54. "hitSound": "enemy_hit",
  55. "walkSound": "audio/test_walk",
  56. "blockSound": "audio/block_sound",
  57. "stealthSound": "",
  58. "armorBreakSound": "",
  59. "fuseSound": "",
  60. "volume": 1.0
  61. },
  62. "boss": {
  63. "is_boss": false,
  64. "phases": 1,
  65. "rage_threshold": 0.5,
  66. "rage_damage_multiplier": 2.0,
  67. "rage_speed_multiplier": 1.8
  68. },
  69. "special_abilities": [
  70. {
  71. "type": "test_ability",
  72. "damage": 5,
  73. "range": 100,
  74. "cooldown": 10
  75. }
  76. ]
  77. }
  78. ]