47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| //::///////////////////////////////////////////////
 | |
| //:: Cure Light Wounds
 | |
| //:: NW_S0_CurLgtW
 | |
| //:: Copyright (c) 2001 Bioware Corp.
 | |
| //:://////////////////////////////////////////////
 | |
| /*
 | |
| // When laying your hand upon a living creature,
 | |
| // you channel positive energy that cures 1d8 points
 | |
| // of damage plus 1 point per caster level (up to +5).
 | |
| // Since undead are powered by negative energy, this
 | |
| // spell inflicts damage on them instead of curing
 | |
| // their wounds. An undead creature can attempt a
 | |
| // Will save to take half damage.
 | |
| */
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Created By: Brennon Holmes
 | |
| //:: Created On: Oct 12, 2000
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Update Pass By: Preston W, On: July 26, 2001
 | |
| 
 | |
| #include "NW_I0_SPELLS"
 | |
| #include "x2_inc_spellhook"
 | |
| 
 | |
| void main()
 | |
| {
 | |
| 
 | |
| /*
 | |
|   Spellcast Hook Code
 | |
|   Added 2003-06-20 by Georg
 | |
|   If you want to make changes to all spells,
 | |
|   check x2_inc_spellhook.nss to find out more
 | |
| 
 | |
| */
 | |
| 
 | |
|     if (!X2PreSpellCastCode())
 | |
|     {
 | |
|     // If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
 | |
|         return;
 | |
|     }
 | |
| 
 | |
| // End of Spell Cast Hook
 | |
| 
 | |
| 
 | |
|     spellsCure(d8(), 5, 8, VFX_IMP_SUNSTRIKE, VFX_IMP_HEALING_S, GetSpellId());
 | |
| }
 | |
| 
 |