More mutation test scripts
More mutation test scripts.
This commit is contained in:
50
_content/ga_scripts/mut_t_dissolv.nss
Normal file
50
_content/ga_scripts/mut_t_dissolv.nss
Normal file
@@ -0,0 +1,50 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Dissolving Juices template test script
|
||||
//:: FileName mut_t_dissolv.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Dissolving Juices (Plant)
|
||||
The plant can secrete a fluid that does 1d6 + CON modifier of acid damage each
|
||||
round of contact for up to one minute. The plant can secrete the fluid once
|
||||
every four hours.
|
||||
|
||||
(Grapple, Acid Shealth, melee acid damage, 4 hour cooldown)
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/20
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: Plants only
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
|
||||
if(nRace != RACIAL_TYPE_PLANT
|
||||
&& nRace != RACIAL_TYPE_SHRUBO
|
||||
&& nRace != RACIAL_TYPE_BLOOM
|
||||
&& nRace != RACIAL_TYPE_MYCO
|
||||
&& nRace != RACIAL_TYPE_CULEN
|
||||
&& nRace != RACIAL_TYPE_ENT
|
||||
&& nRace != RACIAL_TYPE_CREEP)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_DISSOLVING_JUICES, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user