test_enemy_config.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. "chaseRange": 200,
  18. "rotationSpeed": 180.0,
  19. "moveType": "sway",
  20. "swingAmplitude": 30.0,
  21. "swingFrequency": 1.5,
  22. "speedVariation": 0.2
  23. },
  24. "combat": {
  25. "attackDamage": 8,
  26. "attackRange": 150.0,
  27. "attackSpeed": 0.6,
  28. "canBlock": true,
  29. "blockChance": 0.3,
  30. "blockDamageReduction": 0.7,
  31. "attackCooldown": 2.0,
  32. "attackType": "ranged",
  33. "attackDelay": 0.5,
  34. "weaponType": "bow",
  35. "projectileType": "arrow",
  36. "projectileSpeed": 200.0
  37. },
  38. "visualConfig": {
  39. "spritePath": "Animation/EnemyAni/001",
  40. "scale": 1.2,
  41. "animationSpeed": 1.0,
  42. "flipX": false,
  43. "tint": "#FF6666",
  44. "animations": {
  45. "idle": "idle",
  46. "walk": "walk",
  47. "attack": "attack",
  48. "death": "dead"
  49. },
  50. "weaponProp": "props/bow"
  51. },
  52. "audioConfig": {
  53. "attackSound": "enemy_attack",
  54. "deathSound": "enemy_death",
  55. "hitSound": "enemy_hit",
  56. "walkSound": "audio/test_walk",
  57. "blockSound": "audio/block_sound",
  58. "stealthSound": "",
  59. "armorBreakSound": "",
  60. "fuseSound": "",
  61. "volume": 1.0
  62. },
  63. "boss": {
  64. "is_boss": false,
  65. "phases": 1,
  66. "rage_threshold": 0.5,
  67. "rage_damage_multiplier": 2.0,
  68. "rage_speed_multiplier": 1.8
  69. },
  70. "special_abilities": [
  71. {
  72. "type": "test_ability",
  73. "damage": 5,
  74. "range": 100,
  75. "cooldown": 10
  76. }
  77. ]
  78. }
  79. ]