Thread: Custom AA quest
View Single Post
  #1  
Old 11-05-2013, 01:41 AM
Nydosa's Avatar
Nydosa
Sarnak
 
Join Date: Jan 2013
Posts: 61
Default 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");
}
Reply With Quote