
[Action] ID=Gu_mightyBlock; 
	name=Mighty Block;
	icon=icon_Gu_mightyBlock;
	tooltip=Make an ally nearly invulnerable to physical attacks until the start of their turn.;
	rankUpTooltip=;
	harmful=false;
	attractAttention=false;
	mpCost=2;
	
	XPCost=80;
	
	casterAnimation=charge;
	maxRank=1;
	
	AIRatingBias = -999;
	
[ActionAoE] 
	ID=Gu_mightyBlock;
	cloneFrom=adjacentAndSelf;
	canSelectEnemies=false;
[AvAffecter]
	ID=Gu_mightyBlock;
	harmful=false;
	actorValue=PhysDef;
	magnitude=3 + dMin0:mightyBlockDef;
	duration=-3;
	chance=100;
	FXOnTarget=shields;
	FXOnTargetColor=Gold;
	FXOnTarget=sfx_sliceShingLow;
[AvAffecterAoE]
	ID=Gu_mightyBlock;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Gu_mightyBlock;
	harmful=false;
	visibleEvaluations=false;
	actorValue=PhysAtk;
	magnitude=-2;
	duration=-3;
	chance=100;
[AvAffecterAoE]
	ID=Gu_mightyBlock;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Gu_mightyBlock;
	harmful=false;
	visibleEvaluations=false;
	actorValue=recentlyBlocked;
	magnitude=1 + c:recentlyBlocked;
	duration=110;
	chance=100;
[AvAffecterAoE]
	ID=Gu_mightyBlock;
	cloneFrom=oneTile;

[Action] ID=Gu_holdTheLine; 
	name=Hold the Line;
	icon=icon_Gu_holdLine;
	tooltip=Push multiple foes in front of you <math=c:rank> tile(s) and deal half damage.;
	rankUpTooltip=Shove 1 further with each rank.;
	tooltipIcons=<icon=noRanged>;
	
	XPCost=140;
	XPCost=300;
	XPCost=550;
	
	casterAnimation=weapon;
	maxRank=3;
	requiredWeaponElement=melee;
	
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=Gu_holdTheLine;
	cloneFrom=adjacent;
[AvAffecter]
	ID=Gu_holdTheLine; 
	weaponAvAffecter=true;
	magnitude=w:magnitude * 0.5;
	chance=w:chance;
	duration=-2;
[AvAffecterAoE]
	ID=Gu_holdTheLine;
	aoeCasterAsOrigin=true;
	minRange = 1;
	maxRange = 1.5;
	coneAngle=90;
[AvAffecter]
	ID=Gu_holdTheLine; 
	actorValue=push;
	magnitude=c:rank;
	duration=-2;
	chance=w:chance;
	FXOnHit=ping;
	FXOnHit=click;
[AvAffecterAoE]
	ID=Gu_holdTheLine;
	aoeCasterAsOrigin=true;
	minRange = 1;
	maxRange = 1.5;
	coneAngle=90;



[Action] ID=Gu_wideGuard; 
	name=Wide Guard;
	icon=icon_Gu_wideGuard;
	tooltip=Halve incoming physical damage on adjacent targets for <icon=time><math=45 + 15 * c:rank>.;
	rankUpTooltip=Each rank increases duration by <icon=time>15.;
	harmful=false;
	
	mpCost=4;
	
	XPCost=220;
	XPCost=350;
	XPCost=600;
	
	maxRank=3;
	casterAnimation=charge;
	
	FXOnCaster=chargeFast;
	FXOnCasterColor=SkyBlue;
[ActionAoE] 
	ID=Gu_wideGuard; 
	cloneFrom=oneTile;
[AvAffecter]
	ID=Gu_wideGuard;
	harmful=false;
	actorValue=guard;
	magnitude=1;
	duration=45 + 15 * c:rank;
	chance=100;
	
	FXOnHit=shield;
	FXOnHitColor=SkyBlue;
	FXOnHit=sfx_sliceNoShingLow;
	FXOnTile=chargeFast;
	FXOnTileColor=SkyBlue;
[AvAffecterAoE]
	ID=Gu_wideGuard;
	cloneFrom=adjacentAndSelf;
	aoeCasterAsOrigin = true;
	
	
[Action] ID=Gu_resuscitate; 
	name=Resuscitate;
	icon=icon_Gu_resuscitate;
	tooltip=Revive an adjacent fallen ally, restoring <math=10 * c:rank>% HP.;
	rankUpTooltip=Each rank increases restored HP by 10%.;
	harmful=false;
	attractAttention=false;
	mpCost=4;
	
	XPCost=300;
	XPCost=500;
	XPCost=800;
	
	chargeTime=8;
	special=requiresCasting;
	
	maxRank=3;
	casterAnimation=handsup;
	FXOnCaster=chargeFast;
	FXOnCasterColor=Blue;
	FXOnTarget=darken_minor;
	FXOnTarget=tallLight;
[ActionAoE] 
	ID=Gu_resuscitate; 
	cloneFrom=adjacent;
