22 lines
333 B
Plaintext
22 lines
333 B
Plaintext
|
#include "database_inc"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object pres2PC = GetPCSpeaker();
|
||
|
|
||
|
if(GetGold(pres2PC)>4999)
|
||
|
{
|
||
|
TakeGoldFromCreature(5000, pres2PC, TRUE);
|
||
|
SetLocalInt(pres2PC, "X1_AllowAsasin", 0);
|
||
|
DBSetPrestigePermisson (pres2PC,CLASS_TYPE_ASSASSIN);
|
||
|
SendMessageToPC(pres2PC, "You have unlocked the Assassin Prestige Class");
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|