迁移证esc
This commit is contained in:
@@ -23,7 +23,10 @@ export const WEAPONS = {
|
||||
PISTOL: 'pistol', // 手枪
|
||||
MACHINE_GUN: 'machine_gun', // 机枪
|
||||
SHOTGUN: 'shotgun', // 霰弹枪
|
||||
GRENADE: 'grenade' // 手雷
|
||||
GRENADE: 'grenade', // 手雷
|
||||
MOLOTOV: 'molotov', // 燃烧瓶
|
||||
NUT_WALL: 'nut_wall', // 坚果墙体
|
||||
AUTO_TURRET: 'auto_turret' // 自动机枪塔
|
||||
}
|
||||
|
||||
// ========== 武器配置 ==========
|
||||
@@ -84,7 +87,51 @@ export const WEAPON_CONFIG = {
|
||||
auto: false,
|
||||
chargeable: true, // 可蓄力
|
||||
maxCharge: 2000, // 最大蓄力时间(毫秒)
|
||||
explosionRadius: 3 // 爆炸半径
|
||||
explosionRadius: 3 // 爆炸半径
|
||||
},
|
||||
// 燃烧瓶配置
|
||||
[WEAPONS.MOLOTOV]: {
|
||||
name: 'Molotov',
|
||||
damage: 80,
|
||||
fireRate: 2000,
|
||||
ammo: 5,
|
||||
maxAmmo: 5,
|
||||
speed: 12,
|
||||
spread: 0,
|
||||
pellets: 1,
|
||||
range: 12,
|
||||
auto: false,
|
||||
chargeable: true, // 可蓄力
|
||||
maxCharge: 2000,
|
||||
explosionRadius: 2
|
||||
},
|
||||
// 坚果墙体配置
|
||||
[WEAPONS.NUT_WALL]: {
|
||||
name: 'Wall',
|
||||
damage: 0,
|
||||
fireRate: 1000,
|
||||
ammo: 3,
|
||||
maxAmmo: 3,
|
||||
speed: 0,
|
||||
spread: 0,
|
||||
pellets: 0,
|
||||
range: 0,
|
||||
auto: false,
|
||||
chargeable: false
|
||||
},
|
||||
// 自动机枪塔配置
|
||||
[WEAPONS.AUTO_TURRET]: {
|
||||
name: 'Turret',
|
||||
damage: 0,
|
||||
fireRate: 2000,
|
||||
ammo: 2,
|
||||
maxAmmo: 2,
|
||||
speed: 0,
|
||||
spread: 0,
|
||||
pellets: 0,
|
||||
range: 0,
|
||||
auto: false,
|
||||
chargeable: false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user