Finished PRC8 integration
Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user