Started mutation maintenance scripts
Started mutation maintenance scripts.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_adherence.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_adherence.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										40
									
								
								_content/ga_scripts/mut_m_adherence.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								_content/ga_scripts/mut_m_adherence.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Adherence template maintain script | ||||
| //:: FileName	mut_m_adherence.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Adherence (Physical) | ||||
| 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 +4 to grapple checks. | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/23 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #include "prc_alterations" | ||||
| #include "prc_inc_template" | ||||
| #include "prc_racial_const" | ||||
|  | ||||
| void main() | ||||
| { | ||||
|  | ||||
| //:: Declare major variables | ||||
| 	object oPC = OBJECT_SELF; | ||||
| 	object oSkin = GetPCSkin(oPC); | ||||
| 	int iHD = GetHitDice(oPC); | ||||
| 	int nBonus; | ||||
| 	itemproperty ipIP; | ||||
| 	 | ||||
| //:: Add Climb bonus | ||||
|     SetCompositeBonus(oSkin, "AdherenceClimb", 8, ITEM_PROPERTY_SKILL_BONUS, SKILL_CLIMB); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_ADHERENCE); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_adrenaline.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_adrenaline.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										44
									
								
								_content/ga_scripts/mut_m_adrenaline.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								_content/ga_scripts/mut_m_adrenaline.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Adrenaline Boost maintain script | ||||
| //:: FileName	mut_m_adrenaline.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Adrenaline Boost (Physical) | ||||
| The Subject's adrenal gland starts to secrete a far more potent type of  | ||||
| adrenaline, enabling them to react to threats faster. The mutant gains a +2 bonus | ||||
| on their initiative checks and a +1 bonus on her Reflex saves | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/23 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #include "prc_alterations" | ||||
| #include "prc_inc_template" | ||||
| #include "prc_racial_const" | ||||
|  | ||||
| void main() | ||||
| { | ||||
|  | ||||
| //:: Declare major variables | ||||
| 	object oPC = OBJECT_SELF; | ||||
| 	object oSkin = GetPCSkin(oPC); | ||||
| 	int iHD = GetHitDice(oPC); | ||||
| 	int nBonus; | ||||
| 	itemproperty ipIP; | ||||
| 	 | ||||
| //:: +1 Reflex Save | ||||
|     ipIP = ItemPropertyBonusSavingThrow(IP_CONST_SAVEBASETYPE_REFLEX, 1); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: +2 Initiative via Blooded feat. | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_BLOODED); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_ADRENALINE_BOOST); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_chameleon.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_chameleon.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										45
									
								
								_content/ga_scripts/mut_m_chameleon.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								_content/ga_scripts/mut_m_chameleon.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Chameleon template maintain script | ||||
| //:: FileName	mut_m_chameleon.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Chameleon (Physical / Plant) | ||||
| This mutation allows the character to blend into any background. His body  | ||||
| coloration changes to match the colours of any background that is within three  | ||||
| feet.  Be aware that his clothes or other belongings do not change colour. His  | ||||
| skin (or leaves) continuously change as the mutant moves. The mutant can decide  | ||||
| to make his skin any single colour not related to his background, or can choose  | ||||
| to look like his normal self. Chameleon power grants a bonus to all Stealth  | ||||
| skill checks equal to 5 + DEX modifier. | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/23 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #include "prc_alterations" | ||||
| #include "prc_inc_template" | ||||
| #include "prc_racial_const" | ||||
|  | ||||
| void main() | ||||
| { | ||||
|  | ||||
| //:: Declare major variables | ||||
| 	object oPC = OBJECT_SELF; | ||||
| 	object oSkin = GetPCSkin(oPC); | ||||
| 	int iHD = GetHitDice(oPC); | ||||
| 	int nDex = GetAbilityModifier(1, oPC); | ||||
| 	int nHide = 5 + nDex; | ||||
| 	int nBonus; | ||||
| 	itemproperty ipIP; | ||||
| 	 | ||||
| //:: Add Hide bonus | ||||
|     SetCompositeBonus(oSkin, "ChameleonHide", nHide, ITEM_PROPERTY_SKILL_BONUS, SKILL_HIDE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_CHAMELEON); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_darkvision.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_darkvision.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										40
									
								
								_content/ga_scripts/mut_m_darkvision.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								_content/ga_scripts/mut_m_darkvision.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Darkvision template maintain script | ||||
| //:: FileName	mut_m_darkvision.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Darkvision (Physical / Plant) | ||||
| The character has an extraordinary ability to see in darkness without requiring  | ||||
| a light source, such as at night or underground. Vision is black-and-white only.  | ||||
| The presence of light does not spoil darkvision.  | ||||
|  | ||||
| */ | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/23 | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #include "prc_alterations" | ||||
| #include "prc_inc_template" | ||||
| #include "prc_racial_const" | ||||
|  | ||||
| void main() | ||||
| { | ||||
|  | ||||
| //:: Declare major variables | ||||
| 	object oPC = OBJECT_SELF; | ||||
| 	object oSkin = GetPCSkin(oPC); | ||||
| 	int iHD = GetHitDice(oPC); | ||||
| 	int nBonus; | ||||
| 	itemproperty ipIP; | ||||
| 	 | ||||
| //:: Darkvision | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_DARKVISION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_DARKVISION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_echoloc.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_echoloc.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										43
									
								
								_content/ga_scripts/mut_m_echoloc.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								_content/ga_scripts/mut_m_echoloc.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Echolocation template maintain script | ||||
| //:: FileName       mut_m_echoloc.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Echolocation (Physical / Plant) | ||||
| The mutant can use echolocation to determine where objects are around him. He  | ||||
| can emit sound waves and hear the reflected sound, giving him information about  | ||||
| the position, size, movement and density of objects within 60 feet. He can only  | ||||
| get a vague sense of shape about them, but it makes invisibility and concealment  | ||||
| irrelevant.  | ||||
|  | ||||
| */ | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/23 | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #include "prc_alterations" | ||||
| #include "prc_inc_template" | ||||
| #include "prc_racial_const" | ||||
|  | ||||
| void main() | ||||
| { | ||||
|  | ||||
| //:: Declare major variables | ||||
| 	object oPC = OBJECT_SELF; | ||||
| 	object oSkin = GetPCSkin(oPC); | ||||
| 	int iHD = GetHitDice(oPC); | ||||
| 	int nBonus; | ||||
| 	itemproperty ipIP; | ||||
| 	 | ||||
| //:: Blindsight | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_BLINDSIGHT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_ADHERENCE); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user