More mutation test scripts
More mutation test scripts.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user