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.
22 lines
340 B
Plaintext
22 lines
340 B
Plaintext
#include "database_inc"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
object pres8PC = GetPCSpeaker();
|
|
|
|
if(GetGold(pres8PC)>4999)
|
|
{
|
|
TakeGoldFromCreature(5000, pres8PC, TRUE);
|
|
SetLocalInt(pres8PC, "X2_AllowWM", 0);
|
|
DBSetPrestigePermisson (pres8PC,CLASS_TYPE_WEAPON_MASTER);
|
|
SendMessageToPC(pres8PC, "You have unlocked the Weapon Master Prestige Class.");
|
|
}
|
|
else
|
|
{
|
|
}
|
|
}
|
|
|
|
|