PRC8_fork/trunk/scripts/wol_t_lorestlr.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

33 lines
1019 B
Plaintext

//::///////////////////////////////////////////////
//:: Name Lorestealer test script
//:: FileName wol_t_lorestlr
//:://////////////////////////////////////////////
/*
Base attack bonus +3
No spellcasting ability
*/
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
if(3 > GetBaseAttackBonus(oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(GetLocalInt(oPC, "PRC_AllSpell1") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell2") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell3") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell4") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell5") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell6") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell7") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell8") == 0 ||
GetLocalInt(oPC, "PRC_AllSpell9") == 0)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}