
[Action] ID=combatReady_act; 
	icon=iconP_Wa_combatready;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=combatReady_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=combatReady_act; 
	actorValue=morale;
	harmful=false;
	magnitude=1;
	duration=80;
	chance=100;
	FXOnTile=sparkle;
[AvAffecterAoE]
	ID=combatReady_act;
	cloneFrom=oneTile;
	
[Action] ID=alertness_act; 
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=alertness_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=alertness_act; 
	actorValue=actTimer;
	harmful=false;
	magnitude=3;
	duration=-2;
	chance=100;
	FXOnTile=upwardLines_quick;
	FXOnTile=risingBip;
[AvAffecterAoE]
	ID=alertness_act;
	cloneFrom=oneTile;

[Action] ID=battleCaster_act; 
	icon=iconP_En_battleCaster;
	harmful=false;
[ActionAoE] 
	ID=battleCaster_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=battleCaster_act; 
	visibleEvaluations=false;
	actorValue=PhysEva;
	harmful=false;
	magnitude=35;
	duration=tDur:casting + tDur:charging;
	chance=100;
[AvAffecterAoE]
	ID=battleCaster_act;
	cloneFrom=oneTile;

	
[Action] ID=doubleReload_act; 
	harmful=false;
	FXOnTarget=delay;
	FXOnTarget=delay;
	FXOnTarget=delay;
[ActionAoE] 
	ID=doubleReload_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=doubleReload_act; 
	harmful=false;
	magnitude=0;
	duration=-2;
	chance=100;
	element=reload;
[AvAffecterAoE]
	ID=doubleReload_act;
	cloneFrom=oneTile;


[Action] ID=reckless_act; 
	icon=iconP_Bra_reckless;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=reckless_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=reckless_act; 
	actorValue=PhysAtk;
	visibleMiss=false;
	harmful=false;
	magnitude=5;
	duration=-4;
	chance=100;
	FXOnTile=sparkle;
[AvAffecterAoE]
	ID=reckless_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=reckless_act; 
	actorValue=PhysDef;
	visibleMiss=false;
	harmful=false;
	magnitude=-2;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=reckless_act;
	cloneFrom=oneTile;
	

[Action] ID=defensive_act; 
	icon=iconP_Gu_defensive;
	harmful=false;
[ActionAoE] 
	ID=defensive_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=defensive_act; 
	actorValue=PhysDef;
	visibleEvaluations=true;
	harmful=false;
	magnitude=2;
	duration=-3;
	chance=100;
[AvAffecterAoE]
	ID=defensive_act;
	cloneFrom=oneTile;
	
[Action] ID=meditative_act; 
	icon=iconP_Sch_meditative;
	harmful=false;
[ActionAoE] 
	ID=meditative_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=meditative_act; 
	actorValue=MagDef;
	visibleEvaluations=true;
	harmful=false;
	magnitude=2;
	duration=-3;
	chance=100;
[AvAffecterAoE]
	ID=meditative_act;
	cloneFrom=oneTile;
	
[Action] ID=criticalSpeed_act; 
	icon=iconP_Sc_criticalSpeed;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=criticalSpeed_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalSpeed_act; 
	actorValue=moveDistance;
	visibleEvaluations=false;
	harmful=false;
	magnitude=2;
	duration=-4;
	chance=100 * m:cCritical;
[AvAffecterAoE]
	ID=criticalSpeed_act;
	cloneFrom=oneTile;
	
	
[Action] ID=teacher_act; 
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=teacher_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=teacher_act; 
	actorValue=MP;
	harmful=false;
	magnitude=3;
	duration=-2;
	chance=100;
	FXOnHit=casting;
	FXOnHitColor=Purple;
	FXOnHit=sfx_highAura;
[AvAffecterAoE]
	ID=teacher_act;
	cloneFrom=adjacent;
	canSelectEnemies=false;
	
[Action] ID=thousandFists_act; 
	requiredWeaponElement=fist;
	checkOffhandRequirement=true;
[ActionAoE]
	ID=thousandFists_act;
	cloneFrom=oneTile;
	maxRange=1;
[AvAffecter]
	ID=thousandFists_act; 
	actorValue=HP;
	magnitude=d:fistDmg_offhand * 0.4;
	chance=w2:chance;
	duration=-2;
	element=physical;
	element=melee;
	element=smash;
	FXOnTile=delay;
	FXOnTile=pop;
[AvAffecterAoE]
	ID=thousandFists_act;
	cloneFrom=oneTile;
	
[Action] ID=shieldBash_act; 
	requiredWeaponElement=shield;
	checkOffhandRequirement=true;
[ActionAoE] 
	ID=shieldBash_act;
	cloneFrom=oneTile;
	maxRange=1;
[AvAffecter]
	ID=shieldBash_act;
	visibleEvaluations=false;	
	actorValue=push;
	magnitude=1;
	chance=w2:chance;
	duration=-2;
	FXOnTile=delay;
	FXOnHit=popSilent;
	FXOnMiss=popSilent;
	FXOnHit=sfx_shieldHit;
