JimB_1958
08-28-2013, 07:14 PM
Been testing this...
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?
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?