// Special Abilities
//						Trigger================================================================================================================================================================================================================================================================================================================================================	Effect========================================================================================================================================================================================================================================================================================================================================================
//			Public																											Message------------------------------------------------------------------------------------------------------------------------------------------------																													Message-----------------------------------------------------------------------------------------------------------------------
// Name			Name			Type		Conditions							Data														Knwldge	Style	Text																	Type		Conditions						Data																			Knwldge	Style	Text													
Skyranger_Door_Sound	-			PROP_NEW_ROUND	COUNT==0							-														-	-	-																	FLUFF		-							SOUND=EVEN_SKYRANGER_OPEN																-	-	-
Reaper_Growl		-			ENT_NEW_TURN	RANDOM<=15							-														-	-	-																	FLUFF		-							SOUND=EVEN_REAPER_GROWL																	-	-	-
Cyberdisc_Explosion	-			DEATH		-								-														-	-	-																	EXPLODE		-							EXPLOSION=Cyberdisc																	DEFAULT	DEFAULT	"%1 explodes."												
UFO_Power_Explosion	-			PROP_DESTROYED	-								-														-	-	-																	EXPLODE		-							EXPLOSION=UFO_Power																	DEFAULT	DEFAULT	"%1 explodes."												
Fuel_Pod_0_Explosion	-			PROP_DESTROYED	-								-														-	-	-																	EXPLODE		-							EXPLOSION=Fuel_Pod_0																	DEFAULT	DEFAULT	"%1 explodes."												
Fuel_Pod_1_Explosion	-			PROP_DESTROYED	-								-														-	-	-																	EXPLODE		-							EXPLOSION=Fuel_Pod_1																	DEFAULT	DEFAULT	"%1 explodes."												
Fuel_Pod_2_Explosion	-			PROP_DESTROYED	-								-														-	-	-																	EXPLODE		-							EXPLOSION=Fuel_Pod_2																	DEFAULT	DEFAULT	"%1 explodes."												
Navigation_Explosion	-			PROP_DESTROYED	-								-														-	-	-																	EXPLODE		-							EXPLOSION=UFO_Navigation																DEFAULT	DEFAULT	"%1 explodes."												
Silacoid_Burn_Prop	-			E_MOV_ON_P2	-								-														-	-	-																	DAMAGE_PROP	-							DMG=20|DMG_TYPE=IN																	-	-	-													
Silacoid_Burn_Cell	-			MOVE_ON_CELL	-								-														-	-	-																	DAMAGE_CELL	-							DMG=20|DMG_TYPE=IN																	-	-	-													
Chryssalid_Zombify	-			MELEE_ATK_ENT	-								-														-	-	-																	MUTATE_DELAYED	E_RACE==Human						ENTITY=Zombie|FACTION=ALIEN|TU=DEPLETE|CARRY_ARMOR_DMG=0												DEFAULT	DEFAULT	"[name] impregnates {name} with an egg, injects {objpron} with venom, and resurrects {objpron} as @ %1."
// added shriek for Chryssalid on attacking target, rather than spotting it like original (can change later)													
Chryssalid_Shriek	-			MELEE_ATK_ENT	COOLDOWN>=1							-														-	-	-																	FLUFF		-							-																			GLOBAL	DEFAULT	"An unnatural shriek pierces the air."
Hatch_Chryssalid	-			DEATH		DMG_TYPE!=IN							-														-	-	-																	MUTATE		-							ENTITY=Chryssalid|FACTION=ALIEN|INVENTORY=DROP|TU=RESTORE|CARRY_ARMOR_DMG=1|PARTICLE=Hatch_Chryssalid_E							DEFAULT	DEFAULT	"@ %1 bursts forth from [name]."									
Motion_Scanner		-			USE_ON_CELL	-								TU_TYPE=PERCENT|TU_COST=25|METHOD=REFLEX									DEFAULT	DEFAULT	"[name] activates [poss] %1."														SCANNER		-							SCAN=MOTION|RANGE=9|V_RANGE=3|INTERVAL=5|BLIP=CScanner_Blip_OR5_0(8)											-	-	-
Mind_Probe		-			USE_ON_ENT	-								TWOHANDED=1|TU_TYPE=PERCENT|TU_COST=50|METHOD=MANUAL|RANGE=999|VIS=FAC_FOV|RADIUS=0				DEFAULT	DEFAULT	"[name] grips [poss] %1."														MIND_PROBE	-							-																			-	-	-
Psi-Amp_Mind_Control	"Mind Control"		USE_ON_ENT	-								SELECT=1|TU_TYPE=ABSOLUTE|TU_COST=25|METHOD=MANUAL|RANGE=999|VIS=FAC_FOV|RADIUS=0				DEFAULT	DEFAULT	"[name] activates [poss] %1."														SWITCH_FACTION	E_TRAIT(Sentient)>0					FACTION=SOURCE|SWITCH%=-1|DURATION=1|TU=RESTORE|PARTICLE=Psi_Strong|PARTICLE2=Psi_Weak|ALT_TEXT="No noticeable effect on [name]."			DEFAULT	DEFAULT	"[name] is no longer in control of [objpron]self."
Psi-Amp_Panic		"Panic"			USE_ON_ENT	-								SELECT=1|TU_TYPE=ABSOLUTE|TU_COST=25|METHOD=MANUAL|RANGE=999|VIS=FAC_FOV|RADIUS=0				DEFAULT	DEFAULT	"[name] activates [poss] %1."														PANIC_ATTACK	E_TRAIT(Sentient)>0					PARTICLE=Psi_Weak																	DEFAULT	DEFAULT	"[name] feels uneasy."
Medkit			-			USE_MEDKIT	-								TU_TYPE=ABSOLUTE|TU_COST=0											-	-	-																	OPEN_MEDKIT	E_TRAIT(Mechanical)==0					-																			-	-	-
Medkit_Painkiller	"Pain Killer"		MEDKIT_FUNCTION	COUNT<=10							TU_TYPE=ABSOLUTE|TU_COST=10											-	-	-																	MED_PAINKILLER	E_UNCONSCIOUS==0					-																			DEFAULT	DEFAULT	"[name] shoots {name} up with pain killers."
Medkit_Heal		"Heal"			MEDKIT_FUNCTION	COUNT<=10							TU_TYPE=ABSOLUTE|TU_COST=10											-	-	-																	MED_HEAL	-							HEAL_CRITICAL=1|HEAL_HP=3																DEFAULT	DEFAULT	"[name] heals {name}."
Medkit_Stimulant	"Stimulant"		MEDKIT_FUNCTION	COUNT<=10							TU_TYPE=ABSOLUTE|TU_COST=10											-	-	-																	MED_STIMULANT	-							STAMINA_BOOST=10|RECOVER_STUN=4																DEFAULT	DEFAULT	"[name] shoots {name} up with stimulants."
// GROUND ZERO						
Malachai_Follow		-			E_MOV_BYTHIS_E2	E_FACTION==XCOM							-														-	-	-																	MOD_ENT		E_TRAIT(MalachaiJoined)==0				STAT=TRAIT(MalachaiJoined)|OPERATOR=ADD|VALUE=1														-	-	-
+																																																	SPECIAL		-							CONTINGENCY=PASSED_LAST																	GLOBAL	DEFAULT	"Malachai: \"Well, fancy meeting you guys here. I was overseeing my unit's operations in the neighboring sector when these blasted UFOs landed all around my position. Things are just about wrapped up here and I was about to call for evac, but if you guys could use some help I have yet to meet my alien-killing quota today. Lead the way!\""
+																																																	SPECIAL		-							CONTINGENCY=FAILED_LAST																	GLOBAL	DEFAULT	"Malachai: \"I've got you covered.\""
Malachai_Kill		-			KILL_ENT	E_TRAIT(MalachaiJoined)!=0|RANDOM<=50				-														-	-	-																	FLUFF		E_FACTION==ALIEN					-																			GLOBAL	DEFAULT	"Malachai: \"That's one more for me, how many you got?\""
Malachai_Knife		-			ENT_NEW_TURN_E	-								RADIUS=8|AOE_VIS=KNOWN|AOE_SHAPE=LOS|V_RANGE=2|SELF_OK=0							-	-	-																	KILL_ENT	E_TRAIT(Knifeable)!=0|RANDOM<=25			DMG_TYPE=SP																		DEFAULT	DEFAULT	"Malachai whips out a knife and flings it, sticking the [name] in the head."
Orbital1		-			PROP_NEW_ROUND	LIFETIME>=7|[LIFETIME>=4|RANDOM<=25]|COUNT==0			-														-	-	-																	MOD_PROP	-							STAT=TRAIT(OrbitalStage)|OPERATOR=ADD|VALUE=1|SOUND=MESSAGE												GLOBAL	WHITE	"Message:\n>Atmospheric disturbance detected over your location Alpha Team.\n>It seems to be focused on your craft.\n>Recommend immediate evac."
Orbital2		-			PROP_NEW_ROUND	P_TRAIT(OrbitalStage)==1|COUNT==0				-														-	-	-																	MOD_PROP	-							STAT=TRAIT(OrbitalStage)|OPERATOR=ADD|VALUE=1|SOUND=MESSAGE												GLOBAL	WHITE	"Message:\n>Incoming orbital beam."
+																																																	EXPLODE		-							EXPLOSION=Orbital_Strike																-	-	-
Orbital3		-			PROP_NEW_ROUND	P_TRAIT(OrbitalStage)==2|COUNT==0				-														-	-	-																	FLUFF		-							SOUND=MESSAGE																		GLOBAL	WHITE	"Message:\n>Scrambling craft for emergency evac.\n>ETA: 15 min."
Orbital_Strike		-			EXPL_HIT_CELL	C_TRAIT(Skyranger)>0						-														-	-	-																	DESTROY_CELL	-							NO_RUBBLE=0																		-	-	-
Mind_Control		-			PROJ_HIT_ENT	-								-														-	-	-																	FLUFF_ENT	E_TRAIT(Sentient)==0					-																			DEFAULT	DEFAULT	"[name] is immune to the effect."
+																																																	SWITCH_FACTION	-							CONTINGENCY=FAILED_ALL|FACTION=SOURCE|SWITCH%=66|DURATION=1|TU=RESTORE|PARTICLE=Psi_Strong|PARTICLE2=Psi_Weak|ALT_TEXT="No noticeable effect."		DEFAULT	DEFAULT	"[name] is no longer in control of [objpron]self."
Signal_Warning		-			PROP_NEW_ROUND	LIFETIME==13							-														-	-	-																	EXPLODE		-							EXPLOSION=Signal_Warning																-	-	-
Signal_Summon		-			PROP_NEW_ROUND	LIFETIME==15							-														-	-	-																	EXPLODE		-							EXPLOSION=Signal_Summon																	-	-	-
WarnColossus		-			EXPL_HIT_PROP	P_NAME==Colossus_Summon_Point|P_TRAIT(WarnedColossus)==0	-														-	-	-																	MOD_PROP	-							STAT=TRAIT(WarnedColossus)|OPERATOR=ADD|VALUE=1|SOUND=MESSAGE												GLOBAL	WHITE	"Message:\n>Power surge detected in your area. Take out those power cores before it's too late."
SummonColossus		-			EXPL_HIT_PROP	P_NAME==Colossus_Summon_Point|P_TRAIT(SummonedColossus)==0	-														-	-	-																	MOD_PROP	-							STAT=TRAIT(SummonedColossus)|OPERATOR=ADD|VALUE=1|SOUND=MESSAGE												GLOBAL	WHITE	"Message:\n>Too late.\n>Secondary objective: Take that thing out."
+																																																	SPAWN_ENT	-							ENTITY="Colossus"|NUMBER=1|FACTION=ALIEN|AIR_SPAWN=0|CONSTRICTED=CLEAR|TU=RESTORE|PARTICLE=Dimensional_Teleport|SOUND=EVEN_COLOSSUS_GROWL		DEFAULT	DEFAULT	"@ [name] appears."
+																																																	SCORE		-							SCORE_TYPE=SCORE|SCORE_NAME="Teleport Initiated"|SCORE_VALUE=-150											-	-	-
Hull_Breacher		-			EXPL_HIT_CELL	[C_NAME=="UFO Hull"|C_NAME=="UFO Wall"]				-														-	-	-																	DESTROY_CELL	-							NO_RUBBLE=0|PARTICLE=Hull_Breacher															DEFAULT	DEFAULT	"An opening is blasted in the %1."
Mecha_Drop_Point_A1	-			PROP_NEW_ROUND	LIFETIME==16							-														-	-	-																	FLUFF		-							SOUND=EVEN_FLYBY_CARGO																	GLOBAL	WHITE	"Message:\n>Kenshin at the lab has finally agreed to provide two prototype HWPs for combat testing.\n>Package inbound for Skyranger landing site now."
Mecha_Drop_Point_A2	-			PROP_NEW_ROUND	LIFETIME==17							-														-	-	-																	SPAWN_ENT	-							ENTITY="HWP/X-17"|NUMBER=1|FACTION=XCOM|AIR_SPAWN=0|CONSTRICTED=CLEAR|TU=RESTORE|PARTICLE=Airdrop|SOUND=MESSAGE						GLOBAL	WHITE	"Message:\n>X-Series HWPs have landed.\n>Try to bring them back with minimal damage."
Mecha_Drop_Point_B	-			PROP_NEW_ROUND	LIFETIME==17							-														-	-	-																	SPAWN_ENT	-							ENTITY="HWP/X-18"|NUMBER=1|FACTION=XCOM|AIR_SPAWN=0|CONSTRICTED=CLEAR|TU=RESTORE|PARTICLE=Airdrop							-	-	-
	
	
Signal_Warning2		-			PROP_NEW_ROUND	LIFETIME==18							-														-	-	-																	EXPLODE		-							EXPLOSION=Signal_Warning2																-	-	-
Signal_Summon2		-			PROP_NEW_ROUND	LIFETIME==20							-														-	-	-																	EXPLODE		-							EXPLOSION=Signal_Summon2																-	-	-
WarnColossus2		-			EXPL_HIT_PROP	P_NAME==Colossus_Summon_Point2|P_TRAIT(WarnedColossus)==0	-														-	-	-																	MOD_PROP	-							STAT=TRAIT(WarnedColossus)|OPERATOR=ADD|VALUE=1|SOUND=MESSAGE												GLOBAL	WHITE	"Message:\n>Much stronger power surge detected in your area."
SummonColossus2		-			EXPL_HIT_PROP	P_NAME==Colossus_Summon_Point2|P_TRAIT(SummonedColossus)==0	-														-	-	-																	MOD_PROP	-							STAT=TRAIT(SummonedColossus)|OPERATOR=ADD|VALUE=1|SOUND=MESSAGE												GLOBAL	WHITE	"Message:\n>Recommend immediate evac."
+																																																	SPAWN_ENT	-							ENTITY="Armored Colossus"|NUMBER=1|FACTION=ALIEN|AIR_SPAWN=0|CONSTRICTED=CLEAR|TU=RESTORE|PARTICLE=Dimensional_Teleport|SOUND=EVEN_COLOSSUS_GROWL	DEFAULT	DEFAULT	"@ [name] appears."
Stop_Guarding		-			ENT_NEW_TURN	E_FACTION_RANGE(XCOM)<=10|RANDOM<=33|COUNT==0			-														-	-	-																	SWITCH_FACTION	-							FACTION=POLICE|SWITCH%=100|DURATION=0|TU=RESTORE														-	-	-
+																																																	SWITCH_FACTION	-							FACTION=ALIEN|SWITCH%=100|DURATION=0|TU=RESTORE														-	-	-
Stop_Guarding2		-			ENT_NEW_TURN	RANDOM<=10|COUNT==0						-														-	-	-																	SWITCH_FACTION	-							FACTION=POLICE|SWITCH%=100|DURATION=0|TU=RESTORE														-	-	-
+																																																	SWITCH_FACTION	-							FACTION=ALIEN|SWITCH%=100|DURATION=0|TU=RESTORE														-	-	-
Stop_Guarding3		-			ENT_NEW_TURN	[RANDOM<=10|E_FACTION_RANGE(XCOM)<=10]|COUNT==0			-														-	-	-																	SWITCH_FACTION	-							FACTION=POLICE|SWITCH%=100|DURATION=0|TU=RESTORE														-	-	-
+																																																	SWITCH_FACTION	-							FACTION=ALIEN|SWITCH%=100|DURATION=0|TU=RESTORE														-	-	-