[AvAffecterAoE]
	ID=shieldBash_act;
	cloneFrom=oneTile;

	
	
[Action] ID=autoHide_act; 
	icon=iconP_Ro_autoHide;
	harmful=false;
	casterAnimation=charge;
	
	FXOnCaster=sidewardLines;
	FXOnCasterColor=Gray;
	FXOnCaster=upwardLines;
	FXOnCasterColor=Gray;
	FXOnCaster=downwardLines;
	FXOnCasterColor=Gray;
	FXOnCaster=smokeCloud;
	FXOnCaster=Thwummm;
	
	FXOnTarget=smokeCloud;
	FXOnTarget=Thwummm;
[ActionAoE] 
	ID=autoHide_act; 
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=autoHide_act; 
	harmful=false;
	visibleEvaluations=false;
	actorValue=invisible;
	magnitude=1;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=autoHide_act; 
	cloneFrom=oneTile;
	
[Action] ID=ricochet_act; 
	requiredWeaponElement=ranged;
[ActionAoE] 
	ID=ricochet_act;
	cloneFrom=oneTile;
	maxRange=12;
[AvAffecter]
	ID=ricochet_act; 
	actorValue=HP;
	magnitude=w:magnitude * 0.3;
	chance=w:chance * 0.7;
	duration=-2;
	element=physical;
	element=ranged;
	FXOnTile=hitDustQuiet_small;
[AvAffecterAoE]
	ID=ricochet_act;
	cloneFrom=adjacent;
	canSelectAllies=false;
	
[Action] ID=ricochet_any_act; 
[ActionAoE] 
	ID=ricochet_any_act;
	cloneFrom=oneTile;
	maxRange=12;
[AvAffecter]
	ID=ricochet_any_act; 
	actorValue=HP;
	magnitude=w:magnitude * 0.3;
	chance=w:chance * 0.5;
	duration=-2;
	element=physical;
	element=ranged;
	FXOnTile=hitDustQuiet_small;
[AvAffecterAoE]
	ID=ricochet_any_act;
	cloneFrom=adjacent;
	canSelectAllies=false;
	
[Action] ID=warplash_act; 
	requiredWeaponElement=melee;
[ActionAoE] 
	ID=warplash_act;
	cloneFrom=oneTile;
	maxRange=12;
[AvAffecter]
	ID=warplash_act; 
	actorValue=HP;
	magnitude=w:magnitude * 0.2;
	chance=w:chance * 0.8;
	duration=-2;
	element=physical;
	element=melee;
	FXOnTile=hitDustQuiet_small;
[AvAffecterAoE]
	ID=warplash_act;
	cloneFrom=adjacent;
	canSelectAllies=false;
	
	
[Action] ID=greenTouch_act; 
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=greenTouch_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=greenTouch_act; 
	actorValue=HP;
	harmful=false;
	magnitude=3;
	duration=-2;
	chance=100;
	element=magic;
	element=life;
	element=growth;
	FXOnHit=casting;
	FXOnHitColor=Green;
	FXOnHit=sfx_highAura;
[AvAffecterAoE]
	ID=greenTouch_act;
	cloneFrom=adjacent;
	canSelectEnemies=false;
[AvAffecter]
	ID=greenTouch_act; 
	element=growth;
[AvAffecterAoE]
	ID=greenTouch_act;
	cloneFrom=oneTile;
	canSelectEnemies=false;
	
	
[Action] ID=criticalRecovery_act; 
	harmful=false;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=criticalRecovery_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalRecovery_act; 
	actorValue=HP;
	visibleMiss=false;
	harmful=false;
	element=life;
	magnitude=c:HPMax / 4;
	duration=-2;
	chance=100 * m:cCritical - 100 * m:incapped;
	FXOnHit=sparkles;
	FXOnHitColor=DeepPink;
	FXOnHit=briefAuraSound;
[AvAffecterAoE]
	ID=criticalRecovery_act;
	cloneFrom=oneTile;
	

[Action] ID=criticalFocus_act; 
	harmful=false;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=criticalFocus_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalFocus_act; 
	actorValue=MP;
	visibleMiss=false;
	harmful=false;
	magnitude=c:MPMax / 2;
	duration=-2;
	chance=100 * m:cCritical - 100 * m:incapped;
	FXOnHit=sparkles;
	FXOnHitColor=Purple;
	FXOnHit=bipFlutter;
[AvAffecterAoE]
	ID=criticalFocus_act;
	cloneFrom=oneTile;

[Action] ID=escapeGate_act; 
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=escapeGate_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=escapeGate_act; 
	actorValue=;
	visibleMiss=false;
	harmful=false;
	magnitude=1;
	duration=-2;
	chance=100;
	FXOnHit=sfx_highestHum;
	FXOnHit=horizSpark_many_wideArea;
	FXOnHit=gateClose_fast;
