

[Action] ID=Ro_setTrap; 
	name=Set Trap;
	icon=icon_Ro_setTrap;
	mpCost=2;
	tooltip=Toss out <math=c:rank> hidden mantrap(s). Anyone that ends their movement on it is damaged and immobilized for <icon=time>70.;
	rankUpTooltip=Each rank adds an extra trap.;
	attractAttention=false;
	
	AIRatingBias = -999;
	
	numTargets=c:rank;
	
	XPCost=200;
	XPCost=450;
	XPCost=800;
	
	casterAnimation=swing;
	maxRank=3;
	
	FXOnTarget=throw_mantrap;
	FXOnTarget=swing;
[ActionAoE] 
	ID=Ro_setTrap;
	needsLoS=true;
	needsLoE = true;
	canSelectActors=false;
	bypassAll=true;
	occupyAll=false;
	minRange = 1;
	maxRange = 2;
[AvAffecter]
	ID=Ro_setTrap; 
	actorValue=summonItem;
	magnitude=rogueTrap;
	duration=1;
[AvAffecterAoE]
	ID=Ro_setTrap;
	cloneFrom=oneTile;
	canSelectActors=false;
	bypassAll=false;
	occupyAll=false;
	

[Action] ID=Ro_poisonTip; 
	name=Poison Tip;
	icon=icon_Ro_poisonTip;
	tooltip=Deal half damage with your weapon and inflict poison for <icon=time><math=40 + 30 * c:rank>.;
	rankUpTooltip=Each rank increases duration by <icon=time>30.;
	
	XPCost=170;
	XPCost=300;
	XPCost=350;
	XPCost=500;
	
	casterAnimation=weapon;
	maxRank=4;
	
	requiredWeaponElement=weapon;
	
	FXOnCaster=chargeBurst;
	FXOnCasterColor=Green;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=Ro_poisonTip; shape=10;
[AvAffecter]
	ID=Ro_poisonTip; 
	weaponAvAffecter=true;
	magnitude=w:magnitude * 0.5;
	chance=w:chance;
	duration=-2;
[AvAffecterAoE]
	ID=Ro_poisonTip; shape=11;
[AvAffecter]
	ID=Ro_poisonTip; 
	visibleMiss=false;
	actorValue=poison;
	magnitude=1;
	duration=40 + 30 * c:rank;
	chance=w:chance;
	FXOnHit=slash;
	FXOnHitColor=Green;
	FXOnHit=ping;
	FXOnHitColor=Green;
	FXOnHit=WetSquish;
[AvAffecterAoE]
	ID=Ro_poisonTip;
	cloneFrom=oneTile;
	

[Action] ID=Ro_gouge; 
	name=Gouge;
	icon=icon_Ro_gouge;
	tooltip=Deal half damage with your weapon and inflict blindness for <icon=time><math=40 + 30 * c:rank>.;
	rankUpTooltip=Each rank increases duration by <icon=time>30.;
	
	XPCost=200;
	XPCost=320;
	XPCost=400;
	XPCost=450;
	
	casterAnimation=weapon;
	maxRank=4;
	
	requiredWeaponElement=weapon;
	
	FXOnCaster=chargeBurst;
	FXOnCasterColor=Black;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=Ro_gouge; shape=10;
[AvAffecter]
	ID=Ro_gouge; 
	weaponAvAffecter=true;
	magnitude=w:magnitude * 0.5;
	chance=w:chance;
	duration=-2;
[AvAffecterAoE]
	ID=Ro_gouge; shape=11;
[AvAffecter]
	ID=Ro_gouge; 
	visibleMiss=false;
	actorValue=blind;
	magnitude=1;
	duration=40 + 30 * c:rank;
	chance=w:chance;
	FXOnTile=triSlash;
	FXOnTileColor=Black;
	FXOnTile=sfx_slashingHit;
	FXOnTile=darken_minor;
	FXOnHit=slash;
	FXOnHitColor=Black;
[AvAffecterAoE]
	ID=Ro_gouge;
	cloneFrom=oneTile;
	

[Action] ID=Ro_distract; 
	name=Distraction;
	icon=icon_Ro_distract;
	tooltip=Turn an enemy around and cancel their spellcasting.;
	rankUpTooltip=Each rank adds +1 range.;
	attractAttention=false;
	
	XPCost=80;
	XPCost=150;
	XPCost=400;
	
	AIRatingBias = -999;
	
	casterAnimation=swing;
	
	maxRank=3;
[ActionAoE] 
	ID=Ro_distract; 
	needsLoS = true;
	needsLoE = true;
	minRange = 1;
	maxRange = 2;
	maxRangeBonus = c:rank;
	airborne=true;
	bypassAll=true;
	occupyAll=true;
[AvAffecter]
	ID=Ro_distract; 
	actorValue=rotate;
	magnitude=180;
	duration=-2;
	chance=c:Acc * 110 + c:skill_Aim - t:MagEva;
	FXOnTile=line;
	FXOnTile=swing;
	FXOnHit=question;
	FXOnHit=ting;
	FXOnHit=chk;
