Mutation maintain scripts
Mutation maintain scripts.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_ab_acid.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_ab_acid.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										43
									
								
								_content/ga_scripts/mut_m_ab_acid.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								_content/ga_scripts/mut_m_ab_acid.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Energy Absorption: Acid template maintain script | ||||
| //:: FileName	mut_m_ab_acid.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Energy Absorption: Acid (Physical / Plant) | ||||
| The character gains Energy Resistance, ignoring the first 10 points + CON  | ||||
| modifier of damage from a particular type of energy attack. | ||||
|  | ||||
| [Ignores 10 + CON Bonus of caustic damage] | ||||
|  | ||||
| */ | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/20 | ||||
| //:://////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Acid | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_ACID, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_ENERGY_ABSOPTION_ACID); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
| 	 | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_acid.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_acid.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										41
									
								
								_content/ga_scripts/mut_m_im_acid.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								_content/ga_scripts/mut_m_im_acid.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Immunity: Acid template maintain script | ||||
| //:: FileName       mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Acid | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_ACID, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_ACID); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_cold.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_cold.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										41
									
								
								_content/ga_scripts/mut_m_im_cold.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								_content/ga_scripts/mut_m_im_cold.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Immunity: Cold template maintain script | ||||
| //:: FileName       mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Cold | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_COLD, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_COLD); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_drain.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_drain.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								_content/ga_scripts/mut_m_im_drain.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								_content/ga_scripts/mut_m_im_drain.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Immunity: Ability Drain template maintain script | ||||
| //:: FileName	mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Ability Damage | ||||
| 	ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_IMMUNITY_ABILITY_DECREASE); | ||||
| 	IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_ABILITY_DRAIN); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_elec.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_elec.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										41
									
								
								_content/ga_scripts/mut_m_im_elec.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								_content/ga_scripts/mut_m_im_elec.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Immunity: Electricity template maintain script | ||||
| //:: FileName       mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Electricity | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_ELECTRICAL, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_ELECTRICITY); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_fire.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_fire.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								_content/ga_scripts/mut_m_im_fire.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								_content/ga_scripts/mut_m_im_fire.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Immunity: Fire template maintain script | ||||
| //:: FileName       mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Fire | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_FIRE, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_FIRE); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|   | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_hold.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_hold.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										41
									
								
								_content/ga_scripts/mut_m_im_hold.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								_content/ga_scripts/mut_m_im_hold.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Immunity: Paralysis template maintain script | ||||
| //:: FileName	mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Paralysis | ||||
| 	ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_IMMUNITY_PARALYSIS); | ||||
| 	IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_PARALYSIS); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_mind.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_mind.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										41
									
								
								_content/ga_scripts/mut_m_im_mind.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								_content/ga_scripts/mut_m_im_mind.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Immunity: Mind-effects template test script | ||||
| //:: FileName       mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Mind Effects | ||||
| 	ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_IMMUNITY_MIND_SPELLS); | ||||
| 	IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_MIND); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_poison.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_poison.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								_content/ga_scripts/mut_m_im_poison.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								_content/ga_scripts/mut_m_im_poison.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Immunity: Poison template maintain script | ||||
| //:: FileName	mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Poison | ||||
| 	ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_IMMUNITY_POISON); | ||||
| 	IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_POISON); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_rads.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_rads.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								_content/ga_scripts/mut_m_im_rads.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								_content/ga_scripts/mut_m_im_rads.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Immunity: Radiation template maintain script | ||||
| //:: FileName	mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Radiation (negative energy) | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_NEGATIVE, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_RADIATION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_sick.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_sick.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								_content/ga_scripts/mut_m_im_sick.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								_content/ga_scripts/mut_m_im_sick.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Immunity: Disease template maintain script | ||||
| //:: FileName	mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Disease | ||||
| 	ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_IMMUNITY_DISEASE); | ||||
| 	IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_DISEASE); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_sonic.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_im_sonic.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										41
									
								
								_content/ga_scripts/mut_m_im_sonic.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								_content/ga_scripts/mut_m_im_sonic.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Immunity: Concussion template maintain script | ||||
| //:: FileName       mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Immunity to Sonic | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_SONIC, IP_CONST_DAMAGEIMMUNITY_100_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_IMMUNITY_CONCUSSION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_lowlight.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_lowlight.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										43
									
								
								_content/ga_scripts/mut_m_lowlight.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								_content/ga_scripts/mut_m_lowlight.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Low-light Vision template maintain script | ||||