[AvAffecterAoE]
	ID=escapeGate_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=escapeGate_act; 
	actorValue=removeActor;
	visibleMiss=false;
	harmful=false;
	magnitude=1;
	duration=-2;
	chance=100;
[AvAffecterAoE]
	ID=escapeGate_act;
	cloneFrom=oneTile;
	
	
[Action] ID=criticalEscapeGate_act; 
	harmful=false;
[ActionAoE] 
	ID=criticalEscapeGate_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalEscapeGate_act; 
	actorValue=;
	visibleMiss=false;
	harmful=false;
	magnitude=0;
	duration=-2;
	chance=100 * m:cCritical;
	FXOnHit=sfx_highestHum;
	FXOnHit=horizSpark_many_wideArea;
	FXOnHit=gateClose_fast;
[AvAffecterAoE]
	ID=criticalEscapeGate_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=criticalEscapeGate_act; 
	actorValue=removeActor;
	visibleMiss=false;
	harmful=false;
	magnitude=1;
	duration=-2;
	chance=100 * m:cCritical;
[AvAffecterAoE]
	ID=criticalEscapeGate_act;
	cloneFrom=oneTile;
	
[Action] ID=criticalEscapeGate_ruluorn_act; 
	casterAnimation=r_gate;
	harmful=false;
[ActionAoE] 
	ID=criticalEscapeGate_ruluorn_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalEscapeGate_ruluorn_act; 
	actorValue=;
	visibleMiss=false;
	harmful=false;
	magnitude=0;
	duration=-2;
	chance=100 * m:cCritical;
	FXOnHit=sfx_highestHum;
	FXOnHit=horizSpark_many_wideArea;
	FXOnHit=gateClose_fast;
[AvAffecterAoE]
	ID=criticalEscapeGate_ruluorn_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=criticalEscapeGate_ruluorn_act; 
	actorValue=removeActor;
	visibleMiss=false;
	harmful=false;
	magnitude=1;
	duration=-2;
	chance=100 * m:cCritical;
[AvAffecterAoE]
	ID=criticalEscapeGate_ruluorn_act;
	cloneFrom=oneTile;

[Action] ID=geomancy_act;
	icon=iconP_So_geomancy;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=geomancy_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=geomancy_act; 
	actorValue=skill_Fire;
	harmful=false;
	magnitude=geo:fire;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=geomancy_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=geomancy_act; 
	actorValue=skill_Ice;
	harmful=false;
	magnitude=geo:water * 0.8 + geo:ice * 0.8;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=geomancy_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=geomancy_act; 
	actorValue=skill_Elec;
	harmful=false;
	magnitude=geo:lightning;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=geomancy_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=geomancy_act; 
	actorValue=skill_Wind;
	harmful=false;
	magnitude=geo:wind;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=geomancy_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=geomancy_act; 
	actorValue=skill_Life;
	harmful=false;
	magnitude=geo:life * 0.8;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=geomancy_act;
	cloneFrom=oneTile;
	
	
[Action] ID=dualstrike_act; 
	requiredWeaponElement=dagger;
	checkOffhandRequirement=true;
[ActionAoE] 
	ID=dualstrike_act;
	cloneFrom=oneTile;
	maxRange=1;
[AvAffecter]
	ID=dualstrike_act; 
	actorValue=HP;
	magnitude=d:daggerDmg_offhand * 0.4;
	chance=w2:chance;
	duration=-2;
	element=physical;
	element=melee;
	element=slash;
	FXOnTile=delay;
	FXOnTile=cut2;
[AvAffecterAoE]
	ID=dualstrike_act;
	cloneFrom=oneTile;

[Action] ID=tempest_act;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn; 
[ActionAoE] 
	ID=tempest_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=tempest_act; 
	actorValue=HP;
	magnitude=w:magnitude * 0.2;
	chance=w:chance * 0.9;
	duration=-2;
	element=slash;
	FXOnTile=tempestAura;
	FXOnHit=slash;
	FXOnHit=whirlSlash_big;
	FXOnMiss=slash;
	FXOnMiss=whirlSlash_big;
[AvAffecterAoE]
	ID=tempest_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
	

[Action] ID=windAura_act; 
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=windAura_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=windAura_act; 
	actorValue=push;
	magnitude=1;
	chance=100;
	duration=-2;
	element=wind;
	FXOnTile=tempestAura;
	FXOnHit=slash;
	FXOnHit=whirlSlash_big;
	FXOnHit=woosh;
	FXOnMiss=slash;
	FXOnMiss=whirlSlash_big;
	FXOnMiss=woosh;
[AvAffecterAoE]
	ID=windAura_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
	
[Action] ID=stunningBlow_act; 
	requiredWeaponElement=smash;
[ActionAoE] 
	ID=stunningBlow_act;
	cloneFrom=oneTile;
	maxRange=2;
