Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include "prc_class_const"
void main()
{
object oPC = GetPCSpeaker();
if(GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPC)
|| GetLevelByClass(CLASS_TYPE_MYSTIC, oPC)
|| GetLevelByClass(CLASS_TYPE_SHUGENJA, oPC))
{
// Give scroll of Cure Minor wounds
object oScroll = CreateItemOnObject("x2_it_spdvscr001", oPC);
// Remove all class restrictions from the scroll
itemproperty ipTest = GetFirstItemProperty(oScroll);
while(GetIsItemPropertyValid(ipTest))
{
if(GetItemPropertyType(ipTest) == ITEM_PROPERTY_USE_LIMITATION_CLASS)
RemoveItemProperty(oScroll, ipTest);
ipTest = GetNextItemProperty(oScroll);
}
}
SetLocalInt(OBJECT_SELF,"NW_L_TALKLEVEL",2);
SetLocalInt(GetModule(),"NW_G_M0Q01_PRIEST_TEST",1);
}