Battledale_PRC8/_module/nss/tri_unlock_divi.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

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
{
}
}