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_assa.nss
Normal file
21
_module/nss/tri_unlock_assa.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user