[AvAffecter]
	ID=Gu_resuscitate;
	harmful=false;
	actorValue=revive;
	magnitude=t:HPMax / 10 * c:rank + 1;
	duration=-2;
	chance=d:reviveAcc;
	FXOnTile=chargeSpiralFast;
	FXOnTile=sfx_longGoodAura;
	FXOnTile=actor_reviveGhost;
	FXOnHit=chargeSpiralFast_big;
	FXOnHit=sparkles;
	FXOnHit=upwardLinesQuick;
	FXOnHit=whiten;
	FXOnHit=Powerup_longerEchoBloop;
	FXOnMiss=hitDustQuiet;
[AvAffecterAoE]
	ID=Gu_resuscitate;
	cloneFrom=oneTile;

	
	
[Action] ID=Gu_rally; 
	name=Rally;
	icon=icon_Gu_rally;
	tooltip=Inspire your allies, increasing their morale for <icon=time><math=40 + 20 * c:rank>.<n=>Good morale increases <icon=PhysAtk><icon=MagAtk> attack and <icon=PhysDef><icon=MagDef> defense.;
	rankUpTooltip=Each rank increases duration by <icon=time>20.;
	harmful=false;
	
	XPCost=120;
	XPCost=280;
	XPCost=350;
	XPCost=400;
	XPCost=450;
	
	maxRank=5;
	casterAnimation=handsup;
	
	FXOnCaster=upwardLines;
	FXOnCaster=sfx_highestAura;
[ActionAoE] 
	ID=Gu_rally; 
	needsLoS = true;
	needsLoE = true;
	airborne = true;
	arc=true;
	minRange = 0;
	maxRange = 3;
	bypassAll=true;
	occupyAll=true;
[AvAffecter]
	ID=Gu_rally;
	harmful=false;
	actorValue=morale;
	magnitude=1;
	duration=40 + 20 * c:rank;
	chance=100;
	FXOnTile=chargeFast;
	FXOnHit=upwardLines;
	FXOnHit=sparkles;
	FXOnHit=sfx_powerup2;
[AvAffecterAoE]
	ID=Gu_rally;
	cloneFrom=adjacentAndSelf;	
	canSelectEnemies=false;
	
	
[Action] ID=Gu_discipline; 
	name=Discipline;
	icon=icon_Gu_discipline;
	tooltip=Through sheer fortitude, cure negative status effects.;
	rankUpTooltip=Each rank increases area of effect.;
	harmful=false;
	attractAttention=false;
	
	XPCost=70;
	XPCost=250;
	XPCost=700;
	
	maxRank=3;
	casterAnimation=charge;
	
	FXOnTarget=largePing;
	FXOnTarget=sfx_risingBipLow;
[ActionAoE] 
	ID=Gu_discipline; 
	cloneFrom=oneTile;
[AvAffecter]
	ID=Gu_discipline;
	harmful=false;
	actorValue=cure;
	magnitude=1;
	duration=-2;
	chance=100 * m:tCurable;
	FXOnTile=sparkle;
	FXOnHit=sparklesFast;
	FXOnHit=briefAuraSound;
[AvAffecterAoE]
	ID=Gu_discipline;
	cloneFrom=oneTile;	
	canSelectEnemies=false;
	maxRangeBonus=c:rank - 1;
	
	
[Action] ID=Gu_impair; 
	name=Impair;
	icon=icon_Gu_impair;
	tooltip=Reduce the enemy's <icon=PhysAtk><icon=MagAtk> by <math=c:rank + 1> and deal half damage.;
	rankUpTooltip=Further reduce enemy <icon=PhysAtk><icon=MagAtk> by +1.;
	
	XPCost=200;
	XPCost=350;
	XPCost=600;
	
	casterAnimation=weapon;
	maxRank=3;
	
	requiredWeaponElement=weapon;
	
	FXOnCaster=chargeFast;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=Gu_impair; shape=10;
[AvAffecter]
	ID=Gu_impair; 
	weaponAvAffecter=true;
	magnitude=w:magnitude * 0.5;
	chance=w:chance * 0.95;
	duration=-2;
[AvAffecterAoE]
	ID=Gu_impair; shape=11;
[AvAffecter]
	ID=Gu_impair; 
	visibleMiss=false;
	actorValue=PhysAtk;
	magnitude=-c:rank - 1;
	duration=70 + c:PhysAtk - t:PhysDef;
	chance=w:chance * 0.95;
	FXOnHit=downwardLines;
	FXOnHitColor=Red;
	FXOnHit=Debuff_lowPitch;
[AvAffecterAoE]
	ID=Gu_impair;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Gu_impair; 
	visibleMiss=false;
	actorValue=MagAtk;
	magnitude=-c:rank - 1;
	duration=70 + c:PhysAtk - t:PhysDef;
	chance=w:chance * 0.95;
[AvAffecterAoE]
	ID=Gu_impair;
	cloneFrom=oneTile;