[AvAffecter]
	ID=stunningBlow_act; 
	actorValue=stun;
	magnitude=1;
	chance=w:chance;
	duration=2;
	element=physical;
	element=melee;
[AvAffecterAoE]
	ID=stunningBlow_act;
	cloneFrom=oneTile;
	
[Action] ID=criticalPreserve_act; 
	icon=iconP_Ba_criticalPreserve;
	harmful=false;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=criticalPreserve_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalPreserve_act; 
	harmful=false;
	visibleMiss=false;
	actorValue=preserve;
	magnitude=1;
	chance=100 * m:cCritical - 100 * m:incapped - 100 * c:preserve;
	duration=300;
	element=life;
	FXOnHit=largePing;
	FXOnHitColor=Pink;
	FXOnHit=sfx_highestAura;
[AvAffecterAoE]
	ID=criticalPreserve_act;
	cloneFrom=oneTile;


[Action] ID=criticalDestroy_act; 
	name=Destroy;
	icon=icon_De_destroy;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=criticalDestroy_act; 
	needsLoS = true;
	needsLoE = false;
	minRange = 1;
	maxRange = 3;
	maxRangeBonus = c:De_destroy;
	airborne=true;
	arc=true;
	bypassAll=true;
	occupyAll=true;
	canSelectAllies=false;
[AvAffecter]
	ID=criticalDestroy_act; 
	actorValue=HP;
	visibleMiss=false;
	magnitude= -10;
	duration=-2;
	chance=100 * m:tIsHP10OrLess * m:cCritical - 100 * m:incapped;
	FXOnHit=screenShock_instant;
	FXOnHit=sfx_laser_blast_high;
	FXOnHit=timeStop2;
[AvAffecterAoE]
	ID=criticalDestroy_act;
	aoeCasterAsOrigin=true;
	canSelectAllies=false;
	

[Action] ID=criticalGShield_act; 
	harmful=false;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=criticalGShield_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=criticalGShield_act; 
	actorValue=gateShield;
	visibleEvaluations=false;
	harmful=false;
	magnitude=1;
	duration=50;
	chance=100 * m:cCritical;
[AvAffecterAoE]
	ID=criticalGShield_act;
	cloneFrom=oneTile;
	
	
	
[Action] ID=necromancy_act; 
	icon=iconP_Un_necromancy;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=necromancy_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=necromancy_act; 
	actorValue=skill_Ruin;
	harmful=false;
	magnitude=geo:ruin;
	duration=-4;
	chance=100;
[AvAffecterAoE]
	ID=necromancy_act;
	cloneFrom=oneTile;
	

[Action] ID=ruinAura_act; 
	FXOnTarget=sfx_lowMurmur;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=ruinAura_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=ruinAura_act; 
	actorValue=HP;
	magnitude=d:ruinDmg(2);
	chance=d:magicAcc;
	duration=-2;
	element=magic;
	element=ruin;
	FXOnTile=upwardLines_many;
	FXOnTileColor=Purple;
	FXOnTile=ruinAura;
	FXOnHit=upwardLines;
	FXOnHitColor=Purple;
	FXOnHit=sfx_midMurmur;
	FXOnMiss=upwardLines;
	FXOnMissColor=Purple;
	FXOnMiss=sfx_midMurmur;
[AvAffecterAoE]
	ID=ruinAura_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
	
[Action] ID=guideEssence_act; 
harmful=false;
[ActionAoE] 
	ID=guideEssence_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=guideEssence_act; 
	harmful=false;
	visibleEvaluations=false;
	actorValue=skill_Fire;
	magnitude=1;
	chance=100 * t:fireWpn;
	duration=-4;
	element=magic;
	FXOnHit=upwardLines_quick;
	FXOnHitColor=Red;
	FXOnHit=bipFlutter;
[AvAffecterAoE]
	ID=guideEssence_act;
	canSelectEnemies=false;
	cloneFrom=adjacent+2;
[AvAffecter]
	ID=guideEssence_act; 
	harmful=false;
	visibleEvaluations=false;
	actorValue=skill_Ice;
	magnitude=1;
	chance=100 * t:iceWpn;
	duration=-4;
	element=magic;
	FXOnHit=upwardLines_quick;
	FXOnHitColor=Blue;
	FXOnHit=bipFlutter;
[AvAffecterAoE]
	ID=guideEssence_act;
	canSelectEnemies=false;
	cloneFrom=adjacent+2;
[AvAffecter]
	ID=guideEssence_act; 
	harmful=false;
	visibleEvaluations=false;
	actorValue=skill_Elec;
	magnitude=1;
	chance=100 * t:elecWpn;
	duration=-4;
	element=magic;
	FXOnHit=upwardLines_quick;
	FXOnHitColor=Yellow;
	FXOnHit=bipFlutter;
[AvAffecterAoE]
	ID=guideEssence_act;
	canSelectEnemies=false;
	cloneFrom=adjacent+2;
	
	
	
