Updated AMS marker feats. Removed arcane & divine marker feats. Updated Dread Necromancer for epic progression. Updated weapon baseitem models. Updated new weapons for crafting & npc equip. Updated prefix. Updated release archive.
		
			
				
	
	
		
			28 lines
		
	
	
		
			880 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			880 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| //::///////////////////////////////////////////////
 | |
| //:: Jade Water Damage 2
 | |
| //:: ravage_jade_wtr2
 | |
| //:://////////////////////////////////////////////
 | |
| /*
 | |
|     1d4 Int damage and 1d4 Wis damage
 | |
| */
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Created By: Ornedan
 | |
| //:: Created On: 10.01.2005
 | |
| //:://////////////////////////////////////////////
 | |
| 
 | |
| 
 | |
| #include "prc_inc_spells"
 | |
| #include "inc_ravage"
 | |
| 
 | |
| void main()
 | |
| {
 | |
| 	object oTarget = OBJECT_SELF;
 | |
| 	// Ravages only affect evil creatures
 | |
| 	if (GetAlignmentGoodEvil(oTarget)!=ALIGNMENT_EVIL) return;
 | |
| 	int nExtra = GetRavageExtraDamage(oTarget);
 | |
| 	effect eVis = GetRavageVFX();
 | |
| 
 | |
| 	ApplyAbilityDamage(oTarget, ABILITY_WISDOM,       d4(1) + nExtra, DURATION_TYPE_PERMANENT, TRUE);
 | |
| 	ApplyAbilityDamage(oTarget, ABILITY_INTELLIGENCE, d4(1) + nExtra, DURATION_TYPE_PERMANENT, TRUE);
 | |
| 	ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
 | |
| } |