You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
AdLike2048/assets/script/battle/config/DebuffBuffBuilder.ts

77 lines
2.0 KiB

import type { BuffDef } from 'db://assets/mx/module/battle';
/** 基础负面 Buff(atk_after / 大招晕眩等);参数时长由 add(..., { duration }) 覆盖 */
export function buildBasicDebuffDefs(): BuffDef[] {
return [
{
id: 'debuff_1',
duration: 2,
polarity: 'negative',
category: 'burn',
removeGroup: 'debuff_1',
},
{
id: 'debuff_2',
duration: 2,
polarity: 'negative',
category: 'bleed',
removeGroup: 'debuff_2',
},
{
id: 'debuff_3',
duration: 2,
polarity: 'negative',
category: 'slow',
removeGroup: 'debuff_3',
},
{
id: 'debuff_4',
duration: 1,
polarity: 'negative',
category: 'stun',
removeGroup: 'debuff_4',
},
{
id: 'debuff_bind_net',
duration: 1,
polarity: 'negative',
category: 'bind_net',
removeGroup: 'debuff_bind_net',
},
{
id: 'debuff_fire_trap',
duration: 1.45,
polarity: 'negative',
category: 'fire_trap',
removeGroup: 'debuff_fire_trap',
},
{
id: 'debuff_6',
duration: 3,
polarity: 'negative',
category: 'ghost_bite',
removeGroup: 'debuff_6',
},
{
id: 'debuff_7',
duration: 2,
polarity: 'negative',
category: 'elec',
removeGroup: 'debuff_7',
},
{
id: 'debuff_8',
duration: 2,
polarity: 'negative',
category: 'confusion',
removeGroup: 'debuff_8',
},
{
id: 'debuff_13',
duration: 3,
polarity: 'negative',
category: 'freeze',
removeGroup: 'debuff_13',
},
];
}