Skip to content

Commit 7189c53

Browse files
committed
chore: flavor
1 parent df3c7d7 commit 7189c53

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/commands/deathbattle.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,18 @@ async function simulateBattleStep(
329329
const divineHeal = Math.floor(attacker.maxHp * 0.3);
330330
attacker.hp = Math.min(attacker.hp + divineHeal, attacker.maxHp);
331331
attacker.defense += 5;
332-
narration = `⭐ **${attacker.name}** receives divine intervention, healing ${divineHeal} HP and gaining divine protection!`;
332+
narration = `⭐ **${attacker.name}** receives the labyrinth's divine intervention, healing ${divineHeal} HP and gaining divine protection!`;
333333
break;
334334
case "Great Will":
335335
const missingHp = attacker.maxHp - attacker.hp;
336336
damage = Math.floor(attacker.attack + missingHp * 0.5);
337337
narration = `👑 **${attacker.name}** channels their great will, converting their wounds into raw power!`;
338338
break;
339+
case "Toxic Fumes":
340+
attacker.defense += 5;
341+
attacker.speed += 5;
342+
narration = `☣️ **${attacker.name}** injects themself with Toxic Gunner's fumes, enhancing their reflexes and durability! (+5 DEF, +5 SPD)`;
343+
break;
339344
}
340345
} else {
341346
const baseDamage = attacker.attack;
@@ -353,15 +358,15 @@ async function simulateBattleStep(
353358
Math.floor(Math.random() * battleNarrations.dodge.length)
354359
]
355360
.replace("{defender}", "")
356-
.replace("{attacker}", `**${attacker.name}**'s`)}`;
361+
.replace("{attacker}", `**${attacker.name}**`)}`;
357362
} else if (defenseRoll < 0.25 && canBlock) {
358363
damage = Math.max(1, damage - defender.defense);
359364
action = "block";
360365
narration = `🛡️ **${defender.name}** ${battleNarrations.block[
361366
Math.floor(Math.random() * battleNarrations.block.length)
362367
]
363368
.replace("{defender}", "")
364-
.replace("{attacker}", `**${attacker.name}**'s`)}`;
369+
.replace("{attacker}", `**${attacker.name}**`)}`;
365370
} else {
366371
if (abilityUsed === "Relic of Exo") {
367372
damage = Math.max(1, damage);
@@ -470,6 +475,7 @@ function generateFighter(user: User, displayName: string): Fighter {
470475
"Airstrike",
471476
"Divine Intervention",
472477
"Great Will",
478+
"Toxic Fumes",
473479
];
474480

475481
let seed = Math.abs(percentage) + 1000;

0 commit comments

Comments
 (0)