More mutation test scripts
More mutation test scripts.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_antileech.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_antileech.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_antileech.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_antileech.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,54 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Anti-life leech template test script | ||||
| //:: FileName       mut_t_antileech.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Anti-Life Leech (Mental) | ||||
| The mutant is immune to life leech and other draining attacks, such as parasite. | ||||
| He is able to reverse the flow of such a power; draining 1d6 hit points from the | ||||
| attacking creature per round, into himself. These points first heal his damage  | ||||
| and then can grant temporary hit points to a maximum of 6 + triple his character  | ||||
| level. These temporary hit points last no more than one hour. The mutant can  | ||||
| continue the drain for one round after the “attacking” power is deactivated. | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: 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);	 | ||||
|  | ||||
| //:: 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_ANTI_LIFE_LEECH, oPC))  | ||||
| 	{ | ||||
| 		SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ap_control.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ap_control.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										55
									
								
								_content/ga_scripts/mut_t_ap_control.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								_content/ga_scripts/mut_t_ap_control.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,55 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Animal / Plant Control template test script | ||||
| //:: FileName       mut_t_ap_control.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Animal / Plant Control (Mental) | ||||
| The mutant can take control of another creature's body.  Plant/animal control  | ||||
| is the same as mental control, but it works on plants if the character is human  | ||||
| or animal, and on humans and animals if the character is a plant. It does not  | ||||
| function on creatures with the same mental makeup as the character. | ||||
|  | ||||
| Dominate Monster, 5 + 1 / CHA Bonus, DC = 10 + 1/2 HD + CHA Bonus, 3 hour cool | ||||
| down. | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/19 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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_ANIMAL_PLANT_CONTROL, oPC))  | ||||
| 	{ | ||||
| 		SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_beguiling.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_beguiling.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_beguiling.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_beguiling.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,54 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Beguiling template test script | ||||
| //:: FileName       mut_t_beguiling.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Beguiling (Mental) | ||||
| The mutant can induce a soothing and friendly attitude in another creature. If  | ||||
| the target fails a Will save, the target will not harm the beguiler, treating  | ||||
| them as a friend. The effect lasts 10 minutes plus one minute per CHA mod. | ||||
|  | ||||
| Charm Monster (2+HD / 5 uses per day) | ||||
|  | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: 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);	 | ||||
|  | ||||
| //:: 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_BEGUILING, oPC))  | ||||
| 	{ | ||||
| 		SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_bodyctrl.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_bodyctrl.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										55
									
								
								_content/ga_scripts/mut_t_bodyctrl.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								_content/ga_scripts/mut_t_bodyctrl.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,55 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Body Control template test script | ||||
| //:: FileName       mut_t_bodyctrl.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Body Control | ||||
| The mutant can temporarily enhance one of his physical ability scores. He  | ||||
| chooses one attribute (Strength, Dexterity or Constitution) and increases it by | ||||
| 1 + 1 / 5 HD.   | ||||
|  | ||||
| Uses: 1 + HD / 3 uses per day. | ||||
|  | ||||
| Duration: 1 turn + 1 round / HD | ||||
|  | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: 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);	 | ||||
|  | ||||
| //:: 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_ADHERENCE, oPC))  | ||||
| 	{ | ||||
| 		SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_carnjaws.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_carnjaws.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										52
									
								
								_content/ga_scripts/mut_t_carnjaws.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								_content/ga_scripts/mut_t_carnjaws.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Carnivourous Jaws template test script | ||||
| //:: FileName       mut_t_carnjaws.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Carnivourous Jaws (Plant) | ||||
| Most plants do not eat. They live off of soil and sunlight. However, a plant  | ||||
| with this mutation can eat meat or other plants with its jaws.  Its "teeth" are  | ||||
| actually tightly spaced thorns in its maw. Its stomach is merely a body cavity  | ||||
| filled with weak acids that digest the meat.  The plant now has a natural bite  | ||||
| attack that causes 1d6 + Str mod damage, if medium size. The plant is still able | ||||
| to sustain itself with just soil and sunlight, but it is an uncomfortable  | ||||
| existence. | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: 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_CARNIVORUS_JAWS, oPC))  | ||||
| 	{ | ||||
| 		SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_chameleon.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_chameleon.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										51
									
								
								_content/ga_scripts/mut_t_chameleon.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								_content/ga_scripts/mut_t_chameleon.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,51 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Adherence template test script | ||||
| //:: FileName       tmp_t_adherence.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Adherence | ||||
| Fine hooks or hairs on the mutant’s hands and feet allows him to climb easily  | ||||
| or even cling to the ceiling. The character must have hands and feet uncovered  | ||||
| to use this ability, and must be carrying no more than a medium load.  The  | ||||
| mutant gains a +8 to Climb checks and a 4 to grapple checks. | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/19 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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_ADHERENCE, oPC))  | ||||
| 	{ | ||||
| 		SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); | ||||
| 	} | ||||
|  | ||||
| } | ||||
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user