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_blac.nss
Normal file
21
_module/nss/tri_unlock_blac.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "database_inc"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object pres3PC = GetPCSpeaker();
|
||||
|
||||
if(GetGold(pres3PC)>4999)
|
||||
{
|
||||
TakeGoldFromCreature(5000, pres3PC, TRUE);
|
||||
SetLocalInt(pres3PC, "X1_AllowBlkGrd", 0);
|
||||
DBSetPrestigePermisson (pres3PC,CLASS_TYPE_BLACKGUARD);
|
||||
SendMessageToPC(pres3PC, "You have unlocked the Blackguard Prestige Class");
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user