22 lines
471 B
Plaintext
22 lines
471 B
Plaintext
|
#include "database_inc"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object pres9PC = GetPCSpeaker();
|
||
|
|
||
|
if(GetGold(pres9PC)>4999)
|
||
|
{
|
||
|
TakeGoldFromCreature(5000, pres9PC, TRUE);
|
||
|
SetLocalInt(pres9PC, "X2_AllowDivcha", 0);
|
||
|
DBSetPrestigePermisson (pres9PC,CLASS_TYPE_DIVINECHAMPION);
|
||
|
SendMessageToPC(pres9PC, "You have unlocked the Champion of Torm Prestige Class. This does not mean you have to be a Champion of Torm, however, you can be a champion of almost any god of good alignment.");
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|