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"); } |
Since you say you are new to this I assume you have recent code, but are using the old /quests/templates structure. The new structure is /quests/global with the items and spells folders nested inside global. The global folder will hold all the files that used to reside in templates..
Old: ../quests/templates ../quests/items ../quests/spells New: ../quests/global ../quests/global/items ../quests/global/spells |
Ahhh, yeah I have to admit it's a little challenging navigating through what's out of date and up to date when searching.
Thanks for your help - I will mess around with it again when I'm home. |
All times are GMT -4. The time now is 06:41 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.