Compare commits
3 Commits
main
...
deathmark-
Author | SHA1 | Date | |
---|---|---|---|
83e42c408e | |||
de30ac4f33 | |||
2d6c078eed |
@ -363,12 +363,12 @@ export const addMissionInventoryUpdates = async (
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "DeathMarks": {
|
case "DeathMarks": {
|
||||||
for (const deathMark of value) {
|
for (const bossName of value) {
|
||||||
if (!inventory.DeathMarks.find(x => x == deathMark)) {
|
if (inventory.DeathMarks.indexOf(bossName) == -1) {
|
||||||
// It's a new death mark; we have to say the line.
|
// It's a new death mark; we have to say the line.
|
||||||
await createMessage(inventory.accountOwnerId, [
|
await createMessage(inventory.accountOwnerId, [
|
||||||
{
|
{
|
||||||
sub: "/Lotus/Language/G1Quests/DeathMarkTitle",
|
sub: bossName,
|
||||||
sndr: "/Lotus/Language/G1Quests/DeathMarkSender",
|
sndr: "/Lotus/Language/G1Quests/DeathMarkSender",
|
||||||
msg: "/Lotus/Language/G1Quests/DeathMarkMessage",
|
msg: "/Lotus/Language/G1Quests/DeathMarkMessage",
|
||||||
icon: "/Lotus/Interface/Icons/Npcs/Stalker_d.png",
|
icon: "/Lotus/Interface/Icons/Npcs/Stalker_d.png",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user