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.
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| //::///////////////////////////////////////////////
 | |
| //:: Stinking Cloud
 | |
| //:: NW_S0_StinkCld.nss
 | |
| //:: Copyright (c) 2001 Bioware Corp.
 | |
| //:://////////////////////////////////////////////
 | |
| /*
 | |
|     Those within the area of effect must make a
 | |
|     fortitude save or be dazed.
 | |
| */
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Created By: Preston Watamaniuk
 | |
| //:: Created On: May 17, 2001
 | |
| //:://////////////////////////////////////////////
 | |
| 
 | |
| //:: modified by mr_bumpkin  Dec 4, 2003
 | |
| #include "prc_inc_spells"
 | |
| #include "prc_add_spell_dc"
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     if(!X2PreSpellCastCode()) return;
 | |
| 
 | |
|     PRCSetSchool(SPELL_SCHOOL_CONJURATION);
 | |
| 
 | |
|     //Declare major variables
 | |
|     effect eAOE = EffectAreaOfEffect(AOE_PER_FOGSTINK);
 | |
|     location lTarget = PRCGetSpellTargetLocation();
 | |
|     int CasterLvl = PRCGetCasterLevel();
 | |
|     int nDuration = CasterLvl;
 | |
|     effect eImpact = EffectVisualEffect(259);
 | |
|     ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eImpact, lTarget);
 | |
|     if (nDuration < 1)
 | |
|     {
 | |
|         nDuration = 1;
 | |
|     }
 | |
|     int nMetaMagic = PRCGetMetaMagicFeat();
 | |
|     //Make metamagic check for extend
 | |
|     if (CheckMetaMagic(nMetaMagic, METAMAGIC_EXTEND))
 | |
|     {
 | |
|         nDuration = nDuration *2;   //Duration is +100%
 | |
|     }
 | |
|     //Create the AOE object at the selected location
 | |
|     ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eAOE, lTarget, RoundsToSeconds(nDuration));
 | |
| 
 | |
|     object oAoE = GetAreaOfEffectObject(lTarget, "VFX_PER_FOGSTINK");
 | |
|     SetAllAoEInts(SPELL_STINKING_CLOUD, oAoE, PRCGetSpellSaveDC(SPELL_STINKING_CLOUD, SPELL_SCHOOL_CONJURATION), 0, CasterLvl);
 | |
| 
 | |
|     PRCSetSchool();
 | |
| } |