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.
This commit is contained in:
21
_module/nss/tri_unlock_divi.nss
Normal file
21
_module/nss/tri_unlock_divi.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user