Custom AA quest
Hello,
I'm trying to have it so that when a player creates a new character they start with a few AAs.
To keep it simple at first, I wanted each player to receive run speed 3 at level 1. Here's what I have in player.pl in the Templates folder. This code doesn't appear to do anything when I create a new character on the server... I'm very new to this, so any help is greatly appreciated.
sub EVENT_ENTERZONE {
if (!defined($qglobals{newchar})){
$client->IncrementAA(62);
$client->IncrementAA(62);
$client->IncrementAA(62);
quest::setglobal("newchar", 1, 5, "F");
}
|