More mutation test scripts

More mutation test scripts.
This commit is contained in:
Jaysyn904
2022-03-20 18:33:29 -04:00
parent c8f548cf57
commit 5f3fd47e9f
26 changed files with 644 additions and 5 deletions

View File

@@ -1,14 +1,14 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Energy Absorption: Acid template test script
//:: FileName mut_t_ab_acid.nss
//:: Name Energy Absorption: Cold template test script
//:: FileName mut_t_ab_cold.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Energy Absorption: Acid (Physical / Plant)
Energy Absorption: Cold (Physical / Plant)
The character gains Energy Resistance, ignoring the first 10 points + CON
modifier of damage from a particular type of energy attack.
[Ignores 10 + CON Bonus of caustic damage]
[Ignores 10 + CON Bonus of cold damage]
*/
//::////////////////////////////////////////////////////////////////////////////
@@ -44,7 +44,7 @@ void main()
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_ENERGY_ABSOPTION_ACID, oPC))
if(GetHasTemplate(MUT_ENERGY_ABSORPTION_COLD, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}