Battledale_PRC8/_module/nss/tri_unlock_arca.nss

22 lines
343 B
Plaintext
Raw Permalink Normal View History

#include "database_inc"
void main()
{
object pres1PC = GetPCSpeaker();
if(GetGold(pres1PC)>4999)
{
TakeGoldFromCreature(5000, pres1PC, TRUE);
SetLocalInt(pres1PC, "X1_AllowArcher", 0);
DBSetPrestigePermisson (pres1PC,CLASS_TYPE_ARCANE_ARCHER);
SendMessageToPC(pres1PC, "You have unlocked the Arcane Archer Prestige Class");
}
else
{
}
}