More mutation test scripts
More mutation test scripts.
This commit is contained in:
parent
7a68421bdc
commit
ef4f0bb717
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Absorption: Acid template test script
|
||||
//:: FileName mut_t_ab_acid.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Absorption: Acid template test script
|
||||
//:: FileName mut_t_ab_acid.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Absorption: Acid (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Absorption: Cold template test script
|
||||
//:: FileName mut_t_ab_cold.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Absorption: Cold template test script
|
||||
//:: FileName mut_t_ab_cold.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Absorption: Cold (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Absorption: Electricity template test script
|
||||
//:: FileName mut_t_ab_elec.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Absorption: Electricity template test script
|
||||
//:: FileName mut_t_ab_elec.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Absorption: Electricity (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Absorption: Fire template test script
|
||||
//:: FileName mut_t_ab_elec.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Absorption: Fire template test script
|
||||
//:: FileName mut_t_ab_elec.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Absorption: Fire (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Absorption: Radiation template test script
|
||||
//:: FileName mut_t_ab_rads.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Absorption: Radiation template test script
|
||||
//:: FileName mut_t_ab_rads.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Absorption: Radiation (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Absorption: Concussion template test script
|
||||
//:: FileName mut_t_ab_sonic.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Absorption: Concussion template test script
|
||||
//:: FileName mut_t_ab_sonic.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Absorption: Concussion (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Gas Generation, Caustic template test script
|
||||
//:: FileName mut_t_acidgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Gas Generation, Caustic template test script
|
||||
//:: FileName mut_t_acidgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Gas Generation, Caustic (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Hands of Power, Caustic template test script
|
||||
//:: FileName mut_t_acidhand.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Hands of Power, Caustic template test script
|
||||
//:: FileName mut_t_acidhand.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Hands of Power, Caustic (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Adaptation template test script
|
||||
//:: FileName tmp_t_adaptation.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Adaptation template test script
|
||||
//:: FileName tmp_t_adaptation.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Adaptation (Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Adherence template test script
|
||||
//:: FileName mut_t_adherence.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Adherence template test script
|
||||
//:: FileName mut_t_adherence.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Adherence (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Adrenaline Boost template test script
|
||||
//:: FileName mut_t_adrenaline.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Adrenaline Boost template test script
|
||||
//:: FileName mut_t_adrenaline.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Adrenaline Boost (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Allurement template test script
|
||||
//:: FileName mut_t_allurement.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Allurement template test script
|
||||
//:: FileName mut_t_allurement.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Allurement (Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Alteration template test script
|
||||
//:: FileName mut_t_alteration.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Alteration template test script
|
||||
//:: FileName mut_t_alteration.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Alteration (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Anti-life leech template test script
|
||||
//:: FileName mut_t_antileech.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Anti-life leech template test script
|
||||
//:: FileName mut_t_antileech.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Anti-Life Leech (Mental)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Animal / Plant Control template test script
|
||||
//:: FileName mut_t_ap_control.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Animal / Plant Control template test script
|
||||
//:: FileName mut_t_ap_control.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Animal / Plant Control (Mental)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Heightened Balance template test script
|
||||
//:: FileName mut_t_balance.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Heightened Balance template test script
|
||||
//:: FileName mut_t_balance.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Heightened Balance (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Beguiling template test script
|
||||
//:: FileName mut_t_beguiling.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Beguiling template test script
|
||||
//:: FileName mut_t_beguiling.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Beguiling (Mental)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Gas Generation, Blinding template test script
|
||||
//:: FileName mut_t_blindgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Gas Generation, Blinding template test script
|
||||
//:: FileName mut_t_blindgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Gas Generation, Blinding (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Body Control template test script
|
||||
//:: FileName mut_t_bodyctrl.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Body Control template test script
|
||||
//:: FileName mut_t_bodyctrl.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Body Control (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Explosive Seeds template test script
|
||||
//:: FileName mut_t_boomseeds.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Explosive Seeds template test script
|
||||
//:: FileName mut_t_boomseeds.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Explosive Seeds (Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Carnivourous Jaws template test script
|
||||
//:: FileName mut_t_carnjaws.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Carnivourous Jaws template test script
|
||||
//:: FileName mut_t_carnjaws.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Carnivourous Jaws (Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Chameleon template test script
|
||||
//:: FileName mut_t_chameleon.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Chameleon template test script
|
||||
//:: FileName mut_t_chameleon.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Chameleon (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Claws template test script
|
||||
//:: FileName mut_t_claws.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Claws template test script
|
||||
//:: FileName mut_t_claws.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Claws (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Confusion template test script
|
||||
//:: FileName mut_t_confusion.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Confusion template test script
|
||||
//:: FileName mut_t_confusion.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Confusion (Mental)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Constriction template test script
|
||||
//:: FileName mut_t_constrict.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Constriction template test script
|
||||
//:: FileName mut_t_constrict.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Constriction (Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Conversion: Acid template test script
|
||||
//:: FileName mut_t_conv_acid.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Conversion: Acid template test script
|
||||
//:: FileName mut_t_conv_acid.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Conversion: Acid (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Conversion: Cold template test script
|
||||
//:: FileName mut_t_conv_cold.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Conversion: Cold template test script
|
||||
//:: FileName mut_t_conv_cold.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Conversion: Cold (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Conversion: Fire template test script
|
||||
//:: FileName mut_t_conv_fire.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Conversion: Fire template test script
|
||||
//:: FileName mut_t_conv_fire.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Conversion: Fire (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Conversion: Radiation template test script
|
||||
//:: FileName mut_t_conv_rads.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Conversion: Radiation template test script
|
||||
//:: FileName mut_t_conv_rads.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Conversion: Radiation (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Energy Conversion: Concussion template test script
|
||||
//:: FileName mut_t_conv_sonic.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Energy Conversion: Concussion template test script
|
||||
//:: FileName mut_t_conv_sonic.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Energy Conversion: C (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Cryokinesis template test script
|
||||
//:: FileName mut_t_cryo.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Cryokinesis template test script
|
||||
//:: FileName mut_t_cryo.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Cryokensis (Mental)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Darkvision template test script
|
||||
//:: FileName mut_t_darkvision.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Darkvision template test script
|
||||
//:: FileName mut_t_darkvision.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Darkvision (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Death Field template test script
|
||||
//:: FileName mut_t_deathfield.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Death Field template test script
|
||||
//:: FileName mut_t_deathfield.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Death-field (Mental)
|
||||
|
BIN
_content/ga_scripts/mut_t_im_acid.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_acid.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_acid.nss
Normal file
51
_content/ga_scripts/mut_t_im_acid.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Acid template test script
|
||||
//:: FileName mut_t_im_acid.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Acid (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to acid damage]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_ACID, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_cold.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_cold.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_cold.nss
Normal file
51
_content/ga_scripts/mut_t_im_cold.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Cold template test script
|
||||
//:: FileName mut_t_im_cold.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Cold (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to cold damage]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_COLD, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_drain.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_drain.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_drain.nss
Normal file
51
_content/ga_scripts/mut_t_im_drain.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Ability Drain template test script
|
||||
//:: FileName mut_t_im_drain.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Ability Drain (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to Ability Score damage]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_ABILITY_DRAIN, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_elec.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_elec.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_elec.nss
Normal file
51
_content/ga_scripts/mut_t_im_elec.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Electricity test script
|
||||
//:: FileName mut_t_im_elec.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Electricity (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to electrical damage]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_ELECTRICITY, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_fire.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_fire.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_fire.nss
Normal file
51
_content/ga_scripts/mut_t_im_fire.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Fire template test script
|
||||
//:: FileName mut_t_im_fire.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Fire (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to fire damage]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_FIRE, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_hold.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_hold.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_hold.nss
Normal file
51
_content/ga_scripts/mut_t_im_hold.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Paralysis template test script
|
||||
//:: FileName mut_t_im_hold.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Paralysis (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to paralysis]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_PARALYSIS, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_mind.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_mind.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_mind.nss
Normal file
51
_content/ga_scripts/mut_t_im_mind.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Mind-effects template test script
|
||||
//:: FileName mut_t_im_mind.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Mind-effects (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to mind affecting powers]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_MIND, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_poison.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_poison.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_poison.nss
Normal file
51
_content/ga_scripts/mut_t_im_poison.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Poison template test script
|
||||
//:: FileName mut_t_im_poison.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Poison (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to poison]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_POISON, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_rads.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_rads.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_rads.nss
Normal file
51
_content/ga_scripts/mut_t_im_rads.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Radiation template test script
|
||||
//:: FileName mut_t_im_rads.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Radiation (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to radiation damage (negative energy)]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_RADIATION, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_sick.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_sick.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_sick.nss
Normal file
51
_content/ga_scripts/mut_t_im_sick.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Disease template test script
|
||||
//:: FileName mut_t_im_sick.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Disease (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to disease]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_DISEASE, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_im_sonic.ncs
Normal file
BIN
_content/ga_scripts/mut_t_im_sonic.ncs
Normal file
Binary file not shown.
51
_content/ga_scripts/mut_t_im_sonic.nss
Normal file
51
_content/ga_scripts/mut_t_im_sonic.nss
Normal file
@ -0,0 +1,51 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Immunity: Concussion template test script
|
||||
//:: FileName mut_t_im_sonic.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Immunity: Concussion (Physical / Plant)
|
||||
The mutant is immune to a particular form of damage or hazard.
|
||||
|
||||
[Immune to concussion (sonic) damage]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_PSH
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_IMMUNITY_CONCUSSION, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_intuition.ncs
Normal file
BIN
_content/ga_scripts/mut_t_intuition.ncs
Normal file
Binary file not shown.
53
_content/ga_scripts/mut_t_intuition.nss
Normal file
53
_content/ga_scripts/mut_t_intuition.nss
Normal file
@ -0,0 +1,53 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Intuition template test script
|
||||
//:: FileName mut_t_intuition.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Intuition (Mental)
|
||||
The character can sense what another creature is about to do just before it acts. They are treated as having the Uncanny Dodge
|
||||
Talent, and gain a +4 bonus on any opposed skill check. They also gain a +1 bonus on attack rolls and armour class. All bonuses apply
|
||||
against a single target.
|
||||
|
||||
[Uncanny Dodge, +1 AB & AC, +4 Animal Handling, Bluff, Intimidate, Persuade, Pick Pocket, Sense Motive, Tumble skills.]
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: Any living genotype except oozes, cyborgs & shapechangers
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_INTUITION, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
BIN
_content/ga_scripts/mut_t_invis.ncs
Normal file
BIN
_content/ga_scripts/mut_t_invis.ncs
Normal file
Binary file not shown.
58
_content/ga_scripts/mut_t_invis.nss
Normal file
58
_content/ga_scripts/mut_t_invis.nss
Normal file
@ -0,0 +1,58 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Invisibility template test script
|
||||
//:: FileName mut_t_invis.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Invisibility (Mental)
|
||||
S
|
||||
The character can mentally force all living creatures within range (25 feet plus 5’ per MPS mod.) to be unaware of his presence. This
|
||||
includes friends or foes. When the power is active, any creature within range or that enters range, must make a Will save
|
||||
against a DC of 10 + 1/2 HD + WIS modifier + ½ character level (round down) or be unable to sense the mutant in any way
|
||||
(including using mutation powers). Any creature that was aware of the mutant before activation or entering range gets a +4 bonus on
|
||||
their saving throw. If the mutant makes a successful physical attack on a target, the effect is negated for that creature. It is a standard
|
||||
action to activate the power, and a swift action to continue it each round. The power can be used a number of times a day equal to 3
|
||||
plus 1 per WIS mod.
|
||||
|
||||
[Sanctuary, 3 + WIS Bonus uses per day, DC = 10 + 1/2 HD + WIS Bonus] TODO figure out a good duration.
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 22/03/21
|
||||
//:://////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_template"
|
||||
#include "prc_racial_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
//:: Any living genotype except oozes, cyborgs & shapechangers
|
||||
int nRace = MyPRCGetRacialType(oPC);
|
||||
|
||||
if(nRace == RACIAL_TYPE_CONSTRUCT
|
||||
|| nRace == RACIAL_TYPE_SMLBOT
|
||||
|| nRace == RACIAL_TYPE_MEDBOT
|
||||
|| nRace == RACIAL_TYPE_LRGBOT
|
||||
|| nRace == RACIAL_TYPE_DROID
|
||||
|| nRace == RACIAL_TYPE_OOZE
|
||||
|| nRace == RACIAL_TYPE_SHAPECHANGER
|
||||
|| nRace == RACIAL_TYPE_CYBORG
|
||||
|| nRace == RACIAL_TYPE_ELEMENTAL
|
||||
|| nRace == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
//:: Can't get this mutation twice.
|
||||
if(GetHasTemplate(MUT_INVISIBILITY, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Plant Mutations Base template test script
|
||||
//:: FileName tmp_t_plantonly.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Plant Mutations Base template test script
|
||||
//:: FileName tmp_t_plantonly.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Heightened Prescision template test script
|
||||
//:: FileName mut_t_precision.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Heightened Prescision template test script
|
||||
//:: FileName mut_t_precision.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Heightened Prescision (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Gas Generation, Sleeping template test script
|
||||
//:: FileName mut_t_sleepgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Gas Generation, Sleeping template test script
|
||||
//:: FileName mut_t_sleepgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Gas Generation, Sleeping (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Heightened Smell template test script
|
||||
//:: FileName mut_t_smell.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Heightened Smell template test script
|
||||
//:: FileName mut_t_smell.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Heightened Smell (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Heightened Speed template test script
|
||||
//:: FileName mut_t_speed.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Heightened Speed template test script
|
||||
//:: FileName mut_t_speed.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Heightened Speed (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Gas Generation, Paralytic template test script
|
||||
//:: FileName mut_t_stopgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Gas Generation, Paralytic template test script
|
||||
//:: FileName mut_t_stopgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Gas Generation, Paralytic (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Heightened Touch template test script
|
||||
//:: FileName mut_t_touch.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Heightened Touch template test script
|
||||
//:: FileName mut_t_touch.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Heightened Touch (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Gas Generation, Hallucinagenic template test script
|
||||
//:: FileName mut_t_tripgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Gas Generation, Hallucinagenic template test script
|
||||
//:: FileName mut_t_tripgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Gas Generation, Hallucinagenic (Physical / Plant)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Heightened Vision template test script
|
||||
//:: FileName mut_t_vision.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Heightened Vision template test script
|
||||
//:: FileName mut_t_vision.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::///////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Heightened Vision (Physical)
|
||||
|
@ -1,7 +1,7 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
//:: Name Gas Generation, Weakening template test script
|
||||
//:: FileName mut_t_weakgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//:: Name Gas Generation, Weakening template test script
|
||||
//:: FileName mut_t_weakgas.nss
|
||||
//:: Copyright (c) 2022 NWNDS
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Gas Generation, Weakening (Physical / Plant)
|
||||
|
Loading…
x
Reference in New Issue
Block a user