More mutation test scripts

More mutation test scripts.
This commit is contained in:
Jaysyn904 2022-03-21 23:19:16 -04:00
parent ef4f0bb717
commit 1428878101
27 changed files with 748 additions and 3 deletions

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Molecular Disruption test script
//:: FileName mut_t_disruption.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Molecular Disruption (Mental)
The mutant is able to disintegrate nearly any object. Against non-living materials he causes 3d6 + MPS modifier damage per round.
(Refer PF Core, p175.) The power can be used a maximum of 3 rounds plus MPS mod rounds per day. The rounds of usage do not
have to be consecutive. If molecular disruption is used against a living creature, a successful mental touch attack against the target
causes 1d8 + MPS modifier damage. (DR is not effective.)
[Add 1d8 non-typed (magical) damage to natural attacks for 5 + WIS Bonus rounds or 3d6+WIS Bonus Ranged touch attack, 3 + WIS Bonus uses / day]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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_MOLECULAR_DISRUPTION, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

View File

@ -1,7 +1,7 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Flexibility template test script
//:: FileName mut_t_flex.nss
//:: Copyright (c) 2022 NWNDS
//:: Name Flexibility template test script
//:: FileName mut_t_flex.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Flexibility (Physical)

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Kinetic Absorption template test script
//:: FileName mut_t_kineticab.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Kinetic Absorption (Physical / Plant)
The mutant generates a field that absorbs kinetic energy. Anything that is moving in the field loses some velocity. Objects fall slower,
although the character himself does not. The mutant is considered to have DR 5 + MPS mod vs bludgeoning weapons and DR 2 +
MPS mod vs slashing & piercing attacks. The character can maintain the field for 5 rounds, plus one round per MPS modifier. After that
time, he must wait an hour before activating it again.
[DR 5 + CON Bonus vs Blunt, DR 2 + CON Bonus vs slash & pierce. 5 + WIS Bonus rounds per activation]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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 pure strain humans, 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_PSH
|| 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_KINETIC_ABSORPTION, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Life-leech template test script
//:: FileName mut_t_lifeleech.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Life-leech (Mental)
The mutant is able to drain the life force out of any living creature, except normal plants. The character drains 5+ MPS modifier hit
points from all targets within 30 feet each round. As a swift action, the mutant can make a DC20 Concentration check to alter the radius
of the effect to be anything between 10 and 30 feet. Once activated, it can be kept active as a move action, for a maximum of 5+ MPS
modifier rounds. It requires two hours before it can be activated again. Any hit points drained from nearby creatures are first used to
heal any damage taken, with additional points granting temporary hit points to a maximum of 5 Hps per MPS. Temporary HPs
remaining after one hour are lost.
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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_LIFE_LEECH, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,53 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Life Force Sense template test script
//:: FileName mut_t_lifesense.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Life Force Sense (Physical / Plant)
The mutant can sense life energy emanating from living creatures. Low-order life forms, such as mosses,
typically radiate only a dim “glow” at best
[Detect Living (use detect undead as a base)]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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 pure strain humans, 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_PSH
|| 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_LIFE_FORCE_SENSE, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,51 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Life Transfer template test script
//:: FileName mut_t_lifetrans.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Life Transfer (Mental)
Full round action to heal HD + CON Bonus (min 5) HP on other, cause 1d6 damage, use 5 + WIS Bonus / day
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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_LIFE_TRANSFER, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Low-light Vision template test script
//:: FileName mut_t_lowlight.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Low-light Vision (Physical)
Characters with low-light vision have eyes that are so sensitive to light that they can see twice as far as normal in dim light. Low-light
vision is color vision. Characters with low-light vision can see outdoors on a moonlit night as well as they can during the day. The
character's normal daylight light vision is unaffected
[Low-Light Vision]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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, 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
|| 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_LOW_LIGHT_VISION, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Mental Blast test script
//:: FileName mut_t_mblast.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Mental Blast (Mental)
The mutant can directly attack any living target within a range of 50 feet plus 5 per MPS mod. If a Mental Attack roll is successful
against the targets touch armour class, it causes non-lethal damage. The mutant accumulates 1d6 of potential energy every minute, to
a maximum of 3d6. The mutant can choose to discharge one, two, or three dice (as long as he has that much stored), adding his MPS
modifier to the total damage
(Long ranged touch attack, 3d6 + WIS Bonus Mental (Positive?) damage, 1 use restored / 3 turns)
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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_MENTAL_BLAST, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,53 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Mental Control test script
//:: FileName mut_t_mcontrol.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Mental Control (Mental)
The mutant can take control of another creature's body at a maximum distance of 25 feet + 5 feet per MPS modifier. Green Folk can
only control other plants; New Animals and humans can control each other, but not plants
[Dominate Monster, 5 + 1 / CHA Bonus, DC = 10 + 1/2 HD + CHA Bonus]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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_MENTAL_CONTROL, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,67 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Metamorphosis template test script
//:: FileName mut_t_metamorph.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Metamorphosis (Physical)
The character can transform his body into a duplicate of any creature he touches. Against an unwilling target he must make a
successful touch attack to begin the transformation, which takes 1d6 rounds. The mutant transforms into an exact duplicate of the
creature touched and gains the size and physical attributes (Strength, Dexterity and Constitution) of the target, in place of his own. If
the form has any of the following abilities, he gains those abilities: climb, fly, swim, natural attack, darkvision, low-light vision, and/or
natural armour. The mutant does not get any other special abilities of the creature he copies. For example, he can duplicate quills, but
is not able to fire them. He can fly, but not do fancy aerial manoeuvres. The character retains his mental attributes, base saving throws,
base attack and skill bonuses, as well as physical and mental mutations not affected by the change. He does not copy any clothes,
armour or possessions. The transformation lasts up to 10 minutes plus 2 minutes per MPS modifier. Metamorphosis cannot be
activated more than once every two hours.
[Shifting via touch attack. 1d6 round delay, 10 + 2 / WIS Bonus minute duration, Can only be activated once every two hours]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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, 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
|| 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_METAMORPHOSIS, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,56 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Mental Paralysis test script
//:: FileName mut_t_mparalysis.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Mental Paralysis (Mental)
The character is able to isolate the victim's mind from the voluntary motor centres of his brain. The target must be within a range of 25
feet plus 5 per MPS mod, and fail a Health save. The victim falls prone. He can still breathe, his heart beats, his eyes blink, etc; but he
cannot move his limbs, speak, or control any other muscles. The victim can still use mental powers and sense the world around him
normally, but his direction of vision will be limited. The effect lasts for 1d6 rounds + 1 round per MPS mod. The power can be used a
number of times a day equal to 3 plus the MPS mod.
[Hold Monster, 5 + 1 / WIS Bonus, DC = 10 + 1/2 HD + WIS Bonus]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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_MENTAL_PARALYSIS, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,65 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Parasite template test script
//:: FileName mut_t_parasite.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Parasite (Physical)
The mutant gains the ability to latch onto the "life force" of other beings and drain some of it to his own body. The mutant must make a
touch attack on his target to use this power. The target suffers 1d8 points of damage, which the mutant receives as healing. The target
can make a Health save to halve the damage taken. The save DC equals 10 + half the mutants level + CON mod. Any healing that
exceeds the mutants normal hit point total become temporary hit points. Any temporary HPs gained are lost in 1 hour. If the mutant
has a natural attack, they can activate this power as part of that attack.
[Vampiric Touch activated touch attack & natural attack onhit, DC = 10 + 1/2 HD + CON Bonus]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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, 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
|| 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_PARASITE, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,62 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Paralytic Touch template test script
//:: FileName mut_t_paratouch.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Paralytic Touch (Physical)
The mutants claws, teeth, stinger or hands secrete a powerful paralytic venom. Anyone who takes damage in melee from the
character's natural weapons must make a Health save or be paralysed for 1d6 rounds plus 1 round per MPS modifier. The save DC
equals 10 + half the mutants level + MPS mod. It takes the mutant an hour to produce enough venom for another attack.
[1d6 + CON Bonus rounds of paralysis onHit via natural attack once per success per hour]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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, 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
|| 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_PARALYTIC_TOUCH, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,58 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Photogenesis template test script
//:: FileName mut_t_photogen.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Photogenesis (Physical / Plant)
The mutant is able to generate a tremendously bright flash of light from a specific part of his body (hands, eyes, hair, etc.) chosen by
the player. This flash affects every creature (including Live Metal) within 30 feet (60 in the dark) who fails a Reflex save. (DC = 10 +
MPS mod + ½ level.) If the targets were looking in the direction of the mutant, they are blinded for 1d4+MPS rounds; otherwise (unless
specifically warned about the flash) they are dazzled for 1 round. The mutant cannot be blinded or dazzled by bright light. He can store
enough light for three flashes, but it takes two hours to regenerate a used flash. As an alternative to the sudden light discharge, the
mutant can use up a flash to glow with a light equal to normal daylight for 10 + MPS modifier rounds. The glow this creates illuminates
a 30 radius area
[Daylight?]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: 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 pure strain humans, 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_PSH
|| 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_PHOTOGENESIS, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}