entityDef "sp_identify_item"
{
	class	dmSpecialPower
	powername	"Identify Item"
	menudescription	"Reveal the secrets of an unidentified item!"

	script			identifyitem
	usedonitem		true
	targetitemtype	dmItem
	unidonly		true
}
	
entityDef "sp_bolster_weapon"
{
	class	dmSpecialPower
	powername	"Bolster Weapon"
	menudescription	"Add an enchantment to a weapon. More effective on non magical items, may fail on enchanted items."

	script			bolsterweapon
	usedonitem		true
	targetitemtype	dmWeapon
}

entityDef "sp_bolster_armor"
{
	class	dmSpecialPower
	powername	"Bolster Armor"
	menudescription	"Add an enchantment to a piece of armor. More effective on non magical items, may fail on enchanted items."

	script			bolsterarmor
	usedonitem		true
	targetitemtype	dmArmor
}

entityDef "sp_stellar_anvil"
{
	class	dmSpecialPower
	powername	"Stellar Anvil"
	menudescription	"Call upon the power of Ancient Kings to bestow a mighty enchantment."

	script			stellaranvil
	usedonitem		true
	targetitemtype	dmEquippable
}


entityDef "sp_barter_boots"
{
	class	dmSpecialPower
	powername	"Barter Boots"
	menudescription	"Your boots vanish! What treasure will you get in return?"

	script			barterboots
}

entityDef "sp_carefully_escape_dungeon"
{
	class	dmSpecialPower
	powername	"Carefully Escape Dungeon"
	menudescription	"Begin an enchantment that, after 20 rounds, will gracefully and certainly deposit you in the Overworld outside of this area."
	selfstatuseffect status_safe_teleport
}

entityDef "sp_ignore_laughable_projectiles"
{
	class dmSpecialPower
	powername "Ignore Laughable Projectiles"
	menudescription	"Create a shield that deflects projectile attacks from lesser enemies."
	selfstatuseffect status_deflect_laughable_projectiles
}

entityDef "sp_curse_gear"
{
	class	dmSpecialPower
	powername	"Curse Gear"
	menudescription	"One of your items, equipped if possible, is cursed!"
	script	curse_gear
}

entityDef "sp_beckon_foe"
{
	class	dmSpecialPower
	powername	"Beckon Foe"
	menudescription	"Cause an enemy to leap towards you, landing in the closest possible spot."
	selectRange 6
	cooldown	10
	script	beckon_foe
	originEmitter emitter_hookshot
	fireonimpact	true

}

entityDef "sp_eat_curse"
{
	class	dmSpecialPower
	powername	"Eat Curse"
	menudescription	"Devour the cursed energy of your equipped weapons, freeing them from the curse but damaging you in the process."
	script	eat_curse

}

entityDef "sp_return_to_academy"
{
	class	dmSpecialPower
	powername	"The Way Home"
	menudescription "Teleport back to the friendly Dungeonmans Academy. This power only works while in the Overworld."
	script	return_to_academy
}