#include "database_inc" void main() { object pres6PC = GetPCSpeaker(); if(GetGold(pres6PC) >= 5000) { TakeGoldFromCreature(5000, pres6PC, TRUE); SetLocalInt(pres6PC, "X1_AllowDwDef", 0); DBSetPrestigePermisson (pres6PC,CLASS_TYPE_DWARVENDEFENDER); SendMessageToPC(pres6PC, "You have unlocked the Dwarven Defender Prestige Class."); } else { } }