[Action] ID=residue_act; 
	harmful=false;
	requiredWeaponElement=ranged;
[ActionAoE] 
	ID=residue_act;
	cloneFrom=oneTile;
	maxRange=12;
[AvAffecter]
	ID=residue_act; 
	actorValue=MP;
	harmful=false;
	magnitude=3;
	duration=-2;
	chance=100;
	FXOnHit=casting;
	FXOnHitColor=Purple;
	FXOnHit=sfx_highAura;
[AvAffecterAoE]
	ID=residue_act;
	cloneFrom=adjacent;
	canSelectEnemies=false;
	
[Action] ID=absorbMagic_act; 
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=absorbMagic_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=absorbMagic_act; 
	actorValue=MP;
	harmful=false;
	magnitude=m:tLastDmgTaken / 2;
	duration=-2;
	chance=100;
	FXOnHit=casting;
	FXOnHitColor=Purple;
[AvAffecterAoE]
	ID=absorbMagic_act;
	cloneFrom=oneTile;
	
[Action] ID=distractingPresence_act; 
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=distractingPresence_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=distractingPresence_act; 
	actorValue=rotate;
	magnitude=90 + m:rand * 180;
	chance=100 - 100 * m:incapped;
	duration=-2;
	FXOnTile=distractingAura;
	FXOnHit=whirlSlash;
	FXOnHit=sfx_tweep;
[AvAffecterAoE]
	ID=distractingPresence_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
	
	
	
[Action] ID=essenceFlow_act; 
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=essenceFlow_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=essenceFlow_act; 
	actorValue=MP;
	harmful=false;
	visibleMiss = false;
	magnitude=c:MPMax * m:cIsMP(1) - m:rand(5) * m:cIsMP(1);
	duration=-2;
	chance=100 * m:cIsMP(1);
	FXOnHit=ping;
	FXOnHitColor=Purple;
	FXOnHit=sparkles;
	FXOnHitColor=Purple;
	FXOnHit=bipFlutter;
[AvAffecterAoE]
	ID=essenceFlow_act;
	cloneFrom=oneTile;

[Action] ID=counter_act; 
	icon=iconP_Wa_counter;
	
	requiredWeaponElement=melee;
	casterAnimation=weapon;
	casterAnimationSpeed=1.2;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=counter_act; shape=10; 
	canSelectAllies=false;
[AvAffecter]
	ID=counter_act; 
	weaponAvAffecter=true;
	magnitude=w:magnitude;
	chance=w:chance * 0.9;
	duration=-2;
[AvAffecterAoE]
	ID=counter_act; shape=11;
	

[Action] ID=counterFrenzy_act; 
	icon=iconP_Wa_counter;
	
	requiredWeaponElement=melee;
	casterAnimation=spinAttack;
	casterAnimationSpeed=2;
	applyWeaponBuffs=true;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
[ActionAoE] 
	ID=counterFrenzy_act; 
	cloneFrom=adjacent;
[AvAffecter]
	ID=counterFrenzy_act; 
	weaponAvAffecter=true;
	magnitude=w:magnitude * 0.8;
	chance=w:chance * 0.9;
	duration=-2;
	FXOnTile=whirlSlash_overlap;
[AvAffecterAoE]
	ID=counterFrenzy_act;
	cloneFrom=adjacent;
	aoeCasterAsOrigin=true;
	

[Action] ID=counterShot_act; 
	icon=iconP_Sha_counterShot;
	
	requiredWeaponElement=ranged;
	casterAnimation=weapon;
	casterAnimationSpeed=1.2;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=counterShot_act; shape=10; 
	canSelectAllies=false;
[AvAffecter]
	ID=counterShot_act; 
	weaponAvAffecter=true;
	magnitude=w:magnitude;
	chance=w:chance * 0.92;
	duration=-2;
[AvAffecterAoE]
	ID=counterShot_act; shape=11;
	

[Action] ID=counterShot_any_act; 
	icon=iconP_Sha_counterShot;
	
	casterAnimation=weapon;
	casterAnimationSpeed=1.2;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=counterShot_any_act; shape=10; 
	canSelectAllies=false;
[AvAffecter]
	ID=counterShot_any_act; 
	weaponAvAffecter=true;
	magnitude=w:magnitude;
	chance=w:chance * 0.92;
	duration=-2;
[AvAffecterAoE]
	ID=counterShot_any_act; shape=11;
	


[Action] ID=counterLookAt_act; 
	casterAnimation=s_01loop;
	casterAnimationSpeed=2;
	harmful=false;
	
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=lookAtAttacker;
[ActionAoE] 
	ID=counterLookAt_act; 
	cloneFrom=adjacent;
	maxRange=15;
[AvAffecter]
	ID=counterLookAt_act; 
	harmful=false;
	magnitude=0;
	chance=100;
	duration=-2;
[AvAffecterAoE]
	ID=counterLookAt_act;
	cloneFrom=oneTile;
	

