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.
		
			
				
	
	
		
			35 lines
		
	
	
		
			1022 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1022 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*:://////////////////////////////////////////////
 | |
| //:: Spell Name Spike Growth - On Enter
 | |
| //:: Spell FileName PHS_S_SpikeGrowA
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Spell Effects Applied / Notes
 | |
| //:://////////////////////////////////////////////
 | |
|     On Enter.
 | |
| 
 | |
|     This sets the location currenlty occupied by the PC, so the heartbeat can
 | |
|     do damage and so on.
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Created By: Jasperre
 | |
| //::////////////////////////////////////////////*/
 | |
| 
 | |
| #include "PHS_INC_SPELLS"
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     // Check AOE
 | |
|     if(!PHS_CheckAOECreator()) return;
 | |
| 
 | |
|     // Get local to set on the person
 | |
|     string sLocal = "PHS_SPIKE_GROWTH_LOCATION";
 | |
|     object oCaster = GetAreaOfEffectCreator();
 | |
|     object oTarget = GetEnteringObject();
 | |
|     location lLocation = GetLocation(oTarget);
 | |
| 
 | |
|     // PvP check
 | |
|     if(!GetIsReactionTypeFriendly(oTarget, oCaster))
 | |
|     {
 | |
|         // Set the location, if not already valid
 | |
|         SetLocalLocation(oTarget, sLocal, lLocation);
 | |
|     }
 | |
| }
 |