Skip to content

Commit 3e1b7f4

Browse files
authored
Merge pull request #874 from Nirrudn-SOK/feat/motherlode-command-update
Update Motherlode command
2 parents 5c0e4e3 + e60be70 commit 3e1b7f4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Arrowgene.Ddon.Scripts/scripts/chat_commands/motherlode.csx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ public class ChatCommand : IChatCommand
3030
{
3131
walletTypes.Add(parsedWalletType);
3232
}
33+
else if (arg == "PP")
34+
{
35+
(uint BasePoints, uint BonusPoints) gain = (amount, 0);
36+
server.PPManager.AddPlayPointNtc(client, gain);
37+
}
3338
else
3439
{
35-
responses.Add(ChatResponse.CommandError(client, $"Invalid wallet type \"{arg}\". It must be one of the following: {string.Join(", ", WalletTypeNames.Keys)}"));
40+
responses.Add(ChatResponse.CommandError(client, $"Invalid wallet type \"{arg}\". It must be one of the following: {string.Join(", ", WalletTypeNames.Keys)} or PP"));
3641
return;
3742
}
3843
}
@@ -56,6 +61,9 @@ public class ChatCommand : IChatCommand
5661
{"GG", WalletType.GoldenGemstones},
5762
{"RC", WalletType.ResetCraftSkills},
5863
{"ST", WalletType.SilverTickets},
64+
{"GM", WalletType.GoldenDragonMark},
65+
{"SM", WalletType.SilverDragonMark},
66+
{"RM", WalletType.RedDragonMark},
5967
};
6068

6169
private static readonly uint DefaultAmount = 10000;

0 commit comments

Comments
 (0)