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,9 +4,9 @@
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Body Control
The mutant can temporarily enhance one of his physical ability scores. He
chooses one attribute (Strength, Dexterity or Constitution) and increases it by
Body Control (Physical)
The mutant can temporarily enhance one of their physical ability scores. They
chooses one attribute (Strength, Dexterity or Constitution) and increase it by
1 + 1 / 5 HD.
Uses: 1 + HD / 3 uses per day.
@@ -30,9 +30,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
@@ -47,7 +55,7 @@ void main()
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_ADHERENCE, oPC))
if(GetHasTemplate(MUT_BODY_CONTROL, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}