| //:: FileName	mut_m_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/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: Low Light Vision | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_LOWLIGHT_VISION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_LOW_LIGHT_VISION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_skelenhc.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_skelenhc.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										43
									
								
								_content/ga_scripts/mut_m_skelenhc.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								_content/ga_scripts/mut_m_skelenhc.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Skeletal Enhancement template maintain script | ||||
| //:: FileName	mut_m_skelenhc.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Skeletal Enhancement (Physical) | ||||
| The mutant's skeleton is far stronger than normal. He takes only half damage from bludgeoning weapons and falling damage | ||||
|  | ||||
|  | ||||
| [1/2 damage from falling & blunt damage.] | ||||
|  | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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; | ||||
| 	 | ||||
| //:: 50% Resistant to Bludgeoning | ||||
|     ipIP = ItemPropertyDamageImmunity(IP_CONST_DAMAGETYPE_BLUDGEONING, IP_CONST_DAMAGEIMMUNITY_50_PERCENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
|  | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_SKELETAL_ENHANCEMENT); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_touch.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_touch.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										55
									
								
								_content/ga_scripts/mut_m_touch.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								_content/ga_scripts/mut_m_touch.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,55 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Heightened Touch template maintain script | ||||
| //:: FileName	mut_m_touch.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Heightened Touch (Physical) | ||||
| The mutant's sense of touch becomes fine enough to distinguish slight changes  | ||||
| in texture, moisture, temperature, residues etc | ||||
|  | ||||
| [Blindsight, +3 craft skills] | ||||
|  | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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 Craft Armor bonus | ||||
|     SetCompositeBonus(oSkin, "HeightTouchCraftArmor", 3, ITEM_PROPERTY_SKILL_BONUS, SKILL_CRAFT_ARMOR);	 | ||||
| 	 | ||||
| //:: Add Craft General bonus | ||||
|     SetCompositeBonus(oSkin, "HeightTouchCraftGeneral", 3, ITEM_PROPERTY_SKILL_BONUS, SKILL_CRAFT_GENERAL); | ||||
|  | ||||
| //:: Add Craft Trap bonus | ||||
|     SetCompositeBonus(oSkin, "HeightTouchCraftTrap", 3, ITEM_PROPERTY_SKILL_BONUS, SKILL_CRAFT_TRAP); | ||||
| 	 | ||||
| //:: Add Craft Weapon bonus | ||||
|     SetCompositeBonus(oSkin, "HeightTouchCraftWeapon", 3, ITEM_PROPERTY_SKILL_BONUS, SKILL_CRAFT_WEAPON);	 | ||||
| 	 | ||||
| //:: Blindsight | ||||
|     ipIP = PRCItemPropertyBonusFeat(FEAT_BLINDSIGHT_5_FEET); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_HEIGHTENED_TOUCH); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);		 | ||||
| 	 | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_vision.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_m_vision.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										49
									
								
								_content/ga_scripts/mut_m_vision.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								_content/ga_scripts/mut_m_vision.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name		Heightened Vision template maintain script | ||||
| //:: FileName	mut_m_vision.nss | ||||
| //:: Copyright	(c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
| Heightened Vision (Physical) | ||||
| The mutant can see twice the distance compared to most creatures. They gain  | ||||
| Low-Light vision | ||||
|  | ||||
| [Low-light Vision, Spot +2 & Search +2] | ||||
|  | ||||
|  | ||||
| */ | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 22/03/25 | ||||
| //::////////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
|  | ||||
| #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 Spot bonus | ||||
|     SetCompositeBonus(oSkin, "HeightenedVisionSpot", 2, ITEM_PROPERTY_SKILL_BONUS, SKILL_SPOT); | ||||
| 	 | ||||
| //:: Add Search bonus | ||||
|     SetCompositeBonus(oSkin, "HeightenedVisionSearch", 2, ITEM_PROPERTY_SKILL_BONUS, SKILL_SEARCH); | ||||
| 	 | ||||
| //:: Low Light Vision | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_LOWLIGHT_VISION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE); | ||||
| 	 | ||||
| //:: Marker Feat | ||||
|     ipIP = PRCItemPropertyBonusFeat(IP_CONST_FEAT_MUT_HEIGHTENED_VISION); | ||||
|     IPSafeAddItemProperty(oSkin, ipIP, 0.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);	 | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user