GammaAge/_content/ga_scripts/mut_t_dissolv.nss
Jaysyn904 c8f548cf57 More mutation test scripts
More mutation test scripts.
2022-03-20 17:04:14 -04:00

50 lines
1.4 KiB
Plaintext

//::///////////////////////////////////////////////////////////////////////////
//:: 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);
}
}