[Action] ID=counterLookAway_turtle_act; 
	casterAnimation=turtle_turnAround;
	harmful=false;
	
	special=usableEvenWhenCantAct;
	special=lookAwayFromAttacker;
[ActionAoE] 
	ID=counterLookAway_turtle_act; 
	cloneFrom=oneTile;
[AvAffecter]
	ID=counterLookAway_turtle_act; 
	harmful=false;
	magnitude=0;
	chance=0;
	duration=-2;
[AvAffecterAoE]
	ID=counterLookAway_turtle_act;
	cloneFrom=oneTile;
	

[Action] ID=counterThrow_act; 
	name=Counter Throw;
	icon=iconP_Bra_counterThrow;
	tooltip=Throw your weapon! Damage and range are affected by the weapon's weight & power. It lands at the target's feet and can be picked up afterward.;
	tooltipIcons=<icon=noRanged>;
	
	special=throwWeapon;
	
	casterAnimation=throw;
	casterAnimationDependsOnWeaponHand=true;
	casterAnimationSpeed=1.2;
	requiredWeaponElement=melee;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
	FXOnTarget=weaponThrowFX;
[ActionAoE] 
	ID=counterThrow_act; 
	needsLoS = true;
	needsLoE = true;
	minRange = 1;
	maxRange = 3;
	maxRangeBonus = c:Bra_throwWeapon - w:throwRangePenalty;
	airborne=true;
	bypassAll=true;
	occupyAll=true;
	canSelectAllies=false;
[AvAffecter]
	ID=counterThrow_act; 
	actorValue=HP;
	magnitude=w:magnitude - w:weight;
	chance=d:fistAcc - w:weight * 2;
	duration=-2;
	FXOnTile=weaponThrowFX;
	FXOnTile=swing2;
	FXOnHit=manySplatter;
	FXOnHit=sfx_slashingHit;
[AvAffecterAoE]
	ID=counterThrow_act; 
	cloneFrom=oneTile;
[AvAffecter]
	ID=counterThrow_act; 
	actorValue=summonItem;
	magnitude=throwWeapon;
	duration=1;
[AvAffecterAoE]
	ID=counterThrow_act;
	cloneFrom=oneTile;
	
[Action] ID=counterBreak_act; 
	name=Counter Break;
	icon=iconP_Br_counterBreak;
	tooltip=Break enemy's weapon, reducing its attack power to 1.;
	rankUpTooltip=Each rank increases accuracy by 5%.;
	tooltipIcons=<icon=bluntWeapons>Only;
	
	casterAnimation=weapon;
	casterAnimationSpeed=0.9;
	
	requiredWeaponElement=smash;
	
	FXOnCaster=counter;
	FXOnCasterColor=White;
	FXOnCaster=actor_counter;
	FXOnCasterColor=White;
	FXOnCaster=sfx_magicCharge;
	FXOnCasterColor=Red;
	FXOnCaster=sfx_risingSwishHigh;
	FXOnCasterColor=Red;
	FXOnCaster=redden_tiny;
	FXOnCasterColor=Red;
	FXOnCaster=charge;
	FXOnCasterColor=Red;
	FXOnCaster=chargeSpiralFast_big;
	FXOnCasterColor=Red;
	FXOnCaster=chargeSpiralFast_big;
	FXOnCasterColor=Red;
[ActionAoE] 
	ID=counterBreak_act; shape=10; 
	canSelectAllies=false;
[AvAffecter]
	ID=counterBreak_act; 
	actorValue=breakWeapon;
	magnitude=1;
	chance=w:chance * 0.35 * m:tBreakableWeapon + w:chance * c:Br_breakWeapon * 0.05 * m:tBreakableWeapon;
	duration=-2;
	
	FXOnTile=chargeFast;
	FXOnTileColor=Red;
	FXOnTile=strike;
	FXOnTileColor=Red;
	FXOnHit=whiteExplosion;
	FXOnHit=ThudShotBigger;
	FXOnHit=sfx_lowIceSnap;
	FXOnHit=tinyShakeHoriz;
	FXOnMiss=woosh;
[AvAffecterAoE]
	ID=counterBreak_act;
	cloneFrom=oneTile;
	
	
[Action] ID=counterEnchant_fire_act; 
	name=Counter Enchant;
	icon=icon_En_fireWpn;
	harmful=false;
	
	casterAnimation=handsup;
	casterAnimationSpeed=1.4;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
[ActionAoE] 
	ID=counterEnchant_fire_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=counterEnchant_fire_act; 
	harmful=false;
	actorValue=fireWpn;
	magnitude=1;
	duration=50 + c:En_fireWpn * 50 + c:skill_Fire * 10;
	chance=100;
	element=magic;
	
	FXOnHit=sfx_schwee;
	FXOnHit=skill_Fire;
	FXOnHit=fireburst;
	FXOnHit=fireWhirlEmbers;
