Finished PRC8 integration

Finished PRC8 integration.  Moved creature abilities to top hak.  Setup tooling.  Created release archive
This commit is contained in:
Jaysyn904
2024-03-12 21:27:23 -04:00
parent 7b9e44ebbb
commit e5b3f6ad61
958 changed files with 1491 additions and 630 deletions

View File

@@ -20,7 +20,7 @@
#include "jw_custom_spells"
#include "jw_wolf_script"
#include "jw_zachs_scrolls"
#include "prc_class_const"
void main()
@@ -266,13 +266,20 @@ else
// bard's songbird flute
if(sItemTag=="ah_songbird_call")
{
if (!GetLevelByClass(CLASS_TYPE_BARD,oPC)>4)
{
DestroyObject(oItem);
SendMessageToPC(oPC,"That item may be used only by bards of at least fifth level.");
return;
}
int iBard = GetLevelByClass(CLASS_TYPE_BARD, oPC) +
GetLevelByClass(CLASS_TYPE_HARPER, oPC) +
GetLevelByClass(CLASS_TYPE_DIRGESINGER, oPC) +
GetLevelByClass(CLASS_TYPE_DRAGONSONG_LYRIST, oPC) +
GetLevelByClass(CLASS_TYPE_SUBLIME_CHORD, oPC) +
GetLevelByClass(CLASS_TYPE_VIRTUOSO, oPC);
if (iBard < 5)
{
//DestroyObject(oItem);
SendMessageToPC(oPC,"That item may be used only by bards of at least fifth level.");
return;
}
if ((GetLocalInt(oUser,"hench")!=2))