@Override
	public boolean invoke(MOB mob, Vector commands, Physical givenTarget, boolean auto, int asLevel)
	{
		final MOB target=(givenTarget instanceof MOB)?(MOB)givenTarget:mob;
		if(target.fetchEffect(ID())!=null)
		{
			target.tell(_("You are no longer automatically dropping caltrops."));
			target.delEffect(mob.fetchEffect(ID()));
			return false;
		}
		if((!auto)&&(target.fetchAbility("Thief_Caltrops")==null))
		{
			target.tell(_("You don't know how to make and drop caltrops yet!"));
			return false;
		}
		if(!super.invoke(mob,commands,givenTarget,auto,asLevel))
			return false;

		final boolean success=proficiencyCheck(mob,0,auto);

		if(success)
		{
			target.tell(_("You will now automatically drop caltrops around when you enter a room."));
			beneficialAffect(mob,target,asLevel,5+(3*getXLEVELLevel(mob)));
			dropem(target,target.location());
		}
		else
			beneficialVisualFizzle(mob,null,_("<S-NAME> attempt(s) to prepare some caltrops for quick dropping, but mess(es) up."));
		return success;
	}