More mutation test scripts

More mutation test scripts.
This commit is contained in:
Jaysyn904
2022-03-20 15:28:38 -04:00
parent 87f8946c50
commit d05b6f5971
23 changed files with 394 additions and 27 deletions

View File

@@ -4,7 +4,7 @@
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Adrenaline Boost
Adrenaline Boost (Physical)
The Subject's adrenal gland starts to secrete a far more potent type of
adrenaline, enabling them to react to threats faster. The mutant gains a +2 bonus
on their initiative checks and a +1 bonus on her Reflex saves
@@ -25,10 +25,17 @@ void main()
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except oozes, cyborgs & shapechangers
//:: No pure strain humans, plants, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
@@ -40,7 +47,7 @@ void main()
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_ADRENALINE_BOOST, oPC))