Been testing this...
Code:
if ($text=~/testaddldon/i) {
my $mir_wins = $client->GetLDoNWinsTheme(2);
$mir_wins += 1;
quest::addldonwin($mir_wins,2);
quest::say("Okay now you have $mir_wins wins.");
}
I get no errors
the NPC answers me with the correct number of wins.
But it doesn't add a win.
What I do wrong?