[AvAffecterAoE]
	ID=Ro_distract;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Ro_distract; 
	visibleMiss = false;
	actorValue=cancel;
	magnitude=1;
	chance=c:Acc * 210 * m:tCancel + c:skill_Aim - t:MagEva - 100;
	duration=-2;
[AvAffecterAoE]
	ID=Ro_distract;
	 cloneFrom=oneTile;
	

[Action] ID=Ro_dash; 
	name=Dash;
	icon=icon_Ro_dash;
	harmful=false;
	tooltip=Quickly run in a straight line instead of acting.;
	rankUpTooltip=Each rank adds +1 range.;
	
	AIRatingBias = -999;
	
	XPCost=140;
	XPCost=200;
	XPCost=400;
	XPCost=850;
	
	casterAnimation=fastwalk;
	maxRank=4;
	special=moveCasterTowardTarget;
	special=fastMovement;
	
	FXOnCaster=sidewardLines;
	FXOnCaster=dustCircle;
	FXOnCaster=BrushSweep;
[ActionAoE] 
	ID=Ro_dash; shape=2;
	needsLoS = true;
	needsLoE = true;
	minRange = 1;
	maxRange = 3;
	maxRangeBonus=c:rank;
	canSelectActors=false;
[AvAffecter]
	ID=Ro_dash; 
	actorValue=push;
	magnitude=0;
	chance=0;
	duration=0;
[AvAffecterAoE]
	ID=Ro_dash;
	cloneFrom=oneTile;
	
	

[Action] ID=Ro_hide; 
	name=Hide;
	icon=icon_Ro_hide;
	attractAttention=false;
	tooltip=Become invisible until your next turn.;
	rankUpTooltip=;
	harmful=false;
	mpCost=1;
	
	XPCost=180;
	
	casterAnimation=charge;
	maxRank=1;
	
	FXOnCaster=sidewardLines;
	FXOnCasterColor=Gray;
	FXOnCaster=upwardLines;
	FXOnCasterColor=Gray;
	FXOnCaster=downwardLines;
	FXOnCasterColor=Gray;
	FXOnCaster=smokeCloud;
	FXOnCaster=Thwummm;
	
	FXOnTarget=smokeCloud;
	FXOnTarget=Thwummm;
[ActionAoE] 
	ID=Ro_hide; 
	cloneFrom=oneTile;
[AvAffecter]
	ID=Ro_hide; 
	harmful=false;
	actorValue=invisible;
	magnitude=1;
	duration=-3;
	chance=100;
[AvAffecterAoE]
	ID=Ro_hide; 
	cloneFrom=oneTile;
	
	
	
[Action] ID=Ro_mug; 
	name=Mug;
	icon=icon_Ro_mug;
	tooltip=Attack, steal all gold, and cause the enemy to drop <math=c:rank> other unequipped item(s). Lowers morale for <icon=time><math=75 + 25* c:rank> if successful.;
	rankUpTooltip=Each rank makes the enemy drop an additional item. Also increases duration by <icon=time>25.;
	tooltipIcons=<icon=noRanged>;
	
	XPCost=300;
	XPCost=330;
	XPCost=390;
	
	casterAnimation=weapon;
	casterAnimationSpeed=0.7;
	maxRank=3;
	requiredWeaponElement=melee;
	
	FXOnCaster=eyeGlint;
	FXOnCaster=sfx_highTing;
	FXOnTarget=weaponFX;
[ActionAoE] 
	ID=Ro_mug; shape=10;
[AvAffecter]
	ID=Ro_mug; 
	weaponAvAffecter=true;
	magnitude=w:magnitude * 0.9;
	chance=w:chance * 0.9;
	duration=-2;
	FXOnHit=hitDust;
	FXOnHitColor=Yellow;
[AvAffecterAoE]
	ID=Ro_mug;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Ro_mug; 
	actorValue=morale;
	visibleEvaluations=false;
	visibleMiss=false;
	magnitude=-1;
	chance=w:chance * 0.9 * m:tDropItem;
	duration=75 + c:rank * 25;
[AvAffecterAoE]
	ID=Ro_mug;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Ro_mug; 
	actorValue=dropItem;
	visibleMiss=false;
	magnitude=1;
	chance=w:chance * 0.9 * m:tDropItem;
	duration=-2;
	FXOnHit=starDonk;
	FXOnHit=sfx_coin;
[AvAffecterAoE]
	ID=Ro_mug;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Ro_mug; 
	rankRequired=2;
	visibleEvaluations=false;
	visibleMiss=false;
	actorValue=dropItem;
	magnitude=1;
	chance=w:chance * 0.9 * m:tDropItem;
	duration=-2;
[AvAffecterAoE]
	ID=Ro_mug;
	cloneFrom=oneTile;
[AvAffecter]
	ID=Ro_mug; 
	rankRequired=3;
	visibleEvaluations=false;
	visibleMiss=false;
	actorValue=dropItem;
	magnitude=1;
	chance=w:chance * 0.9 * m:tDropItem;
	duration=-2;
[AvAffecterAoE]
	ID=Ro_mug;
	cloneFrom=oneTile;