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.
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| //::///////////////////////////////////////////////
 | |
| //:: Vine Mine, Camouflage: On Enter
 | |
| //:: X2_S0_VineMCamA
 | |
| //:: Copyright (c) 2001 Bioware Corp.
 | |
| //:://////////////////////////////////////////////
 | |
| /*
 | |
|     Friendly creatures entering the zone of Vine Mine,
 | |
|     Camouflage have a +4 added to hide checks.
 | |
| */
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Created By: Andrew Nobbs
 | |
| //:: Created On: Nov 25, 2002
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Last Updated By: Andrew Nobbs, 02/06/2003
 | |
| 
 | |
| //:: altered by mr_bumpkin Dec 4, 2003 for prc stuff
 | |
| #include "prc_inc_spells"
 | |
| #include "prc_alterations"
 | |
| #include "prc_add_spell_dc"
 | |
| 
 | |
| void main()
 | |
| {
 | |
| 
 | |
| DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
 | |
| SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_CONJURATION);
 | |
| 
 | |
|     //Declare major variables
 | |
|     effect eVis = EffectVisualEffect(VFX_IMP_HEAD_NATURE);
 | |
|     effect eDur = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
 | |
|     effect eSkill = EffectSkillIncrease(SKILL_HIDE, 4);
 | |
|     effect eLink = EffectLinkEffects(eDur, eSkill);
 | |
| 
 | |
|     object oTarget = GetEnteringObject();
 | |
|     if(spellsIsTarget(oTarget, SPELL_TARGET_ALLALLIES, GetAreaOfEffectCreator()))
 | |
|     {
 | |
|         if(!GetHasSpellEffect(GetSpellId(), oTarget))
 | |
|         {
 | |
|             //Fire cast spell at event for the target
 | |
|             SignalEvent(oTarget, EventSpellCastAt(GetAreaOfEffectCreator(), GetSpellId(), FALSE));
 | |
|              SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
 | |
|             SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oTarget,0.0f,FALSE);
 | |
|         }
 | |
|     }
 | |
| 
 | |
| DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
 | |
| // Erasing the variable used to store the spell's spell school
 | |
| }
 |