22 lines
340 B
Plaintext
Raw Permalink Normal View History

#include "database_inc"
void main()
{
object pres8PC = GetPCSpeaker();
if(GetGold(pres8PC)>4999)
{
TakeGoldFromCreature(5000, pres8PC, TRUE);
SetLocalInt(pres8PC, "X2_AllowWM", 0);
DBSetPrestigePermisson (pres8PC,CLASS_TYPE_WEAPON_MASTER);
SendMessageToPC(pres8PC, "You have unlocked the Weapon Master Prestige Class.");
}
else
{
}
}