Further file organization
Further file organization
This commit is contained in:
25
nwn/nwnprc/trunk/scripts/wol_t_treebro.nss
Normal file
25
nwn/nwnprc/trunk/scripts/wol_t_treebro.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Treebrother test script
|
||||
//:: FileName wol_t_treebro
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Able to cast Barkskin as a divine spell
|
||||
Lore 6
|
||||
*/
|
||||
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
if(!PRCGetIsRealSpellKnown(SPELL_BARKSKIN, oPC) && 3 > GetLevelByClass(CLASS_TYPE_DRUID, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(6 > GetSkillRank(SKILL_LORE, oPC, TRUE))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user