Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
26
trunk/scripts/wol_t_crimruin.nss
Normal file
26
trunk/scripts/wol_t_crimruin.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Crimson Ruination test script
|
||||
//:: FileName wol_t_crimruin
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Base attack bonus +3
|
||||
Any nonchaotic alignment
|
||||
*/
|
||||
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
if(3 > GetBaseAttackBonus(oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
// Can't be good
|
||||
if(GetAlignmentLawChaos(oPC) == ALIGNMENT_CHAOTIC)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user