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
//::///////////////////////////////////////////////////////////////////////////
/*
Adherence
Adherence (Physical)
Fine hooks or hairs on the mutants hands and feet allows him to climb easily
or even cling to the ceiling. The character must have hands and feet uncovered
to use this ability, and must be carrying no more than a medium load. The
@@ -26,9 +26,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 or non-living genotypes
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 +48,7 @@ void main()
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_ADHERENCE, oPC))