[AvAffecterAoE]
	ID=counterEnchant_fire_act;
	cloneFrom=oneTile;
	

[Action] ID=counterEnchant_ice_act; 
	name=Counter Enchant;
	icon=icon_En_iceWpn;
	harmful=false;
	
	casterAnimation=handsup;
	casterAnimationSpeed=1.4;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
[ActionAoE] 
	ID=counterEnchant_ice_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=counterEnchant_ice_act; 
	harmful=false;
	actorValue=iceWpn;
	magnitude=1;
	duration=50 + c:En_iceWpn * 50 + c:skill_Ice * 10;
	chance=100;
	element=magic;
	
	FXOnHit=sfx_schwee;
	FXOnHit=skill_Ice;
	FXOnHit=iceExplosion;
	FXOnHit=sfx_iceSnap;
	FXOnHit=chilledFX;
[AvAffecterAoE]
	ID=counterEnchant_ice_act;
	cloneFrom=oneTile;
	

[Action] ID=counterEnchant_elec_act; 
	name=Counter Enchant;
	icon=icon_En_elecWpn;
	harmful=false;
	
	casterAnimation=handsup;
	casterAnimationSpeed=1.4;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
[ActionAoE] 
	ID=counterEnchant_elec_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=counterEnchant_elec_act; 
	harmful=false;
	actorValue=elecWpn;
	magnitude=1;
	duration=50 + c:En_elecWpn * 50 + c:skill_Elec * 10;
	chance=100;
	element=magic;
	
	FXOnHit=sfx_schwee;
	FXOnHitColor=White;
	FXOnHit=skill_Elec;
	FXOnHitColor=White;
	FXOnHit=sparkUp;
	FXOnHitColor=Yellow;
	FXOnHit=shortBolt;
[AvAffecterAoE]
	ID=counterEnchant_elec_act;
	cloneFrom=oneTile;
	

[Action] ID=lifeMirror_act; 

	casterAnimation=charge2;
	casterAnimationSpeed=1.3;

	FXOnCaster=counter;
	FXOnCasterColor=White;
	FXOnCaster=actor_counter;
	FXOnCasterColor=White;
	FXOnCaster=delay_small;
	FXOnCasterColor=White;
	FXOnCaster=shieldFade;
	FXOnCasterColor=Yellow;
[ActionAoE] 
	ID=lifeMirror_act;
	cloneFrom=oneTile;
	maxRange=12;
	canSelectAllies=false;
[AvAffecter]
	ID=lifeMirror_act; 
	actorValue=HP;
	magnitude=dMax0:lifeMirrorAmt;
	duration=-2;
	chance=100;
	element=magic;
	element=life;
	FXOnHit=casting;
	FXOnHitColor=Purple;
	FXOnHit=shieldFade_moving;
	FXOnHitColor=Purple;
[AvAffecterAoE]
	ID=lifeMirror_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=lifeMirror_act; 
	actorValue=HP;
	harmful=false;
	magnitude=m:cLastDmgTakenVsHalfLifeSkill;
	duration=-2;
	chance=100;
	element=life;
[AvAffecterAoE]
	ID=lifeMirror_act;
	aoeCasterAsOrigin=true;
	cloneFrom=oneTile;
	canSelectAllies=true;
	
[Action] ID=activeArms_act; 
	harmful=false;
	requiredWeaponElement=ranged;
[ActionAoE] 
	ID=activeArms_act;
	cloneFrom=oneTile;
	maxRange=12;
[AvAffecter]
	ID=activeArms_act; 
	harmful=false;
	chance=100;
	FXOnTile=casting_noOverlap;
	FXOnTileColor=Turquoise;
	element=focus;
[AvAffecterAoE]
	ID=activeArms_act;
	cloneFrom=adjacentAndSelf;
	arc=true;
	airborne=true;
	canSelectEnemies=false;
	
	
[Action] ID=purifire_act; 	
	icon=iconP_iK_purifire;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=purifire_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=purifire_act; 
	actorValue=cure_exceptBurn;
	visibleEvaluations=true;
	visibleMiss=false;
	harmful=false;
	magnitude=1;
	duration=-2;
	chance=100;
[AvAffecterAoE]
	ID=purifire_act;
	cloneFrom=oneTile;
	
[Action] ID=firewall_act;
	icon=iconP_iK_firewall;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=firewall_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=firewall_act; 
	actorValue=PhysDef;
	harmful=false;
	magnitude=geo1:fire;
	duration=-3;
	chance=100;
[AvAffecterAoE]
	ID=firewall_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=firewall_act; 
	actorValue=MagDef;
	harmful=false;
	magnitude=geo1:fire;
	duration=-3;
	chance=100;
[AvAffecterAoE]
	ID=firewall_act;
	cloneFrom=oneTile;
	
[Action] ID=sacrifice_act; 	
	icon=iconP_De_sacrifice;
	harmful=false;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=sacrifice_act;
	cloneFrom=oneTile;
	canSelectStackedActors=false;
