Fixed exploit
Fixed exploit. Added test Shield scroll. Tweaked a few creatures.
This commit is contained in:
		
							
								
								
									
										29
									
								
								_module/nss/sc_30dc_distrap.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								_module/nss/sc_30dc_distrap.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| //:://///////////////////////////////////////////// | ||||
| //:: | ||||
| //:: sc_30dc_distrap.nss | ||||
| //:: | ||||
| //:: Copyright (c) 2023 Project RATDOG | ||||
| //:: | ||||
| //::////////////////////////////////////////////// | ||||
| /* | ||||
|     Performs a 30DC Disable Trap check in | ||||
|     conversation | ||||
| */ | ||||
| //::////////////////////////////////////////////// | ||||
| //:: | ||||
| //:: Created By: Jaysyn | ||||
| //:: Created On: 20230101 | ||||
| //:: | ||||
| //::////////////////////////////////////////////// | ||||
|  | ||||
| #include "nw_i0_tool" | ||||
|  | ||||
| int StartingConditional() | ||||
| { | ||||
| //:: Declare major variables | ||||
|     object oPC = GetPCSpeaker(); | ||||
|  | ||||
|     if (!GetIsSkillSuccessful(oPC, SKILL_DISABLE_TRAP, 30)) return FALSE; | ||||
|  | ||||
|     return TRUE; | ||||
| } | ||||
							
								
								
									
										19
									
								
								_module/nss/sc_dc30_dex_chk.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								_module/nss/sc_dc30_dex_chk.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| //::///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
|     sc_dc30_dex_chk.nss | ||||
|  | ||||
|     Does a DC 30 Dexterity check in a conversation. | ||||
|  | ||||
| */ | ||||
| //::///////////////////////////////////////////////////////////////////////// | ||||
|  | ||||
| int StartingConditional() | ||||
| { | ||||
| //:: Declare major variables | ||||
|     object oPC      = GetPCSpeaker(); | ||||
|     int nDexCheck   = d20() + GetAbilityScore(oPC, ABILITY_DEXTERITY, FALSE); | ||||
|  | ||||
|     if (nDexCheck <= 29) return FALSE; | ||||
|  | ||||
|     return TRUE; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user