[AvAffecter]
	ID=sacrifice_act; 
	actorValue=MagAtk;
	visibleEvaluations=true;
	visibleMiss=false;
	harmful=false;
	magnitude=4;
	duration=-3;
	chance=100 * c:blind;
[AvAffecterAoE]
	ID=sacrifice_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=sacrifice_act; 
	actorValue=PhysAtk;
	visibleEvaluations=true;
	visibleMiss=false;
	harmful=false;
	magnitude=4;
	duration=-3;
	chance=100 * c:silence;
[AvAffecterAoE]
	ID=sacrifice_act;
	cloneFrom=oneTile;
	

[Action] ID=absorbAura_act; 
	FXOnTarget=sfx_lowMurmur;
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=absorbAura_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=absorbAura_act; 
	actorValue=MP;
	magnitude=-2;
	chance=100;
	duration=-2;
	element=magic;
	element=ruin;
	FXOnHit=upwardLines;
	FXOnHitColor=Purple;
	FXOnHit=sfx_midMurmur;
[AvAffecterAoE]
	ID=absorbAura_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
[AvAffecter]
	ID=absorbAura_act; 
	actorValue=MP;
	harmful=false;
	magnitude=m:numEnemiesWithin1 * 2;
	chance=100;
	duration=-2;
[AvAffecterAoE]
	ID=absorbAura_act;
	cloneFrom=oneTile;
	
[Action] ID=everswarm_act; 
	special=usableEvenWhenCantAct;
	special=usableEvenWhenReacting;
	special=usableEvenWhenYourTurn;
[ActionAoE] 
	ID=everswarm_act;
	cloneFrom=oneTile; 
[AvAffecter]
	ID=everswarm_act; 
	actorValue=HP;
	magnitude=-1;
	chance=100;
	duration=-2;
	FXOnTile=batling_diagonal;
	FXOnHit=cut90_delay;
	element=everswarm;
[AvAffecterAoE]
	ID=everswarm_act; shape=7;
	needsLoS=false;
	needsLoE=false;
	arc=true;
	airborne=true;
	occupyAll=true;
	bypassAll=true;
	canSelectAllies=false;
	minRange=1;
	maxRange=22;
	

[Action] ID=tamer_act; 
[ActionAoE] 
	ID=tamer_act;
	cloneFrom=oneTile;
	maxRange=12;
[AvAffecter]
	ID=tamer_act; 
	visibleEvaluations=false;
	visibleMiss=false;
	actorValue=tameActor;
	magnitude=1;
	chance=100 * m:tCritical * m:tTameable;
	duration=-2;
	FXOnTile=delay;
	FXOnHit=ping;
	FXOnHit=sfx_boodle;
[AvAffecterAoE]
	ID=tamer_act;
	cloneFrom=oneTile;
	canSelectAllies=false;
	
	

[Action] ID=setaeAura_act; 
	FXOnTarget=pixelBurst;
	FXOnTargetColor=Black;
	FXOnTarget=rustle;
[ActionAoE] 
	ID=setaeAura_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=setaeAura_act; 
	actorValue=HP;
	magnitude=-2;
	chance=d:magicAcc;
	duration=-2;
	FXOnHit=upwardLines_many;
	FXOnHitColor=Black;
[AvAffecterAoE]
	ID=setaeAura_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
[AvAffecter]
	ID=setaeAura_act; 
	actorValue=itchy;
	magnitude=1;
	chance=d:magicAcc;
	duration=50;
[AvAffecterAoE]
	ID=setaeAura_act;
	canSelectAllies=false;
	cloneFrom=adjacent;
	
[Action] ID=sogbog_counterVomit_act; 
	casterAnimation=s_simpleAttack;
	casterAnimationSpeed=1.2;
	
	FXOnCaster=gruntygrowl;
	
	FXOnCaster=counter;
	FXOnCaster=actor_counter;
	FXOnCaster=sfx_magicCharge;
[ActionAoE] 
	ID=sogbog_counterVomit_act;
	cloneFrom=adjacent;
	maxRange=5;
[AvAffecter]
	ID=sogbog_counterVomit_act; 
	actorValue=HP;
	magnitude=d:fistDmg * 0.4;
	duration=-2;
	chance=d:fistAcc;
	element=physical;
	element=acid;
	FXOnTile=acidShot;
[AvAffecterAoE]
	ID=sogbog_counterVomit_act;
	cloneFrom=oneTile;
[AvAffecter]
	ID=sogbog_counterVomit_act; 
	visibleEvaluations=false;
	actorValue=summonItem;
	magnitude=goop_pool;
	duration=1 + m:rand(2);
	chance=100;
	FXOnTile=terrain;
	FXOnTile=WetSquish;
[AvAffecterAoE]
	ID=sogbog_counterVomit_act;
	cloneFrom=oneTile;
	
	
	